*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Merriweather", serif;
}
html, body {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(rgba(18,0,12,255),rgba(19,1,13,255));
}
/*.box div{
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: transparent;
    border: 6px solid rgba(255,255,255,0.8);
}*/
.box div:nth-child(1){
    top: 12%;
    left: 42%;
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: transparent;
    border: 6px solid rgba(255,255,255,0.8);
    animation: animate 10s linear infinite;
}
.box div:nth-child(2){
    top: 70%;
    left:50%;
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: transparent;
    border: 6px solid rgba(255,255,255,0.8);
    animation: animate 7s linear infinite;
}
.box div:nth-child(4){
    top: 20%;
    left:60%;
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: transparent;
    border: 6px solid rgba(255,255,255,0.8);    
    animation: animate 10s linear infinite;
}
.box div:nth-child(5){
    top: 67%;
    left:10%;
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: transparent;
    border: 6px solid rgba(255,255,255,0.8);
    animation: animate 6s linear infinite;
}
.box div:nth-child(6){
    top: 80%;
    left:70%;
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: transparent;
    border: 6px solid rgba(255,255,255,0.8);
    animation: animate 12s linear infinite;
}
.box div:nth-child(7){
    top: 60%;
    left:80%;
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: transparent;
    border: 6px solid rgba(255,255,255,0.8);
    animation: animate 15s linear infinite;
}
.box div:nth-child(8){
    top: 32%;
    left:25%;
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: transparent;
    border: 6px solid rgba(255,255,255,0.8);
    animation: animate 16s linear infinite;
}
.box div:nth-child(9){
    top: 90%;
    left:25%;
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: transparent;
    border: 6px solid rgba(255,255,255,0.8);
    animation: animate 9s linear infinite;
}
.box div:nth-child(10){
    top: 20%;
    left:80%;
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: transparent;
    border: 6px solid rgba(255,255,255,0.8);
    animation: animate 5s linear infinite;
}
nav{
    display: grid;
    max-width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    background: rgba(72, 0, 48, 0.8);
    padding: 15px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.8);
    position: sticky;
    top: 0;
}
nav .logo h2{
    font-size: 2.5em;
    background: linear-gradient(#dc21b8,#4ac0fc);
    -webkit-text-fill-color: transparent; 
    -webkit-background-clip: text;
}

.navlinks ul{
    display: flex;
    justify-content: space-between;
}
.navlinks ul li{
    list-style: none;
}
.navlinks ul li a{
    text-decoration: none;
    color: #fff;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    padding: 5px;
    text-transform: capitalize;
    transition: all 0.5s ease-out;
}
.navlinks ul li a:hover{
    font-size: 2em;
    background-color: #4ac0fc;
}
.main{
    display: flex;
    flex-wrap: wrap;
    flex: 1;
    justify-content: space-evenly;
    margin-top: 30px; 
    padding: 30px;
}
.main .profpic{
    max-width: 300px;
}
.main .profpic img{
    display: block;
    max-width: 100%;
    border-radius: 10px;
    animation: movepic 5s ease-in-out infinite;
}
.main .intro{
    color: #fff;
    padding: 20px;
    font-size: 2em;
}
.main .intro h2 .hand{
    font-size: 2.5em;
    display: inline-block; /* Ensures transform works */
    transform-origin: center bottom; /* Makes the waving more natural */
    animation: wavehand 3s ease-in-out 5;
}
.main .intro .title1{
    color: #4ac0fc;
    font-weight: bold;
    text-transform: uppercase;
}
.button{
    padding: 20px;

}
.button a{
    text-decoration: none;
    background: linear-gradient(90deg,#dc21b8,#4ac0fc);
    padding: 10px;
    color: #fff;
    border-radius: 10px;
}
.socials ul{
    display: flex;
}
.socials ul li{
    list-style: none;
    padding: 10px;
}
footer{
    background: rgba(255,255,255,0.1);
    color: #fff;
    padding: 10px;
    text-align: center;
}
@keyframes animate{
    0%{
      transform: scale(0) translateY(0) rotate(0);  
      opacity: 1;
    }
    100%{
      transform: scale(1.3) translateY(-90px) rotate(360deg);
      opacity: 0;  
    }
}
@keyframes movepic {
    0%{
        transform: translateY(0);
    }
    50%{
        transform: translateY(100px); 
    }
    100% { 
        transform: translateY(0); 
    }
    
}
@keyframes wavehand {
    0% { transform: rotate(0deg); opacity: 1; }
    25% { transform: rotate(-20deg); opacity: 0.9; }
    50% { transform: rotate(20deg); opacity: 1; }
    75% { transform: rotate(-20deg); opacity: 0.9; }
    100% { transform: rotate(0deg); opacity: 1; }
}
@media screen and (max-width: 600px){
    .nav{
        max-width: 100%;
        padding: 10px;
    }
    .navlinks ul{
        display: flex;
        flex-wrap: wrap;
    }
    .footer {
        position: absolute;
        bottom: 0;
        width: 100%;
        background: rgba(255,255,255,0.1);
        color: #fff;
        text-align: center;
        padding: 10px;
    }
    .main{
        flex-direction: column;
        align-items: center;
    }
    .main .profpic img{
        display: block;
        z-index: -1;
    }
    @keyframes movepic {
        0%{
            transform: translateY(0);
        }
        50%{
            transform: translateY(30px); 
        }
        100% { 
            transform: translateY(0); 
        }        
    }
    .main .intro{
        color: #fff;
        padding: 10px;
        font-size: 1em;
    }
    .main .intro h2 .hand{
        font-size: 2em;
        display: inline-block;
        transform-origin: center bottom;
        animation: wavehand 3s ease-in-out 5;
    }
    .button{
        padding: 10px;
    }
    .button a{
        text-decoration: none;
        background: linear-gradient(90deg,#dc21b8,#4ac0fc);
        padding: 5px;
        color: #fff;
        border-radius: 10px;
    }
    .socials ul{
        display: flex;
        flex-wrap: wrap;
    }
    .socials ul li{
        list-style: none;
        padding: 10px;
    }
    
}