:root{
    --text-color: #443428;
    --background-color: #f4f1ee;
    --link-color: #397367;

}
*{
    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;
   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(--link-color);
background-color: var(--text-color);
padding: 5px 15px;
border-radius: 5px;
}
nav .right a span{
    margin-left: 5px;
}
/*section 1: Hero Section */
.hero-section{
    display: flex;
    justify-content: space-between;
    padding: o 50px;
    margin: 50px 0;
    align-items: center;
    gap: 40px;
    margin-bottom: 10px;
}

.hero-section .text{
    flex: 5;
    margin-left: 15px;
    
}
.hero-section .text h2{
    font-size: 45px;
}

.hero-section .text .length{
    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-left: 0px;
    margin-bottom: 10px;
    transition: 0.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;
    margin-right: 50px;
}

.hero-section .headshot img{
    border-radius: 50%;
    width: 375px;
    height: 375px;
}


/* section 2: Skills */
.skills-section{
    padding: 0px 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;
gap: 10px;
border-radius: 10px;

width: 200px;
padding: 10px 20px;
margin: 10px;
border: 1px solid #74695c;
}
.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: Testimoney */
.testimony-section{
    padding: 0px 50px;
    margin-bottom: 100px;
}
.testimony-section h2{
    font-size: 35px;
    margin-bottom: 30px;
}
.testimony-section .group{
    display: flex;
    gap: 50px;
    align-items: center;
   
}

.testimony-section .group .person-details{
    text-align: center;
    flex: 2;
}
.testimony-section .group .person-details img{
   aspect-ratio: 1/1;
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    height: auto;
    object-fit: cover;
    margin-bottom: 10px;
    

}
.testimony-section .group .person-details p{
    font-weight: 600;
}
.testimony-section .group .person-details p:last-child{
    font-weight: normal;

}
/*section 4: contact section */
.contact-section{
    padding: 0px 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 var(--link-color);
    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;
    color: whitesmoke;
    background-color: var(--link-color);
    border: none;
    height: 50px;
    cursor: pointer;
    transition-duration: 0.1s;

}
.contact-section .group .form button:hover{
    filter:brightness(10%)
}
@media(max-width:850px) {
    /*section 1: Hero Section */
    .hero-section .text h2{
        font-size: 35px;
    }
}

@media(max-width:740px) {
    /*section 1: Hero Section */
    .hero-section{
        flex-direction: column-reverse;
    }

     .hero-section.headshot.img{
        width: 300px;
    }
    /* section 3: Testimoney */
    .testimony-section {
        text-align: center;

    }
    .testimony-section .group{
        flex-direction: column;
        align-items: center;
    }
    /*section 4: contact Section */
    .contact-section .group{
       flex-direction: column; 
    }
}
@media(max-width:600px) {
    /* Responsive 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 Section */
    .hero-section{
        padding: 0 20px;  

}

    .hero-section .text h2{
        font-size: 30px;
    }

/* section 2: Skills */
.skills-section{
    padding: 0px 20px;
}
.skills-section .cells .cell span{
    font-size: 16px;
}
/*section 3: Testimoney */
.testimony-section{
    padding: 0px 20px;
}
/*section 4: contact section */
.contact-section{
   padding: 0px 20px;

}
}