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

/* Wide Screens */

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

/* Desktop */
@media (max-width: 1600px) {
  h1 {
    font-size: 54px;
    line-height: 100%;
  }

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

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

  h4 {
    font-size: 32px;
    line-height: 100%;
  }

  h5 {
    font-size: 20px;
    line-height: 130%;
  }

  p,
  a {
    font-size: 15px;
  }

  .paragraph--large {
    font-size: 18px;
    line-height: 120%;
  }

  .text-large {
    font-size: 22px;
    line-height: 28px;
  }

  .ppc-hero .icon-grid {
    width: 90%;
  }

  .btn {
    padding: 15px 20px 15px 20px;
  }

  .google-review {
    padding: 20px;
    min-height: 250px;
  }

  .transilvania .headline,
  .check-item {
    width: 90%;
    box-sizing: border-box;
  }

  .ppc-quick-call .container-block {
    min-height: 300px;
  }

  .ppc-quick-call .column-half:first-child {
    padding: 2% 2%;
  }

  .accordion h5 {
    font-size: 15px;
  }
}

/* Desktop Small */

@media (max-width: 1400px) {
  .hero-label {
    font-size: 16px;
  }

  h1 {
    font-size: 42px;
    line-height: 100%;
  }

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

  h3 {
    font-size: 32px;
    line-height: 100%;
  }

  h4 {
    font-size: 28px;
    line-height: 100%;
  }

  h5 {
    font-size: 20px;
    line-height: 130%;
  }

  .ppc-hero .icon-grid {
    width: 100%;
  }

  .ppc-hero .icon-grid p {
    font-size: 14px;
  }

  .btn {
    font-size: 13px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .container {
    width: 95%;
  }

  .hero-label {
    margin-top: 15%;
  }

  h1 {
    font-size: 42px;
    line-height: 120%;
  }

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

  h3 {
    font-size: 32px;
    line-height: 100%;
  }

  h4 {
    font-size: 28px;
    line-height: 100%;
  }

  h5 {
    font-size: 20px;
    line-height: 130%;
  }

  .dark-overlay {
    padding: 3% !important;
  }

  .dark-overlay .btn-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .dark-overlay .btn-container > .btn {
    margin-bottom: 10px;
  }

  .dark-overlay .btn-container .btn {
    min-width: 250px;
  }
}

/* Tablet Portrait */

@media (max-width: 980px) {
  .hide-mobile {
    display: none;
  }

  .mobile-column {
    flex-direction: column !important;
    align-items: center;
  }

  .mobile-column-reverse {
    flex-direction: column-reverse !important;
    align-items: center;
  }

  .column-half,
  .column-half.no-whitespace {
    width: 100%;
  }
}

/* Mobile Landscape */

@media (max-width: 768px), (orientation: landscape) and (max-height: 500px) {
  .hide-mobile {
    display: none !important;
  }

  .show-mobile {
    display: block !important;
  }

  .mobile-f-dir-col {
    flex-direction: column;
  }

  .mobile-f-dir-col-rev {
    flex-direction: column-reverse;
  }

  .menu-container {
    width: 0px;
  }

  .menu-start {
    width: 100%;
  }

  .logo img {
    height: inherit;
  }

  #nav li:nth-child(3) {
    margin-right: auto;
  }

  .mobile-f-dir-col {
    flex-direction: column;
    align-items: center;
  }

  #footer {
    height: inherit;
    padding-bottom: 0px;
  }

  /* Hamburger Menu */

  .nav {
    justify-content: normal;
    padding: 0;
    flex-direction: column;
  }

  .nav::before {
    content: url("/wp-content/themes/mogovolt/assets/images/logo.svg");
    position: relative;
    width: 100px;
    height: 100px;
    display: block;
    left: calc(50% - 50px);
    margin-bottom: 5%;
    margin-top: 10%;
  }

  header .nav::after {
    content: url("/wp-content/themes/mogovolt/assets/images/logo-outline.svg");
    position: absolute;
    width: 100%;
    bottom: -20%;
    display: block;
    left: -30%;
  }

  #nav-icon {
    display: block;
  }

  header .nav {
    position: fixed;
    right: -100vw;
    width: 100%;
    height: 100%;
    top: 0;
    background: var(--color-dark);
    transition: right 0.4s;
    padding-top: 0;
    z-index: 9;
    overflow: hidden;
  }

  header .nav.open {
    right: 0;
  }

  header .nav li {
    display: block;
    margin: 0px auto;
    text-align: center;
    width: 70%;
    padding: 5px 0;
    z-index: 999;
  }

  header .nav li a {
    display: block;
    padding: 15px;
    font-size: 20px;
    z-index: 9999;
    color: var(--color-white);
  }

  .cta-bar {
    display: flex;
  }

  .btn-container {
    flex-direction: column;
  }

  .btn-container .btn:first-child {
    margin-right: 0px;
    margin-bottom: 10px;
  }

  .footer .f-grid-one-forth {
    grid-template-columns: 100%;
  }
}

/* Mobile Large */

@media (max-width: 642px) {
  html {
    margin-top: 0px !important;
  }

  .section-block {
    padding: 5vh 0;
  }

  h1 {
    font-size: 44px;
    line-height: 120%;
  }

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

  h3 {
    font-size: 28px;
    line-height: 120%;
  }

  h5 {
    font-size: 22px;
    line-height: 120%;
    margin: 0px;
  }

  .paragraph--large {
    font-size: 16px;
    line-height: 120%;
    margin: 5px 0px;
  }

  .hero-label {
    margin-bottom: 5px;
  }

  .icon-grid--3 {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 20px;
  }

  .image-wrapper {
    margin-top: 50px;
  }

  .accordion h5 {
    line-height: 140%;
  }

  .hide-desktop {
    display: flex;
  }

  .gallery-block {
    grid-template-columns: 49% 49%;
    gap: 2px;
  }

  .form-row {
    flex-direction: column;
  }

  .main-hero .banner-block {
    background-size: 165%;
    background-repeat: no-repeat;
    background-position: bottom right;
  }

  .main-hero .column-half {
    margin-top: -25vh;
  }

  .ups-container .container-block {
    flex-direction: column;
    margin-top: 50px;
  }

  .ups-container .column-fifth {
    margin: 10px 0px;
  }

  .column-fifth {
    width: 100%;
  }

  .solution-card {
    width: 100%;
    margin-bottom: 25px;
  }

  .why-mogovolt .banner-block {
    background-size: 165%;
    background-repeat: no-repeat;
    background-position: bottom left;
  }

  .why-mogovolt .built-for {
    padding-bottom: 40vh;
  }

  .how-it .banner-block {
    background-size: 165%;
    background-repeat: no-repeat;
    background-position: bottom right;
  }

  .how-it .no-whitespace {
    padding-bottom: 40vh;
  }

  .hvac-estimator {
    flex-direction: column;
  }

  .hvac-estimator > div {
    width: 100%;
  }

  .estimate-results {
    text-align: center;
  }

  .hvac-estimator .btn {
    width: 100%;
  }

  .calculator .banner-block {
    background-size: 165%;
    background-repeat: no-repeat;
    background-position: bottom left;
  }

  .calculator .no-whitespace {
    padding-bottom: 48vh;
  }

  .ready-cta {
    background-position: bottom center;
    background-size: 160%;
  }

  .ready-content {
    padding-bottom: 10vh;
  }

  .mobile-right-flex {
    align-items: flex-start !important;
  }

  .btn {
    width: 100%;
  }
}

/* Mobile Small */

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