@font-face {
    font-family: "CircularStd-Book";
    src: url("font/CircularStd-Book.otf") format('opentype');
}
@font-face {
    font-family: "CircularStd-Medium";
    src: url("font/CircularStd-Medium.otf") format('opentype');
}
@font-face {
    font-family: "CircularStd-Bold";
    src: url("font/CircularStd-Bold.otf") format('opentype');
}
@font-face {
    font-family: "Recoleta Medium";
    src: url("font/Recoleta-Medium.ttf") format('truetype');
}

:root {
    --primary: #60704E;
    --secondary: #94988A;
    --tertiary: #BBA583;
    --background: #F9F3EC;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1, h2, h3, h4, b {
    font-weight: normal;
}

body {
    font-family: "CircularStd-Book", sans-serif;
    background-color: var(--background);
}

.abovethefold {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 150px;
    padding-bottom: 150px;
}

.fotos {
    margin-bottom: 150px;
}

.fotos__img {
    height: 200px;
    width: 200px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    margin-right: 50px;
    background-size: cover;
    background-position: center;
}

.image-section {
    height: 80vh;
    background-color: rgba(0, 0, 0, 0.2);
    background-size: cover;
    background-position: center;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
    z-index: -1;
    position: relative;
}

.image-section__image {
    max-width: 100vw;
}

.infobox {
    width: 450px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    padding: 40px;
    box-sizing: border-box;
    background-color: var(--tertiary);
    color: white;
    text-align: center;
}

.infobox--right {
    margin-left: auto;
}

.infobox--left {
    background-color: var(--primary);
}

.container {
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    max-width: 900px;
}

.infobox--over-image {
    margin-top: -150px;
    margin-bottom: 150px;
}

.infobox__subtitle {
    font-family: "CircularStd-Medium", sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
}

.infobox__title {
    font-family: "Recoleta Medium", serif;
    font-size: 1.7rem;
    padding-top: 20px;
    padding-bottom: 30px;
}

.btn {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, opacity 0.3s ease-in-out;
    display: block;
    padding: 15px 30px;
    border-radius: 8px;
    color: white;
    letter-spacing: 0.1rem;
    font-size: inherit;
    border: none;
    background-color: var(--tertiary);
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    font-family: "CircularStd-Medium", sans-serif;
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.1);
}
.btn:hover {
    opacity: 0.9;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: scale(1.03);
}
.btn:active {
    opacity: 1;
    transform: scale(0.97);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}

.btn--primary {
    background-color: var(--primary);
}

.btn--tertiary {
    background-color: var(--tertiary);
}

.abovethefold__logo {
    width: 200px;
}

.abovethefold__h1 {
    color: var(--primary);
    font-size: 3rem;
    font-family: "Recoleta Medium", serif;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
}

.abovethefold__subtitle {
    color: var(--tertiary);
    font-family: "Recoleta Medium", serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.rsvp {
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    padding: 40px;
    box-sizing: border-box;
    color: var(--background);
    background-color: var(--secondary);
}

.rsvp__subtitle {
    font-family: "CircularStd-Medium", sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
}

.rsvp__title {
    font-family: "Recoleta Medium", serif;
    font-size: 1.7rem;
    padding-top: 20px;
    max-width: 600px;
    margin: auto;
}

.btn--rsvp {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    color: var(--secondary);
    background-color: var(--background);
}

footer {
    padding-top: 150px;
    padding-bottom: 80px;
    color: var(--primary);
    text-align: center;
}

.footer__subtitle {
    font-family: "CircularStd-Medium", sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 20px;
}

.footer__email {
    font-family: "Recoleta Medium", serif;
    font-size: 1.7rem;
    color: inherit;
}

.hotels__subtitle {
    color: var(--primary);
    font-family: "CircularStd-Medium", sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 15px;
    margin-top: 150px;
}

.hotels__title {
    font-family: "Recoleta Medium", serif;
    font-size: 1.7rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 40px;
}

.hotels__row {
    color: var(--secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}
.hotels__row > div {
    flex: 1;
}
.hotels__row > div:nth-child(2) {
    text-align: center;
}
.hotels__row > div:last-child {
    text-align: right;
}

.hotels__row__link {
    color: var(--primary);
    text-decoration: none;
}

.info-pratiche {
    margin-top: 20px;
    padding-left: 20px;
}

.info-pratiche__li {
    padding-top: 10px;
    line-height: 1.7rem;
    color: var(--primary);
}

.info-pratiche__li a {
    color: var(--tertiary);
}

.row-btns {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
}

.listanozze__intestatario {
    text-align: center;
    color: var(--secondary);
}

.listanozze__intestatario b {
    font-family: "CircularStd-Bold", sans-serif;
}

.listanozze__iban {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-top: 20px;
    text-align: center;
    font-family: "Courier new", sans-serif;
    font-weight: bold;
}

.toastify {
    background: var(--primary);
    border-radius: 6px;
    box-shadow: 0 3px 6px -1px rgba(0,0,0,.12),0 10px 36px -4px rgba(0, 0, 0, 0.4);
    cursor: default;
}

.travelbox {
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    background-size: cover;
    background-position: center;
    padding: 40px;
    margin-top: 30px;
    color: white;
}

.travelbox__title {
    font-family: "Recoleta Medium", serif;
    font-size: 2rem;
    text-align: center;
    padding-bottom: 10px;
}

.travelbox__description {
    text-align: center;
}

.travelbox__btn {
    width: fit-content;
    display: block;
    margin: auto;
    margin-top: 30px;
}







/* SCROLLFADE */
.scrollFade {
    opacity: 1;
    pointer-events: all;
}
.scrollFade--hidden {
    opacity: 0;
    pointer-events: none;
}
.scrollFade--visible {
    opacity: 1;
    pointer-events: all;
}
.scrollFade--animate {
    transition: opacity 0.8s ease-in-out;
}



















/* SEZIONE MOBILE */
@media screen and (max-width: 1100px) {

    .abovethefold {
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .abovethefold__logo {
        width: 150px;
    }

    .abovethefold__h1 {
        font-size: 2.1rem;
    }

    .abovethefold__subtitle, .rsvp__title, .hotels__title, .footer__email {
        font-size: 1.5rem;
    }

    .hotels__title {
        padding-left: 20px;
        padding-right: 20px;
    }

    .fotos {
        margin-bottom: 100px;
    }

    .fotos__img {
        height: 150px;
        width: 150px;
        margin-right: 30px;
    }

    .container {
        width: 90%;
    }

    .infobox {
        width: auto;
    }

    .image-section {
        height: auto;
        aspect-ratio: 8 / 5;
    }

    .infobox__title {
        font-size: 1.5rem;
    }

    .infobox--over-image {
        margin-top: -50px;
        margin-bottom: 100px;
    }

    .hotels__row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-top: 40px;
    }


    .row-btns {
        flex-direction: column;
    }

}
