/*-------ATTENZIONE! --- Non copiare lo stile!! -------*/
@font-face {
    font-family: "space-bold";
    src: url("SpaceGrotesk-Bold.ttf");
    font-weight: bold;
    font-display: swap;
}


@font-face {
    font-family: "space-reg";
    src: url("SpaceGrotesk-Medium.ttf");
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    vertical-align: baseline;
    background: transparent;
}

*, *:before, *:after 
{ box-sizing: border-box; }

body, header, .container {
    transition: background-color 0.3s, color 0.3s;
}

html {
height: 100%;
width: 100%;
font-size: 20px;
}

@media (min-width: 2000px) {
    html {font-size: 30px;}
}

@media (max-width: 1100px) {
    html {font-size: 19px;}
}

@media (max-width: 800px) {
    html {font-size: 18px;}
}

@media (max-width: 400px) {
    html {font-size: 16px;}
}

body {
    color:#141414;
   }

main {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

   h1 {font-family: "space-bold";
    font-size: 3rem;}

h2 {font-family: "space-bold";
    font-size: 1.8rem;}

h3 {font-family: "space-bold";
    font-size: 1.2rem;}

p {font-family: "space-reg";
   font-size: 1rem;
   padding: 5px 0px;}


.hetyna-st {
    position: sticky;
    top: 150px;
}

.hetyna-gl {
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

.hetyna-pa {
    padding: 0 5vw;
    gap: 30px;
    display: flex;
    flex-direction: column;
}

.container {border-radius: 30px;
            background-color: rgba(217, 225, 253, 0.768);
            padding: 40px 20px 50px 20px;
            border-color: rgba(0, 255, 255, 0.226);
            border-style: solid;
            border-width: 0.5px;
            display: flex;
            flex-direction: column;
            gap: 10px;
            }

#scrolly-video {
    position: fixed!important;
    z-index: -2;
}

header {display: flex;
        flex-direction: row!important;
        justify-content: space-between;
        position: sticky;
        z-index: 99;
        top: 0;
        border-radius: 0px 0px 20px 20px;
        margin-bottom: -20px;
    background-color:  rgba(240, 248, 255, 0.742)
    }

header img {
    max-width: 320px;
    width: 50%;
    min-width: 200px;
    aspect-ratio: 44/16;
}

.menu-desktop {display: flex;
    align-items: center;
    gap: 15px;}

@media (max-width: 1090px) {
    .menu-desktop {display: none;}
}



.red-button {font-family: "space-bold";
    text-decoration: none;
    color: white;
    min-width: fit-content;
    padding: 10px 20px;
    border-radius: 50px;
    transition: background-color 250ms ease-in-out;
    background-color: rgb(203, 0, 0);
    width: -webkit-fill-available;
    text-align: center;
    font-size: 1.1rem}

.red-button:hover {
    background-color: rgb(255, 117, 117);
}

.cta-button {font-family: "space-bold";
            text-decoration: none;
            color: white;
            min-width: fit-content;
            transition: background-color 250ms ease-in-out;
            padding: 10px 20px;
            border-radius: 50px;
            background-color: rgb(0, 0, 169);
            text-align: center;
            width: -webkit-fill-available;
            font-size: 1.1rem}

.cta-button:hover {background-color: rgb(131, 131, 216);}

#hero {
    background-color: rgba(240, 248, 255, 0.742); 
    border-radius: 0px 0px 100px 100px; 
    padding-bottom: 50px;
    padding-top: 50px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}

#hero div {flex-grow: 1;
    min-width: 500px;
    width: 60%;
    height: fit-content;
}


@media (max-width: 580px) {
    #hero div {
        min-width: unset;
    }
}


#hero ul {flex-grow: 1;
    min-width: 250px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 30%;}


#hero ul li {
    background-color: rgb(179, 226, 255);
    border-radius: 10px;
    padding: 10px;
    text-align: center;
}

.cards {display: flex;
        flex-wrap: wrap;
        flex-direction: row;
       justify-content: center;
       gap: 30px;
       margin: 30px 0px;
        }


.cards img {
    aspect-ratio: 1/1;
    max-width: 280px;
    border-radius: 20px;
    background-color: rgb(179, 226, 255);;
}

.wrap-section {display: flex;
               flex-direction: row;
               gap: 30px;
               flex-wrap: wrap;}

#test-nutrigenetico {min-width: 250px;
                    width: 0%;
                    height: fit-content;
                    flex-grow: 1;}

#longevity-project {
    min-width: 250px;
    width: auto;
    flex-grow: 1;
}

#prodotto img {min-width: 250px;
    margin: -50px 0px;
    width: 30%;
    aspect-ratio: 1/1;
}

.wrap-section2 {
    display: flex;
    flex-direction: row;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.desc {
    height: fit-content;
    flex-grow: 20;
    width: min-content;
}

.treelife-img {aspect-ratio: 9/7;
              min-width: 250px;
              flex-grow: 1;
    width: 100%;
    max-width: 620px;
    border-radius: 30px;
               }

.treelife-content {
    min-width: 250px;
    flex-grow: 20;
    width: min-content;
}

#prodotto ul {list-style: none;
    margin: 0px 0px 30px 0px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 20px;}

    @media (max-width: 700px) {
        #prodotto ul {
            grid-template-columns: auto;
        }
    }

              #prodotto ul li {
                padding: 20px;
                border-radius: 20px;
                background-color: rgb(179, 226, 255);
              }

footer {margin-top: 150px;
background-color: rgba(158, 173, 228, 0.768);
border-radius: 90px 90px 0px 0px;
}

.footer-content {
    padding: 50px 0px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
}

.footer-content img {
    max-width: 270px;
}

.sub-footer {
    background-color: aliceblue;
    margin-bottom: 30px;
    border-radius: 50px;
    padding: 20px;
    display: flex;
}

@media (max-width: 700px) {
    .sub-footer {
        flex-wrap: wrap;
        justify-content: center!important;
    }


}

.gdpr {list-style: none;
       padding: 20px 0px;
       display: flex;
       width: -webkit-fill-available;
       justify-content: flex-start;
       align-items: center;}   
       
span {width: 1px;
      height: 25px;
      border-color: rgb(0, 0, 169);
      border-width: 1px;
      margin: 0px 10px;
      border-style: solid;
      }

.gdpr li {
    display: flex;
    align-items: center;
}
       
.gdpr li a {
    text-decoration: none;
    font-family: "space-bold";
    width: max-content;
    font-size: 14px;
}

.hetyna {
    width: -webkit-fill-available;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}

@media (max-width: 701px) {
    .hetyna, .gdpr {
        justify-content: center;
    }
}

.hetyna img {
    max-width: 120px;
    margin: 0px 6px;
}