/* desktop */
@media screen and (min-width: 500px) {
  .parallax {
    min-height: 1150px;
  }
  .header-content {
    padding: 50px 0px;
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 40px;
    align-items: center;
    justify-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    bottom: 0;
  }
  .text-cpa-wraper {
    margin-top: 0;
  }
  .text-cpa-wraper .bt {
    margin-top: 0;
  }
  .header-content h2 {
    font-size: 50px;
    line-height: 55px;
  }
  .header-content h3 {
    font-size: 30px;
    line-height: 35px;
  }
  .parallax img {
    left: -21%;
    width: 180%;
  }
  .parallax #nomad {
    bottom: 140px;
  }
  .parallax #tech {
    bottom: 25px;
  }
}

/*mobile less than 400x550*/
@media screen and (max-width: 400px) and (max-height: 550px) {
  header {
    height: 40px;
    padding: 5px 20px;
  }
  .logo img {
    height: auto;
  }
  .menu-icon {
    height: 40px;
  }
  .header-content {
    top: 60px;
  }
  .text-cpa-wraper {
    margin-top: 10px;
    gap: 10px;
  }
  .parallax {
    height: 108vh;
  }
  .logo-fixed {
    height: 40px;
  }
}
/*mobile less than 500x700*/
@media screen and (max-width: 500px) and (min-height: 700px) {
  .header-content {
    top: calc(80px + 8vh);
  }
  .text-cpa-wraper {
    margin-top: 6vh;
  }
}
@media screen and (min-width: 700px) {
  .parallax #nomad {
    bottom: 130px;
  }
  .header-content {
    top: 15%;
    bottom: 50%;
  }
  .sense-options-grid,
  .aware-text-width,
  .power-options-grid,
  .engineering-options-grid {
    max-width: 400px;
  }
}
@media screen and (min-width: 1000px) {
  .parallax img {
    left: 0;
    width: 100%;
    bottom: 240px;
  }
  .parallax #nomad {
    width: 75%;
    bottom: 275px;
  }
  .parallax #tech {
    width: 75%;
    bottom: 200px;
  }
  .text-cpa-wraper {
    display: none;
  }
  .header-content {
    display: block;
    bottom: unset;
    top: 10%;
  }
  .p20 {
    padding-left: 20%;
    padding-right: 20%;
  }
  .power-lines {
    display: none;
  }
  .sense-options-grid > div {
    max-width: 300px;
  }
  .cta-section {
    max-width: 400px;
    margin: auto;
  }
  .engineering-options-grid p {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  .methodology-grid > div {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  .swiper {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (min-width: 1400px) {
  .parallax img {
    left: 0;
    width: 100%;
    bottom: 250px;
  }
  .parallax #nomad {
    width: 75%;
    bottom: 275px;
  }
  .parallax #tech {
    width: 75%;
    bottom: 225px;
  }
  .p20 {
    padding-left: 10%;
    padding-right: 10%;
  }
  .sense {
    background: transparent
      linear-gradient(180deg, #636363 0%, #d5d5d5 50%, #ffffff 100%) 0% 0%
      no-repeat padding-box;
  }
  .sense-options-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    max-width: 100%;
    align-items: baseline;
    justify-items: center;
  }

  .aware-options-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    max-width: 100%;
    align-items: baseline;
    gap: 60px 30px;
  }
  .aware-options-grid:last-of-type {
    grid-template-columns: repeat(3, auto);
    grid-template-rows: auto;
  }
  .engineering-options-grid {
    max-width: 100%;
  }
  .methodology-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    max-width: 100%;
    align-items: baseline;
  }
  .engineering-img-wrap {
    max-width: 700px;
    margin: 0 auto;
  }
  .service-main-title,
  .service {
    text-align: center;
  }
  .landscape-power-grid {
    display: grid;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr;
    background: transparent
      linear-gradient(
        180deg,
        #ffa500 0%,
        #ffdd97 33%,
        #ffe4a9 49%,
        #ffffff 100%
      )
      0% 0% no-repeat padding-box;
  }
  .landscape-power-grid .swiper {
    background: none;
    grid-row: 2 / 3;
    grid-column: 2 / 3;
  }
  .landscape-power-grid .power {
    display: grid;
    grid: subgrid / subgrid;
    background: none;
    grid-row: 1 / 3;
    grid-column: 1 / 3;
  }
  .landscape-power-grid .power .power-options-grid {
    grid-row: 2 / 3;
    grid-column: 1 / 2;
  }
  .landscape-power-grid .power .powertitle {
    grid-row: 1 / 2;
    grid-column: 1 / 3;
  }
  .line2 {
    display: block;
    margin-bottom: 30px;
  }
  .line1 {
    display: none;
  }
}

@media screen and (min-width: 1600px) {
  #pimg3 {
    bottom: 75px;
  }
  #pimg2 {
    bottom: 120px;
  }
  #pimg1 {
    bottom: 150px;
  }
  .parallax #nomad {
    width: 100%;
    bottom: -75px;
  }
  .parallax #tech {
    width: 100%;
    bottom: -75px;
  }
  .header-content {
    display: none;
  }
}

/*height less than 500*/
@media screen and (max-height: 500px) {
  .parallax {
    display: none;
  }
  .scroll-down {
    display: none;
  }
  .header-content {
    top: 0;
    bottom: 0;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
  }
  .header-content h2 {
    font-size: 30px;
    line-height: 30px;
  }
  .header-content h3 {
    font-size: 20px;
    line-height: 20px;
  }
  .menu {
    padding: 5% 80px;
  }
}
