@media screen and (max-width: 992px) {
  .hero {
    padding: 0 1rem 2rem;
  }

  .container {
    padding-inline: 1rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

  .welcome-intro {
    order: 2;
    text-align: center;

    p {
      font-size: 16px;
    }
  }

  .tech-skills {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    grid-template-rows: auto 1fr;

    .primary-skills,
    .secondary-skills {
      grid-template-rows: subgrid;
      grid-row: span 2;
    }
  }
}

@media screen and (max-width: 575px) {
  .tech-skills {
    padding-block-end: 2rem;

    .skill {
      strong {
        font-size: 1rem;
      }

      span {
        font-size: 0.7rem;
      }
    }
  }

  .footer {
    .footer-inner {
      grid-template-columns: 1fr;
    }

    ul.footer-text,
    .icons {
      justify-content: center;
    }
  }

  #back-top-top {
    bottom: 5rem;
  }
}
