* {
    margin: 0;
    padding: 0;
    color: inherit;
    font-size: inherit;
    font-family: inherit;
    box-sizing: border-box;
}

@font-face {
    font-family: "InstrumentSerifRegular";
    src: url("../fonts/InstrumentSerif-Regular-t93eboO.ttf") format("truetype");
}

@font-face {
    font-family: "InstrumentSerifItalic";
    src: url("../fonts/InstrumentSerif-Italic-KF1PBOY.ttf") format("truetype");
}

html {
    font-size: 24px;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

a {
    color: inherit;
    text-decoration: unset;
}

h1, h2, h3, b, strong {
    font-family: "InstrumentSerifRegular", serif;
    font-weight: normal;
    text-align: center;
}

h1 {
    font-size: 3.4rem;
}

h2 {
    font-size: 1.6rem;
}

textarea {
    resize: none;
}

:root {
    --color-primary: #F1D7C9;
    --color-secondary: #970101;
    --color-tertiary: #FFF8EE;
    --font-size-m: 0.9rem;
    --font-size-s: 0.8rem;
    --font-size-xs: 0.7rem;
}

.container {
    width: 60%;
    max-width: 1100px;
    margin: auto;
}

body {
    font-family: "InstrumentSerifRegular", serif;
    font-weight: normal;
    background-color: var(--color-primary);
    color: black;
}

.button {
    font-family: InstrumentSerifRegular, serif;
    font-size: var(--font-size-m);
    cursor: pointer;
    border: none;
    background-color: var(--color-secondary);
    color: white;
    padding: 12px 40px;
}

.button--hero {
    margin-top: -40px;
}

.form-button {
    display: block;
    margin-left: auto;
    padding: 12px 80px;
    margin-top: 30px;
}

.hero {
    height: 100vh;
    z-index: 1;
    overflow-y: hidden;
    position: relative;
}

.hero__video {
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero__body {
    position: relative;
    color: white;
    padding: 60px 0;
    width: 100%;
    height: 100vh;
    overflow-y: hidden;
}

.hero__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero__bottom {
    height: 100%;
    margin-top: -100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__top-element {
    display: flex;
    justify-content: center;
    flex: 1;
}

.hero__top-element--right {
    justify-content: flex-end;
}

.hero__logo {
    width: 140px;
    text-align: center;
}

.minibus {
    padding: 100px 0;
    padding-top: 0;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.minibus-image {
    width: 300px;
    margin-left: -100px;
}

.minibus__top {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.minibus__top-element {
    flex: 1;
}

.minibus__title {
    flex: 3;
}

.minibus__body {
    display: flex;
    margin-top: 80px;
    gap: 200px;
}

.minibus__column {
    flex: 1;
}

.stripes {
    height: 800px;
    background-image: url("../images/stripes-Xh2GhrM.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stripes__video {
    width: 1000px;
    height: 800px;
}

.price {
    padding: 50px 0;
}

.price__polaroid {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 80px;
}

.price__body {
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nomade-polaroid {
    margin-top: 60px;
    width: 400px;
    z-index: 1000;
}

.nomade-polaroid--2 {
    margin-top: 120px;
    margin-left: -80px;
    z-index: 100;
}

.nomade-polaroid--3 {
    margin-top: 0;
    margin-left: -50px;
    z-index: 10;
}

.price__left {
    height: 100%;
    display: flex;
    align-items: center;
    background-color: var(--color-secondary);
    color: var(--color-tertiary);
    flex: 1;
}

.price__text {
    margin: 24px;
    padding: 160px 60px;
    border: 1px solid var(--color-tertiary);
}

.price__right {
    height: 100%;
    overflow: hidden;
    background-image: url("../images/nomade-day-9Rbe_s9.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex: 1;
}

.request {
    padding: 80px 0;
    padding-top: 40px;
    padding-bottom: 100px;
}

.request__form {
    width: 60%;
    display: block;
    margin: auto;
}

#form {
    scroll-margin-top: 60px;
}

.request__form-element {
    border-bottom: 1px solid black;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.request__form-element--title {
    font-size: 1.2rem;
    display: block;
    text-align: center;
}

.request__form-label {
    font-size: 1.4rem;
}

.request__form-element--message {
    display: block;
}

.request__input {
    background-color: inherit;
    padding: 20px;
    padding-right: 0;
    border: none;
    outline: none;
    font-family: "Helvetica Neue", sans-serif;
    font-size: var(--font-size-m);
    text-align: right;
}

.request__input::placeholder {
    font-size: .8rem;
}

.request__input--textarea {
    text-align: left;
    padding: 20px 0;
    width: 100%;
    height: 200px;
}

.footer {
    padding: 100px 0;
    padding-bottom: 70px;
    font-size: var(--font-size-s);
    background-color: var(--color-tertiary);
}

.footer__body {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer__left {
    font-family: "InstrumentSerifRegular", serif;
    font-size: var(--font-size-s);
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.footer__right {
    color: var(--color-secondary);
    font-family: "Helvetica Neue", sans-serif;
    font-size: var(--font-size-xs);
    display: flex;
    gap: 80px;
}

.footer__link {
    display: block;
    margin-bottom: 15px;
}

.footer-logo {
    width: 76px;
    margin-top: -26px;
    margin-right: 20px;
}

.ricordi-stampati-logo {
    width: 60px;
    margin-top: -14px;
    margin-left: 6px;
}

.ricordi-stampati-link {
    color: var(--color-secondary);
}

.minibus__tags {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
}

.nomade-tag {
    height: 70px;
}






@media all and (max-width: 1400px) {

    .price__text {
        height: 90%;
        width: 100%;
    }

    .footer__right {
        flex-direction: column;
        gap: 0;
    }

}







@media all and (max-width: 1200px) {

    .container {
        width: 80%;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    .hidden {
        display: none;
    }

    .hero__top {
        flex-direction: column;
    }

    .hero__body {
        padding-top: 40px;
    }

    .button--hero {
        margin-top: 30px;
    }

    .hero__video {
        height: 100vh;
        width: 100%;
        object-fit: cover;
    }

    .hero__title {
        padding: 0 20px;
    }

    .minibus {
        padding-bottom: 80px;
    }

    .minibus__top {
        flex-direction: column;
        margin-top: -50px;
        align-items: center;
    }

    .minibus__top-element {
        display: flex;
        justify-content: center;
    }

    .minibus-image {
        margin-left: -20px;
    }

    .minibus__title {
        margin-top: 30px;
    }

    .minibus__body {
        flex-direction: column;
        gap: 30px;
        margin-top: 50px;
    }

    .price {
        padding: 20px 0;
    }

    .price__polaroid {
        margin-top: 60px;
        margin-bottom: 40px;
    }

    .price__body {
        flex-direction: column;
        height: fit-content;
    }

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

    .price__right {
        flex: unset;
        width: 100%;
        height: 334px;
        background-position: center;
    }

    .price__text {
        padding: 60px 20px;
        height: 90%;
    }

    .stripes {
        height: 800px;
    }

    .request {
        padding: unset;
        padding-bottom: 60px;
    }

    .request__form {
        width: unset;
    }

    .request__form-element {
        flex-direction: column;
    }

    .request__input {
        text-align: center;
        padding: 10px;
    }

    .request__form-label {
        text-align: center;
    }

    .request__form-label {
        font-size: 1.2rem;
    }

    #form {
        scroll-margin-top: 10px;
    }

    .request__form-element {
        padding-top: 20px;
        padding-bottom: 10px;
    }

    .request__form-element--title {
        font-size: 1rem;
        padding-bottom: 30px;
    }

    .request__form-label {
        width: 100%;
    }

    .request__input {
        font-size: .8rem;
        width: 100%;
    }

    .request__input--textarea {
        height: 140px;
        text-align: left;
    }

    .request__input--textarea::placeholder {
        text-align: center;
    }

    .form-button {
        margin: auto;
        margin-top: 30px;
        width: 100%;
    }

    .footer {
        padding: 80px 0;
        padding-bottom: 60px;
    }

    .footer__body {
        flex-direction: column;
        margin-bottom: 40px;
    }

    .footer__left {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .footer__right {
        flex-direction: column;
        gap: unset;
        margin-top: 40px;
    }

    .footer__nav-left {
        margin: auto;
        text-align: center;
    }

    .footer__nav-right {
        margin: auto;
        text-align: center;
    }

    .footer__text {
        display: flex;
        gap: 30px;
    }

    .footer-logo {
        width: 90px;
        margin-right: unset;
        margin-bottom: 30px;
    }

    .footer__copyright {
        margin: auto;
        text-align: center;
        font-size: .8rem;
    }

    .ricordi-stampati-link {
        font-size: .9rem;
    }

    .ricordi-stampati-logo {
        display: unset;
        margin: unset;
        margin-top: 4px;
    }

    .minibus__tags {
        flex-direction: column;
        margin-top: 40px;
    }

    .nomade-polaroid {
        width: 130px;
        margin-top: unset;
    }

    .nomade-polaroid--2 {
        margin-top: 20px;
        margin-left: -30px;
        z-index: 100;
    }

    .nomade-polaroid--3 {
        margin-top: unset;
        margin-left: -30px;
        z-index: 10;
    }

}







@media all and (max-width: 700px) {

    .stripes {
        height: 300px;
    }

}


.scrollFade {
    opacity: 1;
    pointer-events: all;
}
.scrollFade--hidden,
.scrollFade-sequence:not(.scrollFade--visible),
.scrollFade-js .scrollFade-intro .scrollFade:not(.scrollFade--visible),
.scrollFade-js .scrollFade-intro .scrollFade-group > :not(.scrollFade--visible) {
    opacity: 0;
    translate: 0 24px;
    pointer-events: none;
}
.scrollFade--visible {
    opacity: 1;
    pointer-events: all;
}
.scrollFade--animate {
    transition: opacity 0.8s ease-in-out, translate 0.8s ease-in-out;
}


.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: #000;
    pointer-events: none;
    animation: hero-bg-fade-in 1s ease-in-out forwards;
}

.hero__body {
    z-index: 2;
}

@keyframes hero-bg-fade-in {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.hero__logo,
.button--hero {
    animation: hero-header-in 1.4s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
}

.button--hero {
    animation-delay: 0.68s;
}

@keyframes hero-header-in {
    from {
        opacity: 0;
        scale: 0.85;
    }
    to {
        opacity: 1;
        scale: 1;
    }
}

.hero__title-line {
    display: block;
    animation: hero-title-in 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.8s both;
}

.hero__title-line:nth-child(2) {
    animation-delay: 0.95s;
}

@keyframes hero-title-in {
    from {
        opacity: 0;
        translate: 0 8px;
    }
    to {
        opacity: 1;
        translate: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero__logo,
    .button--hero,
    .hero__title-line {
        animation: none;
    }

    .hero::after {
        display: none;
    }
}
