@media (min-width: 1450px) {
}

@media (max-width: 950px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__image-wrapper {
    grid-row: 1;
    justify-self: center;
  }

  .hero__text-container {
    justify-self: center;
    max-width: 50rem;
  }

  .hero__heading {
    text-align: center;
  }

  .hero__heading-text {
    margin-bottom: 4rem;
  }

  .hero__subheading {
    text-align: center;
    width: 100%;
  }

  .hero__btn {
    margin-left: 0;
    margin: 0 auto;
  }

  .project-box {
    flex-direction: column-reverse;
  }

  .project-box:nth-child(even) {
    flex-direction: column;
  }
}

@media (max-width: 740px) {
  #hero {
    padding-top: 6rem;
  }
  .menu__btn {
    display: flex;
  }

  #header {
    display: none;
  }

  #header.show {
    display: inline-block;
  }

  body.show {
    overflow: hidden;
  }

  .header__container {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
  }

  .nav__list {
    display: flex;
    flex-direction: column;
    margin-top: 8rem;
    gap: 5rem;
    font-size: 3rem;
  }

  .project-boxes__container {
    gap: 4rem;
  }

  .project__image-wrapper {
    max-width: 100%;
  }
}

@media (max-width: 570px) {
  #hero,
  #skills-tools,
  #projects,
  #about {
    padding: 6rem 0;
  }

  .secondary-heading {
    margin-bottom: 4rem;
    font-size: 2.8rem;
  }

  .tertiary-heading {
    font-size: 2.8rem;
  }

  .hero__image-wrapper {
    width: 85%;
  }

  .hero__heading {
    font-size: 4.4rem;
  }

  .hero__background-circle-sm,
  .hero__background-circle-md,
  .hero__background-circle-lg {
    display: none;
  }

  .project-box {
    padding: 4rem 4rem;
  }

  .project-box__btns {
    gap: 1.2rem;
  }

  .project__btn {
    font-size: 1.8rem;
  }
}

@media (max-width: 500px) {
  .center-section {
    padding: 0 2rem;
  }

  .project__btn {
    font-size: 1.6rem;
  }

  .about__text {
    padding: 0 2rem;
  }
}

@media (max-width: 470px) {
  .nav__list {
    font-size: 2.6rem;
  }

  .hero__grid {
    gap: 2.6rem;
  }

  .project-boxes__container {
    gap: 2rem;
  }

  .project-box__btns {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .project__btn {
    max-width: none;
    width: 24rem;
  }
}

@media (max-width: 425px) {
  #hero,
  #skills-tools,
  #projects,
  #about {
    padding: 4rem 0;
  }

  .secondary-heading {
    margin-bottom: 3rem;
  }

  .hero__heading {
    font-size: 3.6rem;
  }

  .hero__subheading {
    font-size: 1.8rem;
    line-height: 1.6;
  }

  .hero__btn {
    font-size: 1.8rem;
  }

  .skill__name {
    font-size: 1.8rem;
  }

  .project-box__description {
    font-size: 1.6rem;
    line-height: 1.6;
  }

  .about__legend {
    font-size: 1.8rem;
    margin-bottom: 4rem;
  }

  .about__text {
    font-size: 1.6rem;
  }
}

@media (max-width: 365px) {
  .hero__heading {
    font-size: 3.2rem;
  }

  .hero__btn {
    font-size: 1.6rem;
  }

  .secondary-heading {
    font-size: 2.6rem;
  }

  .tertiary-heading {
    font-size: 2.4rem;
  }

  .skills__grid-box {
    padding: 4rem 2rem;
  }

  .skills__header {
    font-size: 2.4rem;
  }

  .project-box {
    padding: 3rem 2.4rem;
  }

  .project__btn {
    width: 20rem;
  }

  .about__text {
    padding: 0 1rem;
  }
}
