@charset "UTF-8";

/* FULL */
@media screen and (min-width: 1024px) {
  /* Query Rules */
  .media-mobile {
    display: none !important;
  }
  .media-medium {
    display: none !important;
  }
  .media-not-desktop {
    display: none !important;
  }
}

/* REDUCED */
@media screen and (max-width: 1023px) {
  /* Query Rules */
  .media-desktop {
    display: none !important;
  }

  footer {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .feature:nth-child(2) {
    border-top: solid 2px var(--old-white);
    border-bottom: solid 2px var(--old-white);
    border-right: 0px;
    border-left: 0px;
  }  
  .grid-2-cols, .grid-3-cols { --cols: 1; }

  #corporative items {
    --cols: 1;
  }
  #hero-overlay {
    grid-template-rows: 1fr auto;
  }
  #index-menu {
    display: none;
  }
}

/* MEDIUM */
@media screen and (min-width: 801px) and (max-width: 1023px) {
  /* Query Rules */
  .media-mobile {
    display: none !important;
  }
  .media-not-medium {
    display: none !important;
  }

  footer aside {
    grid-template-columns: repeat(3, auto);
  }

  .grid-4-cols { --cols: 3; }

  #quotes-carousel items {
    --cols: 2;
  }
}

/* MOBILE */
@media screen and (max-width: 800px) {
  /* Query Rules */
  .media-desktop {
    display: none !important;
  }
  .media-medium {
    display: none !important;
  }
  .media-not-mobile {
    display: none !important;
  }

  footer aside {
    grid-template-columns: 1fr;
    grid-auto-flow: row;
  }
  h2 {
    font-size: 2.2em;
  }
  
  h3 {
    font-size: 1.5em;
  }
  h4 {
    margin: 0.2em 0;
    font-size: 1.25em;
  }

  .content {
    font-size: 1.18em;
  }
  .feature {
    padding: 4rem;
  }
  .grid-4-cols { --cols: 2; }

  #gallery-popup slideshow {
    height: 90vh;
    width: 100vw;
  }
  #quotes-carousel items {
    --cols: 1;
  }
}

/* Browser exclusive */
@-moz-document url-prefix() {
  #corporative items {
    overflow-x: scroll;
    scrollbar-color: var(--old-white) transparent;
    scrollbar-width: thin;
  }
  #corporative carousel :where(button[type="prev"], button[type="next"]) {
    top: 99.75%;
    animation: fadeout 0.5s 2.5s forwards;
  }
}
