/* GENERAL */
:root{
    --text-color: #1a1c20;
    --link-color: #4a76ee;
    --background-color: #eeeff1;
}
*{
    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;
}
/* GENERAL */
/* NAV */
nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    height: 80px;
}
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;
}
/* NAV */

/* MAIN */
/* SECTION HERO */
.hero-section{
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
    margin:50px 0;
    align-items: center;
    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{
   border-radius: 50%;
   width: 350px;

}
/* SECTION HERO */
/* SKILLS */
#skills
{
    padding: 0 50px;
    margin-bottom: 100px;

}
#skills h2{
    text-align: center;
    font-size:35px ;
}
#skills .text{
    text-align: center;
    margin-bottom: 20px;
}
#skills .cells{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
#skills .cells .cell{
    display: flex;
    justify-content: center;
    align-items: center;
    gap:10px;
    width:200px;
    padding: 10px 20px;
    margin: 10px;
    border: 1.5px solid grey; 
    border-radius: 5px;
}
#skills .cells .cell span{
    font-size: 18px;
}
#skills .cells .cell img{
    width: 20px;
    height: 30px;
    object-fit: contain;
    border-radius: 2px;

}
/* SKILLS */
/* TESTOMONY */
.test
{
    padding: 0 50px;
    margin-bottom: 100px;

}
.test h2{
    font-size: 35px;
    text-align: center;
    margin-bottom: 20px;
}
.test .group{
    display: flex;
    align-items: center;
    gap: 50px
}
.test .group .person-details {
    flex: 2;
    text-align: center;
}
.test .group .person-details img{
    aspect-ratio: 1/1;
border-radius: 50%;
width: 200px;
object-fit: cover;
margin-bottom: 10px;
}
.test .group .person-details p{
font-weight: 600;
}
.test .group .person-details p:last-child{
font-weight: normal;
}
.test .group .text{
    flex: 8;
}
/* TESTOMONY */
/* Contact */
.contact{
    padding: 0 50px;
    margin-bottom: 100px;
}
.contact h2{
    font-size: 35px;
    text-align: center;
    margin-bottom: 10px;
}
.contact .group{
    display: flex;
    align-items: center;
    gap: 50px;
}
.contact .group .text{
    flex: 3;
}
.contact .group  form{
    flex: 3;
    display: flex;
    flex-direction: column;
}
.contact .group  form input,
.contact .group  form textarea
{
font-family: 'Poppins', sans-serif;
border: 2px solid var(--link-color);
background-color: transparent;
padding: 10px;
margin-bottom: 15px;
resize: none;
outline: none;
}
.contact .group  form button{
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    background-color: var(--link-color);
    border:none;
    height: 50px;
    cursor: pointer;
    transition: .13;
}
.contact .group  form button:hover{
filter: brightness(.9)
}
/* Contact */
/* MAIN */

















/* RESPONSIVE */
@media (max-width: 850px){
/* SECTION HERO */
.hero-section .text h2{
    font-size: 35px;
}
}
@media (max-width: 740px){
/* SECTION HERO */
.hero-section {
    flex-direction: column-reverse;
    /* font-size: 35px; */
}
.hero-section .headshot img{
    width: 300px;
}
/* test */
.test{
    text-align: center;
}
.test .group{
    flex-direction: column;
}
/* contact section */
.contact .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);
        padding: 0;
        background-color: var(--background-color);
    }
    nav .right a span{
        display: none;
    }
/* HERO SECTION */
.hero-section{
    padding: 0 20px;
    font-size: 24px;
}
.hero-section .text h2{
    font-size: 30px;
}
/* SKILLS SECTION */
#skills{
    padding:0 20px ;
}
#skills .cells .cell span{
    font-size: 16px;
}
/* test */
.test{
    padding: 0 20px;
}
/* contact section */
.contact .group{
    padding: 0 20px;
}
}




@media (max-width: 350px) {
nav {
padding: 0 10px;
}
nav .right a {
    margin: 0 5px;
}
.hero-section.text h2{
font-size: 28px;
}
.hero-section.text p{
font-size: 20px;
}
.hero-section .headshot{
    justify-content: center;
}
.hero-section .headshot img{
    width: 250px;
}
}
/* RESPONSIVE */