body {
    font-family: monospace;
    background-color: black;
    background: linear-gradient(to right, #30014c ,black);
    margin: 0;
    padding: 0;
    min-height: 100vh;
}
html{
    scroll-behavior: smooth;
}

.navbar{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0.5rem 0.5rem;
}
.logo{
    font-size: 3rem;
    font-weight: bold;
    font-family: 'Courier New', Courier, monospace;
    color:deepskyblue;
    padding: 0;
    margin: 0;
}

.nav-links {
    
    display: flex;
    gap: 1.5rem;
    margin: 0; 
    flex-wrap: wrap;
    margin-left: 10rem;
    margin-top: 0;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    
}


nav a{
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: bold;
    font-family: 'Courier New', Courier, monospace;
    margin:0 1rem;

}

nav a:hover{
    color: rgb(36, 251, 248);
}

.container_wrapper{
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 5rem auto 0;
}
.introduction{
    color: rgb(253, 253, 253);
    font-family: 'Courier New', Courier, monospace;
    text-align: center;
    flex: 1;
    padding: 0;
}

.introduction p{
    color: rgb(39, 150, 255);
    font-size: 3rem;
}

.introduction span{
    font-size: 1.8rem;
    margin-top: 1rem;
}

.figure{
    width: 300px;
    max-width: 300px;
    border-radius: 50%;
    box-shadow: 0px 0px 20px rgba(253, 251, 251, 0.5);
}

.myfig{
    margin-top: 10%;
    margin-right: 0%;
    flex-direction: column;
    flex-wrap: wrap;
}

.aboutme{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 5rem auto 0;
    font-size: 2.5rem;
    font-weight: bold;
    font-family: 'Courier New', Courier, monospace;

}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
}

.box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 250px;
    text-align: center;
    padding: 10px;
    border-radius: 12px;
}

.box img {
    height: 200px;
    width: auto;
    border-radius: 8px;
}

.box span {
    margin-top: 20px;
    font-size: 20px;           /* make text larger */
    font-weight: bold;
}



.myskill{
    display: flex;
    margin-top: 200px;
    justify-content: center;
}

.skills{
    color: white;
    font-size: 50px;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
}

.skill-list{
    color: white;
    font-size: 40px;
    font-family: 'Courier New', Courier, monospace;
    display: flex;
    flex-direction: column; 
    justify-content: center;  
    align-items: center;      
    min-height: 400px;        
    text-align: center;
}

.skill-list span{
    margin-bottom: 50px;
    margin-top: 50px;

}

.icons {
    /* display: flex; */
    gap: 50px;
    padding: 50px;               

}

.skill-fig{
    width: 100px;
    height: 120px;
}

.myproject{
    display: flex;
    margin-top: 200px;
    justify-content: center;
    color: white;
    font-size: 50px;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;

}

.projects{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 20px;

}

.portfolio,
.MB-RNA,
.mb-iit,
.botx{
    background-color: rgb(212, 149, 243);
    width: 400px;
    height: 400px;
    margin: 40px;
    border-radius: 50px;
    justify-content: center;
    box-shadow: 8px 8px 20px rgba(253, 251, 251, 0.5);
}

.portfolio span,
.MB-RNA span,
.mb-iit span,
.botx span{
    font-size: 1.2rem;
    display: flex;
    text-align: center;
    justify-content:center;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    margin: 10px;
}

.portfolio p,
.MB-RNA p,
.mb-iit p,
.botx p{
    font-size: 1.0rem;
    display: flex;
    text-align: center;
    font-family:'Times New Roman', Times, serif;
    margin: 10px;
}

hr {
    border: none;            
    height: 3px;                         
    background-color: black;  
    margin: 8px;
    display: flex;         
}

.tumor,
.uiuc,
.ftsz,
.mca{
    background-color: rgb(123, 198, 252);
    width: 400px;
    height: 400px;
    margin: 40px;
    border-radius: 50px;
    box-shadow: 8px 8px 20px rgba(253, 251, 251, 0.5);
}

.tumor span,
.uiuc span,
.ftsz span,
.mca span{
    font-size: 1.2rem;
    display: flex;
    text-align: center;
    justify-content:center;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    margin: 10px;
}

.tumor p,
.uiuc p,
.ftsz p,
.mca p{
    font-size: 1.0rem;
    display: flex;
    text-align: center;
    font-family:'Times New Roman', Times, serif;
    margin: 10px;
}

footer{
    background-color: black;
    margin: 0;
    padding: 0;
}
.footer span{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    font-weight: bold;
    font-family: 'Courier New', Courier, monospace;
}

.contact{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
}

.design{
    background-color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0;
    padding: 0;
    font-size: 1.2rem;
    font-weight: bold;
    font-family: 'Courier New', Courier, monospace;
}
.animation-opcity{
    animation-name: scroll-animation;
    animation-duration: 1s;
}

@keyframes scroll-animation{
    0% {opacity: 0.2;}
    100%{opacity: 1;}
}


/* RESPONSIVE */
@media (max-width: 600px) {
    .introduction { 
        font-size: 2rem; 
    }
    .introduction span { 
        font-size: 1.2rem; 
    }
    .skills { 
        font-size: 2rem; 
        /* Remove position: relative; */
    }
    .skill-list { 
        font-size: 1.5rem; 
        /* Remove position: relative; */
    }
    .aboutme{
        display: flex;
    }
    .box { 
        max-width: 90%; 
        /* Remove position: relative; */
    }
    .figure { 
        width: 600px; 
        /* Remove position: relative; */
    }
    
    .myfig {
        display: flex;
        justify-content: center;
        margin-top: 2rem;
        margin-right: 0;
    }
    
    /* Stack content vertically on mobile */
    .container_wrapper {
        flex-direction: column;
        align-items: center;
    }
    .projects span{
        font-size: 1.0rem;
    }
    .projects p  {
        font-size: 1.0rem;
    }
}


