@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');
@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');
:root{
    --text-color: #1a1c20;
    --link-color: #4a76ee;
    --background-color: white;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
body{
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    max-width: 1400px;
    margin: 0 auto;
}
a{
    color: var(--link-color);
    text-decoration: none;
}
/* NAVBAR */
nav{
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
    height: 80px;
    align-items: center;
}
nav .left a{
    color: var(--text-color);
    font-size: 22px;
    font-weight: 600;
}
nav .right a{
    color: var(--text-color);
    margin: 0 10px;
}
nav .right a:last-child{
    color: var(--background-color);
    background-color: var(--text-color);
    padding: 5px 15px;
    border-radius: 5px;
}
nav .right a span{
    margin-left: 5px;
}
/*SECTION 1: Hero*/
.hero-section{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    margin: 50px 0;
    gap: 40px;
    margin-bottom: 100px;
}
.hero-section .text{
    flex: 5;
}
.hero-section .text h2{
    font-size: 45px;
}
.hero-section .text .links{
    margin-top: 25px;
}
.hero-section .text .links a{
    display: inline-block;
    padding: 5px 10px;
    border: 2px solid var(--link-color);
    border-radius: 5px;
    margin-right: 10px;
    margin-bottom: 10px;
    transition: .1s;
}
.hero-section .text .links a:hover{
    color: var(--text-color);
    border: 2px solid var(--text-color);
}
.hero-section .headshot{
    flex: 2;
    display: flex;
    justify-content: right;
}
.hero-section .headshot img {
    width: 350px;
    height: 350px;
    object-fit: cover;
    border-radius: 50%;
}
/* SECTION 2: Skills */
.skills-section{
    padding: 0 50px;
    margin-bottom: 100px;
}
.skills-section h2{
    text-align: center;
    font-size: 35px;
}
.skills-section .text{
    text-align: center;
    margin-bottom: 20px;
}
.skills-section .cells{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.skills-section .cells .cell{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    gap: 10px;
    padding: 10px 20px;
    border: 1.5px solid gainsboro;
    border-radius: 5px;
    margin: 10px;
}
.skills-section .cells .cell img{
    width: 30px;
    height: 30px;
    object-fit: contain;
    border-radius: 2px;
}
.skills-section .cells .cell span{
    font-size: 18px;
}
/*SECTION 3: Projects*/
.project-section{
    text-align: center;
    margin-bottom: 100px;
}
.project-section h2{
    font-size: 35px;
    margin-bottom: 30px;
}
.project-section .group{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    padding: 0 50px;
}
.project-section .group a{
    text-decoration: none;
    color: black;
}
.project-section .group a:hover{
    color: var(--link-color);
}
.project-section .group .project-name{
    text-align: center;
    flex: 2;
}
.project-details .group .text{
    flex: 8;

}
.project-section .group .project-name img{
    width: 390px;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}
.athena-name{
    font-size: 25px;
    font-weight: bold;
}
.project-section .group .project-name2{
    text-align: center;
    flex: 2;
}
.project-details .group .text{
    flex: 8;

}
.project-section .group .project-name2 img{
    width: 390px;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}
.mi-name{
    font-size: 25px;
    font-weight: bold;
}
.project-section .group .project-name3{
    text-align: center;
    flex: 2;
}
.project-details .group .text{
    flex: 8;
}
.project-section .group .project-name3 img{
    width: 390px;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}
.hparam-name{
    font-size: 25px;
    font-weight: bold;
}
.more-name{
    display: flex;
    justify-content: center;
    margin-top: 50px;
}
.more-name a{
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--text-color);
    color: var(--background-color);
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    transition: .2s;
}
.more-name a:hover{
    background-color: var(--link-color);
    transform: translateY(-3px);
}
.project-section .group .more-name a{
    color: var(--background-color);
}
/* SECTION 4: Contact */
.contact-section{
    padding: 0 50px;
    margin-bottom: 100px;

}
.contact-section h2{
    font-size: 35px;
}
.contact-section .group{
    display: flex;
    gap: 50px;
}
.contact-section .group .text{
    flex: 3;
    margin-top: 20px;
}
.contact-section .group form{
    flex: 3;
    display: flex;
    flex-direction: column;
}
.contact-section .group form input,
.contact-section .group form textarea{
    font-family: 'Poppins' , sans-serif;
    border: 2px solid rgb(209, 209, 209);
    background-color: transparent;
    padding: 10px;
    margin-bottom: 15px;
    outline: none;
    resize: none;
}
.contact-section .group form button{
    font-size: 16px;
    font-family: 'Poppins' , sans-serif;
    background-color: black;
    border: none;
    height: 50px;
    color: white;
    cursor: pointer;
    transition: 0.1s;
}
.contact-section .group form button:hover{
    background-color: rgb(49, 47, 47);
}
@media (max-width: 850px){
    /*SECTION 1: Hero*/
    .hero-section .text h2{
        font-size: 35px;
    }
}
@media (max-width: 740px){
    /*SECTION 1: Hero*/
    .hero-section{
        flex-direction: column-reverse;
    }
    .hero-section .headshot img{
        width: 300px;
        height: 300px;
    }
    /*SECTION 3: Projects*/
    .project-section{
        text-align: center;
    }
    .project-section2{
        text-align: center;
    }
    .project-section3{
        text-align: center;
    }
    .project-section .group{
        flex-direction: column;
    }
    .project-section2 .group{
        flex-direction: column;
    }
    .project-section3 .group{
        flex-direction: column;
    }
    /*SECTION 4: Contact*/
    .contact-section .group{
        flex-direction: column;
    }
}
@media(max-width: 600px){
    /* NAVBAR */
    nav{
        padding: 0 20px;
    }
    nav .right a{
        font-size: 22px;
    }
    nav .right a:last-child{
        color: var(--text-color);
        background-color: transparent;
        padding: 0;
    }
    nav .right a span{
        display: none;
    }
    /* SECTION 1:Hero */
    .hero-section{
        padding: 0 20px;
    }
    .hero-section .text h2{
        font-size: 30px;
    }
    /* SECTION 2: Skills*/
    .skills-section{
        padding: 0 20px;
    }
    .skills-section .cells .cell{
        font-size: 16px;
    }
    /*SECTION 3: Project*/
    .project-section{
        padding: 0 20px;
    }
    /*SECTION 4: Contact*/
    .contact-section{
        padding: 0 20px;
    }
}