/* Navbar */

@media screen and (min-width: 50px) and (max-width: 1024px) {
  .navbar {
    flex-direction: column;
    position: relative;
    padding: 2rem;
    justify-content: center;
    align-items: center;
    height: auto;
    min-height: 100px;

  }

  .container-icon {
    width: 100%;
    max-width: 20%;
    position: absolute;
    top: 30px;
    left: 15px;
  }

  .icon {
    max-width: 100px;
  }

  .menu {
    display: block;
    position: absolute;
    right: 20px;
    top: 30px;
  }

  .list-item {
    display: block;
  }

  .nav-list {
    list-style-type: none;
    width: 100%;
    text-align: center;
    padding: 10px;
    display: none;
    margin-top: 5rem;
  }

  .active {
    display: block;
  }

  .extra {
    display: none;
  }

}

/* Main Page */

@media (min-width: 300px) and (max-width: 767px) {
  main {
    flex-direction: column;
  }

  .overlay {
    top: 40%;
    left: 50%;
    width: 98%;
  }

  .overlay section:nth-child(2) {
    display: flex;
    flex-direction: column;
    gap: 1rem;

  }

  .containers {
    flex-direction: column;
  }
}

/* Our Story Container */

@media (min-width: 300px) and (max-width: 767px) {
  .our-story-container section {
    flex-direction: column;
    gap: 2rem;
  }

  .column-reversed {
    flex-direction: column-reverse !important;
  }

  .our-story-extra article {
    flex-direction: column;
  }
}

/* Services */

@media (min-width: 300px) and (max-width: 767px) {
  .coal-delivery-options {
    flex-direction: column;
    gap: 2rem;
  }
}

/* Contact */

@media (min-width: 300px) and (max-width: 767px) {}

/* FAQ */

@media (min-width: 300px) and (max-width: 767px) {

  .faq section {

    flex-direction: column;

  }
}

/* Testimonial */

@media (min-width: 300px) and (max-width: 767px) {
.testimonial-container {
    padding: 0;
  }

  .testimonial {
    width: 350px;
    margin-right: 10px;
  }


}

/* Footer */

@media (min-width: 300px) and (max-width: 767px) {
  footer {
    flex-direction: column;
  }
}

@media (max-width: 768px) and (orientation: portrait) {

  .contact-section {
    flex-direction: column;
  }

  .extra-story {
    flex-direction: column;
  }

}


/* Extra small devices (phones, 0px and up) */
@media (min-width: 0px) and (max-width: 599px) {
  /* Styles for extra small devices */
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media (min-width: 600px) and (max-width: 767px) {
  /* Styles for small devices */
}

/* Medium devices (landscape tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 1023px) {
  /* Styles for medium devices */
}

/* Large devices (laptops/desktops, 1024px and up) */
@media (min-width: 1024px) and (max-width: 1439px) {
  /* Styles for large devices */
}

/* Extra large devices (large laptops and desktops, 1440px and up) */
@media (min-width: 1440px) {
  /* Styles for extra large devices */
}
