/* Responsive Design */
@media (max-width: 1200px) {
  html {
    font-size: 55%;
  }

  .home-content p {
    font-size: 1.6rem;
    margin: 2rem 0 4rem;
  }
}

@media (max-width: 992px) {
  .header {
    padding: 2rem 4%;
  }

  section {
    padding: 10rem 4% 2rem;
  }



  .home-content p {
    font-size: 1.6rem;
    margin: 2rem 0 4rem;
  }

  .footer {
    padding: 2rem 4%;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 50%;
  }
  .logo {
    display: none;
  }
  .header {
    position: sticky;
    background-color: transparent;
    justify-content: end;
    opacity: 1;
  }
  .home-content {
    grid-template-columns: 4fr 1fr;
  }
  .home-content p {
    width: 100%;
  }

  #menu-icon {
    display: block;
  }

  .home-content h3 {
    font-size: 2.3rem;
  }

  .navbar {
    position: absolute;
    top: 100%;
    left: -100%;
    width: 100%;
    padding: 1rem 4%;
    background-color: var(--main-color);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
    transition: 0.25s ease;
    z-index: 1;
    transition-delay: 0.25s;
  }

  .active-nav {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    /* background-color: var(--bg-color); */
    /* border-top: 0.1rem solid rgba(0, 0, 0, 0.2); */
    z-index: -1;
    transition: 0.25s ease;
    transition-delay: 0s;
  }

  .navbar.active .active-nav {
    left: 0;
    transition-delay: 0.25s;
  }

  .navbar.active {
    left: 0;
    transition-delay: 0s;
  }

  .navbar a {
    display: block;
    font-size: 2rem;
    margin: 3rem 0;
    transform: translateX(-20rem);
    transition: 0.25s ease;
    transition-delay: 0s;
  }

  .navbar.active a {
    transform: translateX(0);
    transition-delay: 0.25s;
  }
  .img {
    display: none;
  }
}

@media (max-width: 576px) {
  .home-content {
    text-align: center;
  }

  .home-content p {
    width: 100%;
  }

  .home-content h1 {
    display: flex;
    flex-direction: column;
  }


  .home-sci a {
    width: 38px;
    height: 38px;
  }

  .footer {
    flex-direction: column-reverse;
  }

  .footer p {
    margin-top: 2rem;
    text-align: center;
  }
}



@media (max-width: 462px) {
  .home-content h1 {
    font-size: 5.2rem;
  }

  .education {
    padding: 10rem 4% 5rem 5%;
  }

  .contact form .input-box .input-field {
    width: 100%;
  }
}

@media (max-width: 300px) {
  html {
    font-size: 30%;
  }
}
