: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)
}

a {
color: var(--link-color);
text-decoration: none;
}

/* navbar */
nav {
display: flex;
justify-content: space-between;
padding: 0 40px;
height: 80px;
align-items: center;
}

nav .left {
display: flex;
margin-bottom: 1px;
}
nav .left a {
margin-top: 2px;
 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;
}

.hero-section {
display: flex;
justify-content: space-between;
padding: 0 50px;
margin: 50px 0;
align: center;
gap: 40px;
}

.hero-section .text {
flex: 5;
}
.hero-section .text h2 {
font-size: 35px;
}

.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: 14px;
margin-bottom: 2px;
}

.hero-section .text .links a:hover {
color: var(--text-color);
}

.hero-section .headshot img {
#border-radius: 50%;
#width: 100px;
border: 3px solid ;


}
.hero-section .headshot {
flex: 3;
display: flex;
justify-content: right;
margin-top: 1px;
filter: brightness(.80);
padding: 0 90px;
}

.skills-section {
padding: 0 50px;
margin-bottom: 100px;
}

.skills-section h2 {
text-align: center;
font-size: 30px;
margin-top: 0;
}

.skills-section a {
font-family: 'Poppins', 'sans-serif';
font-size: 30px;
display: flex;
}

@media (max-width: 850px)
{
.hero-section .text .h2 {
 font-size: 30px;
}
}
.skills-section .cells {
display: flex;
justify-content: center;
flex-wrap: wrap;
}

.skills-section .cells .cell {
display: flex;
align-items: left;
width: 200px;
padding: 10px 10px;
border: 0.5px solid #d3d3d3;
border-radius: 2px:
margin: 5px;
}

.skills-section .cells .cell img {
width: 200px;
height: 100px;
object-fit: contain;
border-radius: 2px;
}

.contact-section {
padding: 0 50px;
margin-bottom: 100px;
}

.contact-section h2 {
font-size: 30px;
}

.contact-section .group {
display: flex;
gap: 50px;
}

.contact-section .group .text {
flex: 3;
margin-top: 5px;

}

.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: 3px;
margin-bottom: 15px;
outline: none;
resize: none;
}

.contact-section .group form button {
font-size: 16px;
font-family: 'Poppins', 'sans-serif';
color: #fff;
background-color: var(--link-color);
height: 30px;
cursor: pointer;
transition: .2s;
}
.contact-section .group form button:hover {
filter: brightness(.9);
}

@media (max-width: 700px)
{
.hero-section  {
 flex-direction: column-reverse;
}
}

.hero-section .headshot img {
width: 300px;
}

@media (max-width: 600px)
nav {
padding: 0 20
}

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
}

#timeline {
  padding: 2rem;
  text-align: center;
}

.timeline-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  margin-top: 3rem;
  padding-top: 2rem;
}

.timeline-container::before {
  content: "";
  position: absolute;
  top: 2.5rem;
  left: 0;
  right: 0;
  height: 4px;
  background-color: #3367d6;
  z-index: 1;
}

.timeline-block {
  position: relative;
  width: 30%;
  padding-top: 1rem;
  z-index: 2;
}

.timeline-point {
  background-color: #3367d6;
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 20px;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.timeline-desc {
  font-size: 0.9rem;
  color: #555;
}





/*
.resume-link {
  background: #3367d6;
  color: white;
  padding: 0.6rem 1rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  display: inline-block;
  margin-top: 0.5rem;
  justify-content: left;
}
*/