:root {
    --text-color: #1a1c20;
    --link-color: #4a76ee;
    --background-color: #ffffff;
  }
  
  * {
    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);
    width: 100%;
    margin: 0;
    padding: 0 20px;
  }
  
  
  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 .nav-links {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
  }


  nav .logo {
    font-size: 28px; 
  }

  nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  
  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 .nav-links a {
    font-size: 22px; 
  }

  nav .nav-links i {          
    font-size: 1.1em;
  }

  nav .nav-links span {       
    margin-left: 4px;
    font-size: 1em; 
  }
  
  /* 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);
    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: 0 50px;
    margin-bottom: 100px;
  }
  
  .skills-section h2 {
    font-size: 35px;
  }

  .skills-section h3 {
    font-size: 25px;
  }
  
  .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;
  }

  .skills-section .category {
    margin-bottom: 40px;
  }
  
  .skills-section .category h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--link-color);
  }
  
  .skills-section .cell-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  /*Certification*/
  .certification-section {
    padding: 0 50px;
    margin-bottom: 100px;
  }

  .certification-section h2 {
    font-size: 35px;
  }

  .certification-section h3 {
    font-size: 25px;
  }
  
  /* SECTION 3: Projects */

  .projects-section {
    padding: 0 50px;
    margin-top: 80px;
    margin-bottom: 100px;
  }

  .projects-section .projects {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
  }

  .projects-section h2 {
    font-size: 35px;
    margin-bottom: 1rem;
  }
  
  .projects-section .project-card {
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 20px;
    width: 300px;
    text-align: center;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  .projects-section .project-card h3 {
    margin-bottom: 10px;
    font-size: 24px;
  }
  
  .projects-section .project-card p {
    font-size: 16px;
    color: #555;
  }
  /* SECTION 4: Contact */
  .contact-section {
    padding: 0 50px;
    margin-bottom: 100px;
  }
  
  .contact-section h2 {
    font-size: 35px;
  }
  
  .contact-section .group {
    display: flex;
    flex-direction: column;
    gap: 50px;
  }
  
  .contact-section .group .text {
    flex: 3;
    margin-top: 20px;
  }
  
  .contact-section .group form {
    flex: 3;
    display: flex;
    flex-direction: column;
    max-width: 400px;
    width: 100%;
    margin: 0;
  }
  
  .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: #fff;
    background-color: var(--link-color);
    border: none;
    height: 50px;
    cursor: pointer;
    transition: .1s;
  }
  
  .contact-section .group form button:hover {
    filter: brightness(.9);
  }

  .contact-section .group form button:disabled {
    cursor: wait;
    opacity: .65;
  }

  .honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }

  #form-status {
    min-height: 1.5rem;
    margin-top: 10px;
  }

  .connect-image {
    width: 150px;
    height: auto;
    object-fit: contain;
  }
  
  .form-area {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  .contact-section .group form {
    width: 100%;
    max-width: 400px;
  }
  
  @media (max-width: 1280px) {
    body {
      max-width: 1100px;
    }
  
    nav {
      padding: 0 30px;
    }
  
    .hero-section, 
    .skills-section,
    .certification-section,
    .projects-section,
    .contact-section {
      padding: 0 30px;
    }
  
    .hero-section .text h2 {
      font-size: 40px;
    }
  
    .skills-section .skills-list li,
    .certification-section .skills-list li {
      font-size: 16px;
    }
  }
  
  @media (max-width: 850px) {
    .hero-section {
      flex-direction: column-reverse;
      text-align: center;
    }
  
    .hero-section .headshot {
      justify-content: center;
    }
  
    .hero-section .headshot img {
      width: 250px;
    }
  
    nav .nav-links span {
      display: none;
    }
  }
  
  @media (max-width: 600px) {
    body {
      padding: 0 15px;
    }
  
    nav {
      padding: 0 15px;
    }
  
    .hero-section .text h2 {
      font-size: 28px;
    }
  
    .skills-section h2,
    .certification-section h2,
    .projects-section h2,
    .contact-section h2 {
      font-size: 30px;
    }
  
    .skills-section .skills-list li,
    .certification-section .skills-list li {
      font-size: 14px;
    }
  
    .cert-btn {
      padding: 3px 8px;
      font-size: 12px;
    }
  }
