/* ==========================================================================
   Responsive styles
   ========================================================================== */

/* Wide Screens */

@media (min-width: 1920px) and (max-width: 2560px) {
  .container {
    max-width: 1920px;
    margin: 0px auto;
  }
}

/* Desktop */

@media (max-width: 1600px) {
}

/* Desktop Small */

@media (max-width: 1400px) {
}

/* Laptop */

@media screen and (min-device-width: 768px) and (max-device-width: 1600px) {
  .container {
    width: 90% !important;
  }

  .hero-video {
    transform: scale(0.85);
  }

  h1 {
    font-size: 64px;
    line-height: 58px;
  }

  h2 {
    font-size: 42px;
    line-height: 46px;
  }

  h3 {
    font-size: 28px;
    margin-bottom: 10px;
  }

  h4 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  p {
    font-size: 14px;
    line-height: 18px;
  }
}

/* Tablet Landscape */

@media (max-width: 1024px) {
  .hero-video video,
  .hero-text {
    width: 80%;
  }

  h2 {
    font-size: 32px;
    line-height: 36px;
  }

  .big-type {
    font-size: 18px;
    line-height: 20px;
  }

  .panel img {
    max-width: 300px;
  }

  .stack-1 img,
  .stack-2 img,
  .stack-3 img,
  .stack-4 img {
    left: calc(50% - 150px);
  }

  .stack-3 img {
    top: 28vh;
  }
}

/* Tablet Portrait */

@media (max-width: 980px) {
}

/* Macbook 13 Inch */

@media (min-device-width: 700px) and (max-device-width: 1200px) {
}

/* Mobile Landscape */

@media (max-width: 768px), (orientation: landscape) and (max-height: 500px) {
  section {
    height: inherit;
  }

  h1 {
    font-size: 54px;
    line-height: 56px;
  }

  h2 {
    font-size: 44px;
    line-height: 48px;
  }

  #nav-icon {
    display: block;
    z-index: 999;
  }

  header .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 0;
    height: 100vh;
    background: var(--color-secondary);
    transition: width 0.4s;
    z-index: 9;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    padding: 0;
  }

  header .nav.open {
    width: 100vw;
  }

  header .nav li {
    display: block;
    margin: 20px auto;
    text-align: center;
    width: 70vw;
  }

  header .nav li a {
    display: block;
    padding: 15px;
    font-size: 24px;
    z-index: 9999;
  }
  .container-small {
    width: 80%;
  }

  .hero,
  .third {
    flex-direction: column-reverse;
  }

  .second {
    flex-direction: column;
  }

  .w-40,
  .w-50 {
    width: 90% !important;
    margin: 0px auto;
  }

  .astronaut-container {
    display: none;
  }

  .hero-content {
    text-align: center;
  }

  .hero-feature {
    position: relative;
    top: 10vh;
  }

  .content {
    text-align: center;
  }
}

@media (orientation: landscape) and (max-height: 500px) {
}

/* Mobile Large */

@media (max-width: 642px) {
  h1 {
    font-size: 34px;
    line-height: 36px;
  }

  h2 {
    font-size: 30px;
    line-height: 32px;
  }

  h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  h4 {
    font-size: 16px;
    margin-bottom: 10px;
  }

  p {
    font-size: 14px;
    line-height: 16px;
  }

  .container {
    flex-direction: column;
    width: 90% !important;
  }

  .hero p {
    margin-bottom: 20px;
  }

  header {
    display: flex;
    justify-content: center;
  }

  header .container {
    margin: 0;
    display: flex;
    align-items: flex-start;
  }

  .hero-title {
    animation: none;
  }

  .hero-title h1 {
    margin-bottom: 10px;
  }

  .hero-video::before {
    display: none;
  }

  .forth .wrapper {
    display: flex;
  }

  .hero .container {
    flex-direction: column-reverse;
  }

  .hero-text {
    position: absolute;
    width: 300px;
    height: 260px;
  }
  .feature-container {
    flex-direction: column;
    max-width: 300px !important;
  }
  .feature-item {
    flex-direction: row !important;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    margin-right: 0px !important;
  }
  .icons-large img {
    width: 50px;
    height: 50px;
  }

  .f-grid-half {
    grid-template-columns: 100%;
    column-gap: 0;
  }
}

/* Mobile Small */
@media (max-width: 375px) {
  h1 {
    font-size: 34px;
    line-height: 36px;
  }

  h2 {
    font-size: 30px;
    line-height: 32px;
  }
}
