/* =========================================
   RESET
========================================= */

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

html {
    width: 100%;
    min-height: 100%;
}

body {
    width: 100%;
    min-height: 100vh;

    background: #ffffff;
    color: #292929;

    font-family: 'Open Sans', sans-serif;
}


/* =========================================
   HEADER
========================================= */

.header {
    width: 100%;
    height: 125px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;
}

.logo {
    font-family: 'Open Sans', sans-serif;

    font-size: 48px;
    font-weight: 400;

    line-height: 1;

    color: #000000;
}


/* =========================================
   HERO
========================================= */


.hero {
    width: 100%;
    height: 248px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-image: url('./assets/bg-hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    position: relative;

    width: 400px;
    min-height: 148px;

    padding: 12px 20px 8px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    overflow: hidden;
}


/* Sfumatura presente sulla parte destra del box */

.hero-content::after {
    content: "";

    position: absolute;

    top: 0;
    right: 0;

    width: 35%;
    height: 100%;
    pointer-events: none;
}


/* -----------------------------------------
   HERO - SCRITTA PICCOLA
----------------------------------------- */

.hero-script {
    position: relative;
    z-index: 1;

    margin-bottom: 3px;

    font-family: 'Parisienne', cursive;

    font-size: 28px;
    font-weight: 400;

    line-height: 1;

    color: #333333;
}

.text-wrapper .hero-script {
    font-family: 'Parisienne', cursive !important;
    font-size: 20px;
}

/* -----------------------------------------
   HERO - TITOLO
----------------------------------------- */

.hero h1 {
    position: relative;
    z-index: 1;

    margin: 0;

    font-family: 'Philosopher', sans-serif;

    font-size: 54px;
    font-weight: 400;

    line-height: 0.88;

    color: #292929;
}


/* =========================================
   CONTENT
========================================= */

.content {
    width: 100%;

    padding: 40px 30px 70px;

    background: #ffffff;
}

.content-inner {
    width: 100%;
    max-width: 475px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: 223px 1fr;

    column-gap: 27px;

    align-items: start;
}


/* =========================================
   IMAGE
========================================= */

.image-wrapper {
    width: 223px;
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* =========================================
   TEXT
========================================= */




/* -----------------------------------------
   CONTENT - TITOLO
----------------------------------------- */

.text-wrapper h2 {
    display: inline-block;

    margin: 0 0 22px 0;
    padding: 8px 7px 5px 0px;
    font-family: 'Philosopher', sans-serif;

    font-size: 42px;
    font-weight: 400;

    line-height: 0.88;

    color: #2e2e2e;
}


/* -----------------------------------------
   CONTENT - PARAGRAFO
----------------------------------------- */

.text-wrapper p {
    max-width: 210px;

    margin: 0;

    font-family: 'Open Sans', sans-serif;

    font-size: 12px;
    font-weight: 400;

    line-height: 1.65;

    color: #4b4b4b;
}


/* =========================================
   FOOTER
========================================= */

.footer {
    width: 100%;
    min-height: 250px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #c6a993;
}

.footer-text {
    font-family: 'Open Sans', sans-serif;

    font-size: 82px;
    font-weight: 400;

    line-height: 1;

    color: #000000;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 700px) {

    /* HEADER */

    .header {
        height: 100px;
    }

    .logo {
        font-size: 40px;
    }


    /* HERO */

    .hero {
        height: 230px;

        padding: 20px;
    }

    .hero-content {
        width: min(400px, 100%);

        min-height: 140px;
    }

    .hero-script {
        font-size: 24px;
    }

    .hero h1 {
        font-size: 48px;
    }


    /* CONTENT */

    .content {
        padding: 40px 25px 60px;
    }

    .content-inner {
        max-width: 520px;

        grid-template-columns: 1fr 1fr;

        column-gap: 25px;
    }


    /* IMAGE */

    .image-wrapper {
        width: 100%;
        height: auto;

        aspect-ratio: 0.85;
    }


    /* TEXT */

    .text-wrapper {
        padding-top: 10px;
    }

    .text-wrapper h2 {
        font-size: 36px;
    }


    /* FOOTER */

    .footer {
        min-height: 200px;
    }

    .footer-text {
        font-size: 70px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 520px) {

    /* HEADER */

    .header {
        height: 85px;
    }

    .logo {
        font-size: 34px;
    }


    /* HERO */

    .hero {
        height: auto;
        min-height: 230px;

        padding: 35px 18px;
    }

    .hero-content {
        width: 100%;

        min-height: 135px;

        padding: 15px;
    }

    .hero-script {
        font-size: 21px;
    }

    .hero h1 {
        font-size: clamp(39px, 11vw, 50px);
    }


    /* CONTENT */

    .content {
        padding: 40px 25px 55px;
    }

    .content-inner {
        max-width: 400px;

        display: flex;
        flex-direction: column;

        gap: 30px;
    }


    /* IMAGE */

    .image-wrapper {
        width: 100%;
        height: auto;

        aspect-ratio: 1.15;

        order: 1;
    }


    /* TEXT */

    .text-wrapper {
        width: 100%;

        padding-top: 0;

        order: 2;
    }

    .text-wrapper h2 {
        font-size: clamp(34px, 10vw, 43px);

        margin-bottom: 18px;
    }

    .text-wrapper p {
        max-width: 100%;

        font-size: 13px;

        line-height: 1.7;
    }


    /* FOOTER */

    .footer {
        min-height: 180px;
    }

    .footer-text {
        font-size: 58px;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 360px) {

    /* HEADER */

    .header {
        height: 93px;
    }

    .logo {
        font-size: 31px;
    }


    /* HERO */

    .hero {
        padding: 30px 15px;
    }

    .hero-content {
        min-height: 125px;

        padding: 12px;
    }

    .hero-script {
        font-size: 19px;
    }

    .hero h1 {
        font-size: 37px;
    }


    /* CONTENT */

    .content {
        padding: 35px 18px 50px;
    }

    .content-inner {
        gap: 25px;
    }

    .text-wrapper h2 {
        font-size: 34px;
    }

    .text-wrapper p {
        font-size: 12px;
    }


    /* FOOTER */

    .footer {
        min-height: 160px;
    }

    .footer-text {
        font-size: 50px;
    }
}


.hero-script {
    font-family: 'Parisienne', cursive !important;
}

.hero h1 {
    font-family: 'Philosopher', sans-serif !important;
}

.text-wrapper h2 {
    font-family: 'Philosopher', sans-serif !important;
}

.text-wrapper p {
    font-family: 'Open Sans', sans-serif !important;
}


.footer {
    width: 100%;
    min-height: 60px;
    padding: 45px 30px;
    background: #b8afa8;
    color: #111111;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
}

.footer-content {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.footer h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.1;
}

.footer p {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.65;
    color: #4b4b4b;
}

.logo img {
    width: 130px;
}