*{
    box-sizing:border-box;
}


html{
    scroll-behavior:smooth;
}


body{

    margin:0;
    font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "Segoe UI",
    sans-serif;

    background:
    linear-gradient(
        180deg,
        #f8f8fa,
        #ececf1
    );

    color:#1d1d1f;

}




.container{

    max-width:1200px;
    margin:auto;
    padding:50px 25px;

}




.hero{

    text-align:center;
    margin-bottom:60px;
    padding:20px;

    border-radius:28px;
    border: 1px solid #FF7F50;
    background:
    white;
    animation:fadeDown .8s ease;

}



.hero h1{

    font-size:64px;
    letter-spacing:-3px;
    margin:0;
    color: #FF7F50;

}



.hero p{

    font-size:20px;
    color:#6e6e73;
    margin-top:15px;

}





.layout{

    display:grid;
    grid-template-columns:240px 1fr;
    gap:30px;

}





.menu{

    position:sticky;
    top:30px;

    height:max-content;

    padding:20px;

    border-radius:28px;

    background:
    rgba(255,255,255,.65);

    backdrop-filter:blur(20px);

    box-shadow:
    0 20px 50px rgba(0,0,0,.08);

    border: 1px solid #FF7F50;

    margin-bottom: 1rem;

}





.menu a{

    display:block;

    text-decoration:none;

    color:#555;

    padding:12px 15px;

    border-radius:14px;

    transition:.25s;
    


}



.menu a:hover{

    background:#FF7F50;
    color:white;

    transform:translateX(5px);

}





.content{

    display:flex;
    flex-direction:column;
    gap:25px;

}





.card{

    background:
    rgba(255,255,255,.8);

    backdrop-filter:blur(20px);

    border-radius:32px;

    padding:35px;

    box-shadow:

    0 15px 40px rgba(0,0,0,.07);

    opacity:0;

    animation:appear .7s forwards;

    transition:.3s;

    border: 1px solid #FF7F50;


}



.card:hover{

    transform:
    translateY(-5px);

    box-shadow:
    0 5px 20px #FF7F50 ;

    border-color: 1px solid #FF7F50 !important;

}




.card:nth-child(1){
animation-delay:.1s;
}

.card:nth-child(2){
animation-delay:.2s;
}

.card:nth-child(3){
animation-delay:.3s;
}




h2{

    font-size:30px;
    letter-spacing:-1px;

}



.highlight{

    display:inline-block;

    background:#FF7F50;

    color:white;

    padding:5px 14px;

    border-radius:20px;

    font-size:13px;


}





p,li{

    color:#555;

    line-height:1.8;

    font-size:16px;

}




footer{

    text-align:center;

    margin-top:60px;

    color:#FF7F50;

}

.menu-toggle{

    display:none;

    width:55px;
    height:55px;

    border:none;
    border-radius:18px;

    background:rgba(255,255,255,.75);

    backdrop-filter:blur(20px);

    box-shadow:
    0 10px 30px rgba(0,0,0,.12);

    cursor:pointer;

    margin-bottom:20px;

}


.menu-toggle span{

    display:block;

    width:22px;
    height:2px;

    background:#FF7F50;

    margin:5px auto;

    border-radius:10px;

    transition:.3s;

}




@media(max-width:850px){


.layout{

    display:block;

}



/* hamburger visibile */

.menu-toggle{

    display:block;

}



/* menu nascosto */

.menu{

    position:relative;

    top:0;

    max-height:0;

    overflow:hidden;

    opacity:0;

    padding:0;

    border:0;

    transition:.35s ease;

}




.menu.active{

    max-height:400px;

    opacity:1;

    padding:20px;

    border:1px solid #FF7F50;

}



.menu a{

    margin-bottom:5px;

}




}




@keyframes appear{

from{

    opacity:0;
    transform:translateY(25px);

}

to{

    opacity:1;
    transform:translateY(0);

}

}



@keyframes fadeDown{

from{

opacity:0;
transform:translateY(-20px);

}

to{

opacity:1;
transform:translateY(0);

}

}




@media(max-width:850px){


.layout{

    grid-template-columns:1fr;

}


.menu{

    position:relative;

}


.hero h1{

    font-size:42px;

}


.card{

    padding:25px;

}


}

