@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    font-family: var(--main-font);
    
    
}
:root{
    --backgroundColor: rgb(0, 0, 0);
    --primaryColor: rgb(255, 71, 87);
    --main-font: 'Poppins', sans-serif;
    --secondaryColor: rgb(255, 255, 255);
    --textColor: rgb(255, 255, 255);
}

body{
    background: var(--backgroundColor);
    color: var(--textColor);
    display: flex;
    justify-content: center;
    
}

.main{
    border: 2px solid hsl(0, 0%, 30%);
    width: 100%;
    max-width: 75vw;
    margin: 20px 0;
    border-radius: 10px;
    text-align: left;
    position: relative;
     box-shadow: 0 0 20px 5px rgba(255, 255, 255, 0.4);
}

.nav{
    display: flex;
    width: 100%;
    justify-content:space-between;
    align-items: center;
    flex-wrap: wrap;
}

.nav .left{
    display: flex;
    gap:20px;
    margin-left: 15px;
    margin-top: 10px;
    align-items: center;
}

.nav .left .two{
    display: flex;
    color: var(--primaryColor);
    gap:-20px;
    align-items: center;
}

.nav .left .one{
    color: var(--primaryColor);
    font-size: 35px;
}

.material-symbols-outlined{
    font-size: 40px;
    font-weight: bold;
}

.Logo{
    height: 20px;
    margin: 5px;
}

.nav .right{
    display: flex;
    align-items: center;
    gap:10px;
    margin-right: 15px;
}

.nav .right span{
    font-size: 20px;
}

#name{
    color: var(--secondaryColor);
    font-weight: bold;
    font-size: 30px;
    margin-left: -8px;
    
}


.border{
    width: 100%;
    height: 2px;
    background-color: hsl(0, 0%, 30%);
}

.footer{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    gap:5px;
}

.footer span{
    font-size: 20px
}

h1{
    color: var(--primaryColor);
    font-size: 36px;
    line-height: 1.8;
    margin: 0 10px;
}

p{
    font-size: 19px;
    word-spacing: 0.10em;
    letter-spacing: 0.5px;
    line-height: 1.5;
    font-weight: 400;
    margin: 24px 10px;
}


.skillIcons{
    height: 50px;
}

.card{
    display: flex;
    margin:24px 10px;
    gap:10px;
    flex-wrap: wrap;
}

#about{
    width: 95%;
    background-color: hsl(0, 0%, 8%);
    
    border-radius: 20px;
    padding-bottom: 3px;
    border: 2px solid hsl(0, 0%, 30%);
    grid-area:about;
}

#skills{
    width: 95%;
    background-color: hsl(0, 0%, 8%);
    border-radius: 20px;
    padding-bottom: 3px;
    border: 2px solid hsl(0, 0%, 30%);
    grid-area: skills;
}

#profile{
    width: 60%;
    margin:20px;
    border-radius: 10px;
}

h2{
    color: var(--primaryColor);
}

#aside{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: hsl(0, 0%, 8%);
    
    border-radius: 20px;
    padding-bottom: 3px;
    border: 2px solid hsl(0, 0%, 30%);
    position: sticky;
    top:20px;
    grid-area: aside;
    

}

.hero{
            display: grid;
            grid-template-columns: 60% 35%;
            gap: 20px;
            
            margin: 20px ;
            grid-template-areas:
                "about aside"
                "skills aside"
                "projects aside";

             align-items: start;
            
        }

#aside p{
    font-size: 16px;
    text-align: center;
    margin: 5px;
}

.borderProfile{
     width: 100%;
    height: 2px;
    background-color: hsl(0, 0%, 30%);
}

#aside .secondary{
    font-size: 14px;
    margin: 2px;
}


#projects{
     width: 95%;
    background-color: hsl(0, 0%, 8%);
    border-radius: 20px;
    padding-bottom: 3px;
    border: 2px solid hsl(0, 0%, 30%);
    grid-area: projects;
}

#projects ol a{
    text-decoration:underline;
    color: white;
}

#projects ol{
    margin: 0;
    padding: 20px;
}


#projects ol a:hover{
    
    color: hsl(0, 0%, 70%);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .main {
        max-width: 95vw;
        margin: 10px 0;
        border-radius: 5px;
    }
    
    .nav {
        padding: 10px 0;
    }
    
    .nav .left {
        margin-left: 10px;
        gap: 10px;
    }
    
    .nav .right {
        margin-right: 10px;
    }
    
    .material-symbols-outlined {
        font-size: 30px;
    }
    
    .nav .left .one {
        font-size: 25px;
    }
    
    #name {
        font-size: 20px;
    }
    
    .hero {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 15px;
        grid-template-areas:
            "aside"
            "about"
            "skills"
            "projects";
    }
    
    #aside {
        position: static;
        width: 95%;
        margin: 0 auto;
    }
    
    #profile {
        width: 150px;
        height: 150px;
        object-fit: cover;
    }
    
    h1 {
        font-size: 28px;
        margin: 0 15px;
    }
    
    p {
        font-size: 16px;
        margin: 20px 15px;
    }
    
    #aside p {
        font-size: 14px;
        margin: 8px;
    }
    
    .card {
        justify-content: center;
        margin: 20px 15px;
    }
    
    .skillIcons {
        height: 40px;
    }
    
    #projects ol {
        padding: 15px;
    }
    
    .footer {
        font-size: 14px;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .nav .left .two {
        gap: 5px;
    }
    
    #name {
        font-size: 18px;
    }
    
    .material-symbols-outlined {
        font-size: 25px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    p {
        font-size: 15px;
    }
    
    .skillIcons {
        height: 35px;
    }
    
    .card {
        gap: 8px;
    }
}
