@font-face {
    src: url("fonts/Semplicita Medium.otf");
    font-family: Semplicita-Medium;
}

@font-face {
    src: url("fonts/LibreBaskerville-Regular");
    font-family: Baskerville;
}

@font-face {
    src: url("fonts/Monoton-Regular.ttf");
    font-family: Monoton;
}

@font-face {
    src: url("fonts/Cinzel-Regular.ttf");
    font-family: Cinzel;
}

@font-face {
    src: url("fonts/CinzelDecorative-Regular.ttf");
    font-family: CinzelDeco;
}

body {
    text-align: center;
    font-family: Semplicita-Medium, sans-serif;
    color: white;
    margin: 0;
    padding: 0.5rem;
    letter-spacing: 2.5px;
    width: 100%;
    background-color: white;
    overflow-x: hidden;
    position: relative;
}

.lk-logo {
    width: 1.5rem;
    position: absolute;
    left: 0.5rem;
    bottom: 0.5rem;
    z-index: 100;
}

.outrunFont {
    font-family: Monoton;
    font-weight: 100;
    letter-spacing: -3px;
}

.rivieraFont {
    font-family: Cinzel;
    font-weight: 100;
    font-size: 7.5rem !important;
    letter-spacing: 3px !important;
    color: white;
    line-height: 5rem !important;

}

.rDeco {
    font-family: CinzelDeco !important;
    font-weight: 100;
    font-size: 7.5rem !important;
    color: white;
    letter-spacing: 3px !important;
    line-height: 5rem !important;
}


a {
    text-decoration: none;
    color: white;
}

ul {
    padding: 0;
    list-style-type: none;
}

footer {
    position: absolute;
    bottom: 0.75rem;
    right: 1rem;
}

p {
    font-size: 1.15rem;
    line-height: 1.2rem;
    font-weight: 400;
}

/*********** SECTIONS ***********/
#bgContainer {
    position: relative;
    border-radius: 15px;
    background: no-repeat center center;
    background-size: cover;
    transition: background-image 2s ease-in-out;
    height: calc(100vh - 1rem);
    width: calc(100vw - 1rem);
    z-index: 100;
    overflow: hidden;

    background-color: #D9D1BA;
}

.fade {
    opacity: 1;
    transition: opacity 2s ease-in-out;
}

.fade.invisible {
    opacity: 0;
    visibility: hidden;
    height: 0;
    width: 0;
    overflow: hidden;
}

/*********** NAVIGATION SECTION ***********/
.navBar {
    font-family: Baskerville, serif;
    width: calc(100% - 2rem);
    height: 4rem;
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: rgba(0, 46, 26, 0.9);
}

.logoBox {
    width: 20%;
    max-width: 350px;
    display: flex;
    align-items: center;
}

.navLogo {
    width: 100%;
}

.navPagesRight,
.navPagesLeft {
    max-width: 500px;

    width: 30%;
    font-weight: 600;
    line-height: normal;
}

.navList {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.navLinksLeft,
.navLinksRight {
    text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.75);
    padding: 0.5rem 0.75rem;
    position: relative;
}

.navLinksLeft::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: white;
    bottom: 0;
    left: 0;
    box-shadow: 0.5px 0.1px rgba(0, 0, 0, 0.5);

    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.5s ease-in-out;
}

.navLinksRight::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: white;
    bottom: 0;
    left: 0;
    box-shadow: 0.5px 0.1px rgba(0, 0, 0, 0.5);

    transform-origin: right;
    transform: scaleX(0);
    transition: transform 0.5s ease-in-out;
}

.navLinksLeft:hover::before {
    transform-origin: right;
    transform: scaleX(1);
}

.navLinksRight:hover::before {
    transform-origin: left;
    transform: scaleX(1);
}

.navLinksLeft:hover,
.navLinksRight:hover {
    cursor: pointer;
}

.apply-text {
    color: #ad9257;
    font-size: 1.5rem;
    transition: text-shadow 0.5s ease-in-out;
}

.apply-text::before {
    background-color: #ad9257;
}

.green-button::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #ad9257;
    box-shadow: 0 0 5px rgba(173, 146, 87, 0.5), 0 0 10px rgba(173, 146, 87, 0.5),
        0 0 15px rgba(6, 255, 0, 0.5);
    bottom: 0;
    left: 0;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform 0.5s ease-in-out;
}

.green-button:hover::before {
    transform-origin: left;
    transform: scaleX(1);
}

.hamburger {
    place-self: center;
    display: none;
    justify-content: center;
    align-items: center;
}

.nav-ham {
    color: white;
    font-size: 3rem;
    letter-spacing: 0px;
    line-height: 0;
}

.nav-ham:hover {
    cursor: pointer;
}

.overlay {
    height: 1000dvh;
    width: 100dvw;
    /* margin: 0.5rem; */
    position: fixed;
    z-index: -10;
    top: 0;
    left: 0;
    background-color: rgba(0, 46, 26, 1);
    overflow: hidden;
    transition-duration: 0.5s;
    transition-timing-function: linear;
    overscroll-behavior: contain;
    animation-name: fade;
    animation-duration: 0.5s;
    opacity: 0;
    display: none;
}

@keyframes fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.closeBar {
    width: 90%;
    padding: 1rem 0 0;
    margin: 0 auto;
    display: flex;
    position: relative;
    font-weight: 700;
    justify-content: flex-end;
}

.closeBox {
    width: 100%;
    display: flex;
    justify-content: center;
    place-self: center;
    width: 4rem;
    height: 4rem;
    align-items: center;
}

.overlay .closebtn {
    color: #ad9257;
    font-size: 5rem;
    letter-spacing: 0;
}

.overlay-content {
    position: relative;
    width: 100%;
    height: auto;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 900;
    font-family: Baskerville, serif;

}

.overlay-grid {
    display: flex;
    width: 90vw;
    margin: 0 auto;
    height: 70vh;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.overlay-flex {
    margin: 0;
    height: 60%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.overlay-item:hover {
    cursor: pointer;
}

/*********** HEADING SECTION ***********/
.mainWrapper1 {
    margin: AUTO 0;
    display: flex;
    justify-content: flex-end;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
    height: calc(100vh - 5.5rem);
    flex-wrap: wrap;
    align-content: space-between;
}

.headerWrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.mainHeader,
.frontHeader1 {
    width: 100%;
    font-size: 9rem;
    margin: 0;
    text-shadow: 3.5px 3.5px rgba(0, 0, 0, 0.75);
    text-align: center;
    font-family: baskerville, sans-serif;
    letter-spacing: 0.5px;
    line-height: 6rem;
    padding-top: 0.5rem;
    color: white;
}

.outrunFont {
    font-family: Monoton;
    font-weight: 100;
    letter-spacing: -3px;
}

.rivieraFont {
    font-family: Cinzel;
    font-weight: 100;
    font-size: 7.5rem !important;
    letter-spacing: 3px !important;
    color: white;
    line-height: 5rem !important;

}

.rDeco {
    font-family: CinzelDeco !important;
    font-weight: 100;
    font-size: 7.5rem !important;
    color: white;
    letter-spacing: 3px !important;
    line-height: 5rem !important;
}

.goldText {
    color: #AD9257 !important;

}

.theRoute {
    width: 100%;
    text-align: center;
    transition: opacity 0.6s ease;
}


#div4 {
    display: flex;
    position: relative;
}

.routePoints {
    font-family: baskerville, sans-serif;
    color: white;
    margin: 0.5rem 0 0;
    font-size: 2rem;
    text-shadow: 2.5px 2.5px rgba(0, 0, 0, 0.75);
    /* text-decoration: underline;
    text-underline-offset: 2px; */
}

.mobileOn {
    display: none;
}

.locations {
    line-height: 1rem;
    padding: 0.25rem 0;
    font-size: 1.25rem;
}

.toAndFrom {
    text-decoration: none;
    font-size: 1.75rem;
}

.noUnder {
    text-decoration: none;
    font-size: 1.5rem;
}

.date {
    font-size: 2rem;
    margin-top: 2rem;
}

.days {
    font-size: 2rem;
    margin: 0 0 3rem 0;
}

.bulletPoints {
    margin-top: 0 !important;
}

/* ====== DAY THREE ====== */
.day3 {
    width: 98%;
    max-width: 105rem;
    margin: 0 auto;
    height: 45rem;
    background-color: rgba(0, 46, 26, 0.9);
    border-radius: 100vw 100vw 100vw 100vw;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.day3Text {
    width: 55%;
    height: 43rem;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.day3photo1 {
    content: "";
    background: no-repeat center center;
    background-image: url("../images/riviera/home-left.webp");
    background-size: cover;
    background-position: -12px;
    /* background-size: 150%; */
    width: 25rem;
    height: 43rem;
    border-radius: 100vw 10px 10px 100vw;
    margin-left: 1rem;
}

.day3photo2 {
    content: "";
    background: no-repeat center center;
    background-image: url("../images/riviera/lake\ garda\ road\ 1.webp");
    background-size: cover;
    background-position: -375px;

    /* background-size: 150%; */

    width: 25rem;
    height: 43rem;
    border-radius: 10px 100vw 100vw 10px;
    margin-right: 1rem;
}

.breakPoint {
    margin: 0.5rem 0 2rem 0;

}

.paraDay {
    margin: 1rem 0;
    letter-spacing: 1.5px;
    text-shadow: 0.5px 0.5px rgba(0, 0, 0, 0.5);
}

.rivieraButton {
    padding: 1rem 3.5rem;
    width: 50%;
    margin: 3rem auto 0;
    font-family: Semplicita-Medium, sans-serif;
    letter-spacing: 2.5px;
    color: white;
    outline: 0;
    border: 1px solid white;
    z-index: 1;
    cursor: pointer;
    position: relative;
    background-color: rgba(0, 46, 26, 0.9);
    -moz-user-select: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.rivieraButton:hover {
    border: 1px solid #AD9257;

}


@media only screen and (max-width : 780px) {

    body {
        /* background-color: rgba(0, 46, 26, 1); */
        padding: 0;
        height: auto;
        overflow-x: visible;
    }

    #bgContainer {
        border-radius: 0;
        width: 100vw;
        height: auto;
    }


    /*********** NAVIGATION SECTION ***********/
    .navBar {
        width: calc(100% - 1.5rem);
        height: auto;
        flex-direction: row;
        padding: 0.75rem;
        justify-content: space-between;
        background-color: rgba(0, 46, 26, 1);
    }

    .navPagesLeft {
        display: none;
        width: 0px !important;
    }

    .navPagesRight {
        width: 20%;
    }

    .apply-text {
        font-size: 3rem;
    }

    .logoBox {
        width: 60%;
        position: relative;
    }

    .navLogo {
        width: 100%;
    }

    .navList {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    /*********** HEADING SECTION ***********/
    .mainWrapper1 {
        height: auto;
        flex-wrap: wrap;
        align-content: space-between;
    }

    .headerWrapper {
        height: auto;
        padding: 1rem 0;
    }

    .mainHeader {
        margin: 0 auto;
        font-size: 20vw;
        line-height: 12vw;
        }

    .theRoute {
        width: 100%;
        text-align: center;
        transition: opacity 0.6s ease;
    }

    #div4 {
        display: flex;
        position: relative;
    }

    .routePoints {
        margin: 0;
    }

    .rivieraFont {
        font-size: 4.5rem !important;
        letter-spacing: 1px !important;
        line-height: normal !important;
        margin: -1.4rem 0 0 0;
        padding: 0;
    }

    .rDeco {
        font-size: 4.5rem !important;
        letter-spacing: 3px !important;
        line-height: normal !important;
    }

    .locations {
        line-height: normal;
        padding: 0.75rem 0 0.5rem;
        font-size: 1rem;
    }

    .toAndFrom {
        text-decoration: none;
        font-size: 1.75rem;
    }

    .noUnder {
        text-decoration: none;
        font-size: 1.5rem;
    }

    .date {
        font-size: 1.5rem;
        margin-top: 0rem;
    }

    .days {
        font-size: 1.5rem;
        margin: 0;
    }

    .bulletPoints {
        font-size: 1.25rem;
        margin-top: 1rem !important;
    }

    /* ====== DAY THREE ====== */
    .day3 {
        width: calc(100% - 1rem);
        margin: 0 auto;
        height: 65rem;
        background-color: rgba(0, 46, 26, 1);
        border-radius: 100vw 100vw 100vw 100vw;
        box-shadow: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        padding: 0.75rem 0;
    }

    .day3Text {
        width: calc(100% - 1.5rem);
        height: 50%;
        padding: 0 1rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .day3photo1 {
        content: "";
        background: no-repeat center center;
        background-image: url("../images/riviera/home-left.webp");
        background-size: cover;
        background-position: 0;
        /* background-size: 150%; */
        width: calc(100% - 1.5rem);
        height: 25%;
        border-radius: 100vw 100vw 10px 10px;
        margin: 0 auto;
    }

    .day3photo2 {
        content: "";
        background: no-repeat center center;
        background-image: url("../images/riviera/lake\ garda\ road\ 1.webp");
        background-size: cover;
        background-position: 0;

        /* background-size: 150%; */
        width: calc(100% - 1.5rem);
        height: 25%;
        border-radius: 10px 10px 100vw 100vw;
        margin: 0 auto;
    }

    .breakPoint {
        margin: 0.5rem 0 2rem 0;

    }

    .paraDay {
        margin: 1rem 0;
        letter-spacing: 1.5px;
        text-shadow: 0.5px 0.5px rgba(0, 0, 0, 0.5);
    }


    .rivieraButton {
        padding: 1rem 2rem;
        width: 40%;
        margin: 1rem auto 0;
    }

    .mobileOff {
        display: none;
    }

    .mobileOn {
        display: block;
    }

    .lk-logo {
        width: 1rem;
        position: absolute;
        left: 0.25rem;
        bottom: 0.25rem;
    }

}