: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;
    color: var(--text-color);
    background-color: var(--background-color);
    max-width: 1400px;
    margin: 0 auto;
  }

  a {
    color: var(--link-color);
    text-decoration: none;
  }
  
  /* NAVBAR */
  nav .logo-icon {
    
    align-items: center;
    height: 35px;
    object-fit: contain;
    vertical-align: middle;
    outline: #2c57cf 20px;
  }
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
  
    padding: 0 10px;
    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;
  }
  
  /* SECTION 1: Hero */
  .hero-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    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);
    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;
    border-radius: 50%;
  }
  
  /* SECTION 2: Skills */
  .skills-section {
    padding: 10px 15px;
    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;
  }
  
  /* SECTION 3: project section */
  .project-section h1 {
    text-align: center;
    font-size: 35px;
    
  }
  .project-section h2 {
    margin-top: 10px;
    outline: #5e5c5c 2px;
    padding: 15px;
    border: 2px solid #9c9b9b;
    border-radius: 12px;
    margin-bottom: 10px;
  }
  
  .project-section{
    padding: 10px 10px;
  
  }
  .project-section .cell img {
    width: 100%;      
    max-width: 560px;
    height: auto;
    display: block;
    margin: 10px auto;
    border-radius: 8px;
  }
.project-section nav {
  padding: 15px 15px;

}

.project-section .cells {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.project-section .cell {
  flex: 1 1 30px;
  max-width: 45%;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  padding: 10px;
  border-radius: 10px;
  background-color: #fff;
}

.project-section .cell img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

/* section 4 coding profiles */

.coding-section{
  padding: 10px 15px;
  margin-bottom: 10px;

}
.coding-section h2 {
  text-align: center;
  font-size: 35px;
  margin-bottom: 10px;
}

.coding-section .text {
  text-align: middle;
  margin-bottom: 20px;
}

.coding-section .cells {
  display:flex;
  flex-wrap: wrap;
}

.coding-section .cells .cell {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 10px 20px;
  margin: 20px;
  vertical-align: middle;
  border-radius: 5px;
  border: 1.5px solid #c0c0c0;
}

.coding-section .cells .cell img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  vertical-align: middle;
  
}
  @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;
    }
  
    /* SECTION 3: My Projects */
    .project-section {
      text-align: center;
    }
  
    .project-section .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 span {
      font-size: 16px;
    }
  
    /* SECTION 3: My Projects */
    .project-section .cell {
      max-width: 100%;
    }
  
    /* SECTION 4: Conding-section */
    .coding-section {
      padding: 0 20px;
    }
  }