.root{
  --text-color:#1a1c20;
  --link-color:#4a76ee;
  --background-color:#eeeff1;
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

body{
  background-color: var(--background-color);
  font-family: 'Poppins', sans-serif;
}

a{
  color: var(--link-color);
  text-decoration: none;
}
/*Navbar*/
nav{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 50px;
  height: 80px;
  background-color: var(--text-color);
}
nav .left{
  display: flex;
  align-items: center;
}
nav .left img{
  height: 30px;
  width: 30px;
  vertical-align: center;
  border-radius: 100%;
}
nav .left a{
  color: var(--background-color);
  font-size: 22px;
  font-weight: 600;
  top: 10px;
  margin-left: 10px;
}

nav .right a{
  color: var(--background-color);
  margin: 0 10px;
}

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;
  margin-bottom: 100px;
  gap: 40px;
}
.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)!important;
  border-radius: 5px;
  margin-right: 10px;
  margin-bottom: 10px;
  transition: 0.1s;
}
.hero-section .text .links a:hover{
  color: var(--text-color);
  border: 2px solid var(--text-color)!important;
}
.hero-section .headshot {
  flex: 2;
  display: flex;
  justify-content: right;
}
.hero-section .headshot img{
  border-radius: 50%;
  width: 350px;
}
/*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;
  gap: 10px;
  width:200px;
  padding: 10px 20px;
  margin:10px;
  border: 1.5px solid #d3d3d3;
  border-radius: 5px;
}
.skills-section .cells .cell img{
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: 2px;
}
.skills-section .cells .cell span{
  font-size: 18px;
}





@media (max-width: 800px) {
  /*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;
  }
}


@media (max-width: 600px) {
  /*nav bar mobile*/
  nav{
    padding: 0 20px;
  }
  nav .right a{
    font-size: 22px;
  }
  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 span{
    font-size: 16px;
  }
}
