*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    text-decoration: none;
    scroll-behavior: smooth;
    list-style: none;
}

:root{
    --bg-color: #202020;
    --snd-bg-color: #fff;
    --text-color: #fff;
    --main-color: #000;
}

body{
    background:linear-gradient(rgba(255,255,255),rgba(192, 192, 192),rgba(128,128,128))
}

header{
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    background-color: var(--bg-color);
    backdrop-filter: blur(8px);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 3rem;
    z-index: 1000;
}

h1{
    background: linear-gradient(to right, rgb(255, 0, 255), rgb(0, 157, 255));
    background-clip: text;
    color: transparent;
    font-size: 5rem;
}
.logo{
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    text-wrap: nowrap;
    transition: 0.3s ease-in-out;
}
 
.logo:hover{
    transform: scale(1.2);
    transition: 0.3s ease-in-out;
}

.nav-links{
    display: flex;
    gap: 2rem;
}

li a{
    position: relative;
    color: white;
    font-weight: 300;
}

.nav-links a:hover,
.nav-links a.active{
    transition: 0.3s ease-in-out;
    background: linear-gradient(to right, rgb(255, 0, 255), rgb(0, 157, 255));
    background-clip: text;
    color: transparent;
}

#menu-icon{
    font-size: 2rem;
    color: var(--text-color);
    display: none;
}

section{
    min-height: 100vh;
    padding: 8rem 12%;
    width: 100%;
    position: relative;
}

.project{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.project .project-container{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10rem;
}

.project img{
    display: flex;
    width: 20vw;
    border-radius: 2rem;
    border: .2rem solid black;
}

@media (max-width: 1200px) {
    .project .project-container {
        gap: 3rem;
    }

    .info-box {
        text-align: center; /* Adjust for smaller screens */
    }
}

@media (max-width: 800px){

    .project .project-container {
        flex-direction: column; /* Stack items vertically */
        gap: 2rem;
    }
    .project img {
    width: 80%; /* Make the image take more width */
    }

    .info-box {
    text-align: center;
    gap: 1rem;
    }
}

@media (max-width: 480px) {
    .project img {
        width: 100%; /* Image fills container on small screens */
    }
}

.info-box{
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem 9%;
}

.footer-text{
    color: white;
    font-size: 1rem;
    flex-wrap: wrap;
}

.footer-iconTop{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: .8rem 1rem;
    background: var(--main-color);
    border-radius: .8rem;
    transition: .5s ease;
    flex-wrap: wrap;
}

.footer-iconTop a:hover{
    border-radius: .1rem;
    transition: 0.3s ease-in-out;
    background: linear-gradient(to right, rgb(255, 0, 255), rgb(0, 157, 255));
    transform:scale(1.2);
}

.footer-iconTop a i{
    font-size: 1rem;
    color: var(--snd-bg-color);
}