@media (max-width: 1800px) {
  html {
    font-size: 18px;
  }
}

@media (max-width: 1500px) {
  header::before {
    animation: slide 7s ease-in-out infinite alternate;
  }

  .card-container {
    grid-template-columns: repeat(2, 1fr);
  }

  @keyframes slide {
    to {
      background-position: center right;
    }
  }
}

@media (max-width: 1300px) {
  .hse-contents .records {
    font-size: 1.4rem;
  }
  html {
    font-size: 17px;
  }
  .job-card-container {
    grid-template-columns: 1fr;
    padding: 30px 5%;
  }

  .job-cards {
    justify-content: space-evenly;
  }

  .job-cards > img {
    width: 7rem;
    height: 7rem;
    border-radius: 1rem;
    transition: var(--transition);
  }

  .apply-job {
    width: 55%;
  }
}

@media (max-width: 1100px) {
  header::before {
    animation: slide 10s ease-in-out infinite alternate;
  }

  .opening-hero {
    width: 60%;
  }

  h1 {
    font-size: 3rem;
  }

  @keyframes slide {
    to {
      background-position: center center;
    }
  }
}

@media (max-width: 1014px) {
  .line-break-1 {
    display: block;
  }
}

@media (max-width: 920px) {
  html {
    font-size: 15px;
  }

  .line-break-1 {
    display: inline;
  }

  h1 {
    font-size: 2.5rem;
  }

  #about {
    flex-wrap: wrap;
  }

  .about-img {
    width: 100%;
    margin-bottom: 60px;
  }

  .card-container {
    grid-template-columns: repeat(1, 1fr);
  }
  #hse {
    flex-wrap: wrap;
  }

  .hse-img {
    width: 100%;
  }

  #careers {
    flex-wrap: wrap;
  }

  .career-img {
    width: 100%;
  }

  .contact-contents {
    flex-wrap: wrap;
  }
  .contact-contents iframe {
    width: 100%;
  }
  .info {
    width: 100%;
  }

  .footer {
    flex-wrap: wrap;
  }

  .footer > div {
    width: 100%;
    margin-bottom: 30px;
  }

  .opening-hero {
    width: 60%;
  }

  #feature-section {
    flex-wrap: wrap;
    gap: 7rem;
  }

  .features-list {
    width: 100%;
    padding-left: 2rem;
  }

  .faq {
    width: 100%;
    padding-left: 2rem;
  }

  .job-detail {
    width: 70%;
  }

  .apply-job {
    width: 70%;
  }

  .button-container {
    flex-wrap: wrap;
    gap: 15px;
  }

  .btn {
    width: 100%;
    text-align: center;
    padding: 15px 0;
  }

  .job-buttons {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    text-align: center;
  }
}

@media (max-width: 712px) {
  html {
    font-size: 15px;
  }

  .line-break-1 {
    display: block;
  }

  .hero p {
    display: none;
  }

  .opening-hero {
    width: 70%;
  }

  .job-cards {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .job-detail {
    width: 90%;
  }

  .job-cards {
    flex-direction: column;
  }

  .apply-job {
    width: 90%;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 3.3rem;
  }

  #feature-section {
    margin: 5rem 2%;
  }
  .type-text {
    margin: 0.5rem 0;
  }

  .job-cards h3 {
    font-size: 1.8rem;
  }

  .opening-hero {
    width: 90%;
  }

  .job-detail {
    width: 100%;
    height: 100%;
  }

  #services {
    padding: 100px 5%;
  }

  .contact-section iframe,
  .info {
    width: 100%;
  }
}

@media (max-width: 500px) {
  html {
    font-size: 13px;
  }

  .line-break-1 {
    display: inline;
  }

  .hero p {
    font-size: 1.8rem;
  }

  .filters {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .search {
    width: 100%;
  }

  .filters {
    margin-bottom: 1rem;
  }

  .custom-select {
    padding: 0.3rem 1rem;
  }

  .apply {
    padding: 8px 0;
  }

  .types {
    width: 100%;
    font-size: 1rem;
  }

  .job-detail {
    font-size: 1.3rem;
  }
  .job-cards {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .job-buttons {
    gap: 1rem;
  }
}

@media (max-width: 405px) {
  .line-break-2 {
    display: inline;
  }

  .job-detail {
    font-size: 1.2rem;
  }
  
  .tags span {
    padding: 5px 3px;
  }
}

@media (max-width: 365px) {
  .job-cards {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .apply-job {
    width: 100%;
  }
  .tags {
      flex-wrap: wrap;
  }
}

@media (max-height: 600px) {
  .hero h1 {
    font-size: 3rem;
  }

  .hero p {
    display: none;
  }

  .opening-hero p {
    display: none;
  }
}
