#home #hero-video {
  min-width: 100vw;
  min-height: calc(100vh - 128px);
  position: fixed;
  top: 128px;
  left: 0;
  object-fit: cover;
}

#home .s1 {
  width: 100%;
  height: 100vh;
  min-height: 800px;
  position: relative;
  text-align: center;
  overflow: hidden;
}

#home .s1 .content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  top: 50%;
  width: 100%;
}

#home .s1 .content::before {
  content: '';
  position: absolute;
  display: block;
  width: 100%;
  height: 100vh;
  background: #0F1E3A;
  top: -99vh;
}

#home .s1 .content::after {
  content: '';
  position: absolute;
  display: block;
  width: 100%;
  height: 100vh;
  background: #0F1E3A;
  bottom: -99vh;
}

#home .s1 p {
  text-transform: uppercase;
  color: #C0DBFD;
  text-align: center;
  background: #0F1E3A;
  z-index: 1;
  position: relative;
  top: -2px;
  padding: 0 1.5rem 2rem 1.5rem;
  font-size: 0.85rem;
}

#home .s1 p span {
  color: #fff;
  text-transform: initial;
  font-size: 1rem;
  letter-spacing: 0;
}

#home .s1 img {
  display: block;
  width: 100%;
  position: relative;
  top: -3px;
}

#home .s1 .tablet, #home .s1 .mobile {
  display: none;
}

#home .s1::before {
  content: '';
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
  top: 0;
  left: 0;
}

#home .s1.on::before {
  opacity: 0;
  transition: opacity 2s linear;
}

#home .s2 {
  height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#home .s2 p {
  margin: 0 auto 1em auto;
  max-width: 800px;
  color: #FFF;
  text-align: center;
  text-shadow: 0px 0px 64px rgba(0, 0, 0, 0.95);
  font-size: 28px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  letter-spacing: 0.9px;
}

#home .s2 h2 {
  margin: 0 auto;
  max-width: 1120px;
  color: #FFF;
  text-align: center;
  text-shadow: 0px 0px 64px rgba(0, 0, 0, 0.95);
  font-size: 3.5rem;
  font-style: normal;
  font-weight: 300;
  line-height: 1.25;
  text-transform: capitalize;
}

#home .s3 {
  /* p{font-size:0.75rem;line-height:1.25rem;} */
}

#home .s3 {
  background: #DCE0E8;
  position: relative;
  z-index: 2;
  padding: 6rem 0;
}

#home .s3 h2 {
  text-align: center;
  margin-bottom: 2rem;
}

#home .s3 .wrap {
  max-width: 1030px;
  margin: 0 auto;
}

#home .s3 .wrap > div {
  columns: 2;
  column-gap: 4rem;
}

#home .panel {
  /* height: 100vh; 
			min-height: 837px;
			max-height: 837px; */
  height: calc(120vh);
  z-index: 1;
  position: relative;
}

#home .panel .container {
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 4rem;
  position: relative;
  top: 0;
  /* transform: translateY(-50%); */
  max-width: calc(100% - 100px);
}

#home .panel .img {
  width: calc(50% - 2rem);
  height: calc(100vh - 228px);
  background: url(/i/homepage-card3.jpg) no-repeat center/cover;
  display: grid;
  grid-template-columns: repeat(8, 12.51%);
  grid-template-rows: repeat(8, 12.51%);
}

#home .panel .img.in-view > div {
  opacity: 0;
  transition: opacity 0.25s linear;
}

#home .panel .content {
  width: calc(50% - 2rem);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#home .panel .content h3 {
  margin-bottom: 1.5rem;
}

#home .panel .content p {
  color: #fff;
  padding-right: 60px;
}

#home .panel .content .global-btn {
  margin-top: 3rem;
}

#home .panel .overlay {
  width: 100%;
  height: 100%;
  background: rgba(15, 30, 58, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}

#home .first {
  background-color: #1C376C;
  padding: 50px 0;
}

#home .first .img > div {
  background-color: #1C376C;
}

#home .second {
  background-color: #162A52;
  padding: 50px 0;
}

#home .second .img {
  background-image: url(/i/homepage-card2.jpg);
}

#home .second .img > div {
  background-color: #162A52;
}

#home .third {
  background-color: #0F1E3A;
  padding: 50px 0;
  height: calc(100vh - 228px);
}

#home .third .img {
  background-image: url(/i/homepage-card1.jpg);
  height: calc(100vh - 328px);
}

#home .third .img > div {
  background-color: #0F1E3A;
}

#home .third p:last-of-type {
  margin-top: 1.5rem;
}

/***** MEDIA *****/
@media screen and (max-width: 1100px) {
  #home .s1 .desktop {
    display: none;
  }
  #home .s1 .tablet {
    display: block;
  }
  #home .s1 .content {
    top: 50%;
  }
}

@media screen and (max-width: 767px) {
  #home #hero-video {
    min-height: calc(100vh - 88px);
    top: 88px;
  }
  #home .s1 .tablet {
    display: none;
  }
  #home .s1 .mobile {
    display: block;
  }
  #home .s1 p {
    font-size: 0.8rem;
  }
  #home .s2 p {
    font-size: 20px;
  }
  #home .s2 h2 {
    font-size: 40px;
    line-height: 46px;
  }
}

@media screen and (max-height: 800px) {
  #home .panel {
    height: auto;
    min-height: auto;
    max-height: none;
    padding: 1rem 0;
  }
  #home .panel .container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
    top: auto;
    position: relative;
    transform: none;
    gap: 3rem;
    max-width: calc(100% - 2rem);
  }
  #home .panel .img {
    width: 100%;
    height: 500px;
  }
  #home .panel .content {
    width: 100%;
  }
  #home .panel .content h3 br {
    display: none;
  }
  #home .panel .content p:not(.md) {
    min-height: auto;
  }
  #home .panel .content .global-btn {
    margin-top: 3rem;
  }
}

@media screen and (max-width: 1100px) {
  #home .panel {
    height: auto;
    min-height: auto;
    max-height: none;
    padding: 3rem 0 1rem 0;
  }
  #home .panel .container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
    top: auto;
    position: relative;
    transform: none;
    gap: 3rem;
    max-width: calc(100% - 2rem);
  }
  #home .panel .img {
    width: 100%;
    height: 500px;
  }
  #home .panel .content {
    width: 100%;
  }
  #home .panel .content h3 br {
    display: none;
  }
  #home .panel .content p:not(.md) {
    min-height: auto;
    padding-right: 0;
  }
  #home .panel .content .global-btn {
    margin-top: 3rem;
  }
}

@media screen and (max-width: 980px) {
  #home #hero-video {
    transform: translate(-50%, 0);
  }
  #home .s3 .wrap > div {
    columns: 1;
    max-width: none;
  }
}

@media screen and (max-width: 767px) {
  #home .s3 {
    padding: 5rem 0;
  }
  #home .s3 h2 {
    text-align: left;
  }
  #home .panel .img {
    height: 400px;
  }
}
