*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Open sans', sans-serif;

}

body{
    height: 100vh;
    background-color: #000;
   

}
:root{
    --text-color: #00b3ff;
    --purple :#0099ff;
    --dark-purple: #242429;



}

section{
width: 100%;
min-height: 100vh;
display: flex;
flex-direction: column;
margin-top: 0%;
justify-content: center;
align-items: center;
background-image: url(https://images.unsplash.com/photo-1485470733090-0aae1788d5af?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1517&q=80);
background-size: cover;
background-position: center;
}

header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
}

.Titoli{
    display: flex;
    flex-direction: column;
    gap: 50px;
    color: white;
 }

.menu{
    position: absolute;
    top: 0;
    left: 0;
    width: 400px;
    height: 100vh;
    overflow: visible scroll;
    background-color: var(--purple);
    background: linear-gradient(135deg,var(--purple),
    var(--dark-purple));
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    padding-top: 5rem;
    clip-path: circle(32px at 40px 46px);
    transition: 0.8s ease;
}
.menu.open{
    clip-path: circle(120% at 50% 50%);  
    transition-delay: 0,2s;
}
.toggle_btn{
    position: absolute;
    top: 35px;
    left: 26px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.toggle_btn span{
    display: block;
    width: 28px;
    height: 2px;
    background-color: var(--text-color);
    transform-origin: left center ;
    transition: background-color 0.2s ease, 
    transform 0.4s ease;
}

.toggle_btn:hover span{
    background-color: #fff;

}
/*
 toggle btn transition
.toggle_btn.open span:nth-child(2){
    opacity: ;
    display: none;
}
.toggle_btn.open span:nth-child(1){
   transform: rotate(45deg);
}
.toggle_btn.open span:nth-child(3){
    transform: rotate(-45deg);
 }

.profile_img{
    margin: 2rem auto;
    width: 30px;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
} 
.profile_img img{
    width: 100%;

}*/


.username{
    font-size: 2rem;
    color: #fff;
    opacity: 1;
    transition: 0.3 ease-in;
}

.menu.open.username{
    opacity: 1;
    transition-delay: 0.4s;
}

.links{
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: 0.3 ease-in;
   color: #fff;
}
.menu.open.links{
    opacity: 1;
    transition-delay: 0.5s;

}

.links ul{
    list-style: none;
}
.links li{
    padding: 15px;
}
.links li a{
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.3rem;
   }
   .links li a:hover,
   .links li a.active{
    color:#fff;
   }

  