#splash {
  height: 100dvh;
  width: 100dvw;
  background-image: url('/assets/footerLogo.svg');
  background-size: auto;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #033148;
}

.whatsapp {
  position: fixed;
  bottom: 40px;
  right: 1rem;
  cursor: pointer;

  img {
    width: 50px;
    height: 50px;
    cursor: pointer;
  }
}

.main-404 {
  height: 100dvh;
  max-width: 100dvw;
  background-color: #033148;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 50px;

  h1 {
    width: 300px;
  }

  sinking-ship {
    width: 350px;

    svg {
      width: 350px;
      max-width: 350px;
      fill: currentColor;
      color: #01D2FB;
    }
  }
}

a {
  cursor: auto;
}

/** reset **/

button {
  border: none;
  width: auto;
  overflow: visible;
  background: transparent;
  line-height: normal;
  -webkit-font-smoothing: inherit;
  -moz-osx-font-smoothing: inherit;
  -webkit-appearance: none;
}

/* font */

* {
  font-family: "Radio Canada Big", serif;
  margin: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  height: auto;
}

/** wc **/

wc-image-text {
  display: flex;
  flex-direction: column;
  align-items: center;

  &[margins] {
    margin: 80px 20px 0;
  }
}

wc-nav-bar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 0;
  z-index: 1000;
  display: block;
  transition: background-color 0.5s linear;

  &.scrolled-nav.dark {
    background-color: #1C293D;
    box-shadow: 0px 0px 30px 1px #0c2243;
  }

  &.scrolled-nav.light {
    background-color: #FFFFFF;
    box-shadow: 0px 0px 30px 1px #c0bfbf;
  }
}

wc-header-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: calc(100vh - 2.6vh);
  padding: 0 13vw;

  &[variant="small"] {
    margin-top: var(--navbarHeight);
    height: 35.19vh;
  }
}

.main-header {
  height: 100dvh;
  background: linear-gradient(180deg, #1C293D 19%, rgba(48, 134, 154, 0) 130%);

  .main-header__img {
    position: absolute;
    z-index: -1;
    height: 100vh;
    width: 100%;
    min-width: 100%;
    object-fit: cover;
    object-position: 76%;
  }

  &.animation-scroll {
    opacity: 0;
    transform: translateY(-300px);
    transition: all 0.7s ease-out;
  }
}

section.animation-scroll {
  opacity: 0;
  transform: translateY(-300px);
  transition: all 0.7s ease-out;
}

section {
  opacity: 0;
}

.scrolled {
  opacity: 0;
  transform: translateY(-40px);
  animation: scroll-in 0.5s ease-in forwards;
}

@keyframes scroll-in {
  0% {
    opacity: 0;
    transform: translateY(40px)
  }

  100% {
    opacity: 1;
    transform: translateY(0)
  }
}

wc-simple-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid #ECECEC;
  text-align: center;
}

.home-main {
  .section-3 {
    margin: 80px 0 0;
    wc-card-group {
      display: flex;
      scroll-snap-type: x mandatory;
      overflow-x: scroll;
    }

    .section-3__h2 {
      font-size: 28px;
      line-height: 120%;
      font-weight: 700;
      color: #0A0A0A;
      width: fit-content;
      margin: 0 20px 30px;
      text-align: center;
    }

    .section-3-btns-mobile {
      display: flex;
      justify-content: center;
      gap: 1rem;
      margin: 16px 0;

      #btn-slider-forwards {
        .icon {
          transform: scaleX(-1);
        }
      }

      #btn-slider-backwards,
      #btn-slider-forwards {
        width: 40px;
        height: 40px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: background-color 0.2s linear;
        border-radius: 50%;

        &:hover:not(:disabled),
        &:active:not(:disabled) {
          background-color: #C3C3C3;
        }

        &:disabled {
          border: 0;

          .icon {
            color: #C3C3C3;
          }
        }

        &:not(:disabled) {
          border-radius: 50%;
          border: 1px solid #3A3A3A;
        }

        .icon {
          width: 24px;
          height: 24px;
          color: #3A3A3A;
        }
      }
    }


    .section-3__cta {
      width: fit-content;
      margin: 20px auto 80px auto;
    }
  }

  .section-4 {
    background-color: rgba(22, 64, 85, 0.05);
    padding: 80px 20px;
    text-align: center;

    img {
      display: none;
    }

    .section-4__heading {
      margin-bottom: 30px;
      text-align: center;
      font-size: 28px;
      line-height: 120%;
    }

    p {
      font-size: 1rem;
      line-height: 2rem;
      ;
      color: #4A4A4A;

      &.section-4__subheading {
        text-align: center;
      }
    }

    .section-4__info-text {
      padding: 0 auto;

      .section-4__info-text--left {
        p:nth-child(1) {
          font-size: 28px;
          color: #0A0A0A;
          font-weight: 600;
          line-height: initial;
        }

        p:nth-child(2) {
          font-size: 55px;
          color: #14B0E5;
          font-weight: 700;
          line-height: initial;
        }

      }
    }
  }

  .section-5 {
    height: 650px;
    width: auto;

    img {
      position: absolute;
      height: 650px;
      width: 100%;
      min-width: 100%;
      object-fit: cover;
      object-position: 85%;
    }
  }

  .section-6 {
    margin: 80px 20px 0;

    .section-6__title {
      font-size: 28px;
      color: #0A0A0A;
      text-align: center;
      margin-bottom: 2rem;
    }

    .section-6__subtitle {
      color: #4A4A4A;
      font-size: 1rem;
      line-height: 2rem;
      ;
      margin-bottom: 1rem;
    }

    .section-6__map-form {
      width: 100%;
      display: flex;
      flex-direction: column-reverse;

      .img {
        background-image: url('/assets/map-mobile.webp');
        height: 300px;
        background-size: contain;
        background-repeat: no-repeat;
        margin-top: 16px;
      }
    }
  }
}

.pre-footer {
  background-image: linear-gradient(rgba(22, 64, 85, 0.65), rgba(22, 64, 85, 0.65)), url('/assets/index-section-5.webp');
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 400px;
  padding: 0 20px;
  gap: 16px;
  text-align: center;

  h2 {
    color: #FFFFFF;
    font-size: 28px;
    font-weight: 700;
  }
}


@keyframes animateDown {
  0% {
    opacity: 0;
    transform: translateY(-15px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (min-width: 768px) {

  .main-404 {
    flex-direction: row;
  }

  /** wc **/
  wc-image-text {
    display: flex;
    flex-direction: row;
    margin: 6.2vh 12.5vw;
    align-items: center;
  }

  wc-nav-bar {
    padding: 0 12.5vw;
    transition: background-color 0.5s linear;

    &.scrolled-nav.dark {
      background-color: #1C293D;
      box-shadow: 0px 0px 30px 1px #0c2243;
    }

    &.scrolled-nav.light {
      box-shadow: 0px 0px 30px 1px #c0bfbf;
    }

    &.light {
      background-color: white;
    }
  }

  wc-header-title {
    padding: 0 13vw;

    &[variant="small"] {
      margin-top: var(--navbarHeight);
      height: 35.19vh;
    }
  }

  .main-header {
    background: transparent;

    .main-header__img {
      position: absolute;
      z-index: -1;
      height: 100vh;
      width: 100%;
      min-width: 100%;
      object-fit: cover;
      background-attachment: fixed;
    }

    &.animation-scroll {
      opacity: 0;
      transform: translateY(-300px);
      transition: all 0.7s ease-out;
    }
  }

  section.animation-scroll {
    opacity: 0;
    transform: translateY(-300px);
    transition: all 0.7s ease-out;
  }

  section {
    opacity: 0;
  }

  .scrolled {
    opacity: 0;
    transform: translateY(-40px);
    animation: scroll-in 0.5s ease-in forwards;
  }

  @keyframes scroll-in {
    0% {
      opacity: 0;
      transform: translateY(40px)
    }

    100% {
      opacity: 1;
      transform: translateY(0)
    }
  }

  wc-simple-card {
    display: block;
    flex-direction: row;
    justify-content: start;
    text-align: left;
    border-bottom: 1px solid #ECECEC;
  }

  .home-main {
    .section-3 {
      wc-card-group {
        display: flex;
        overflow-x: initial;
      }

      margin: 80px 5.21vw;

      .section-3-btns-mobile {
        display: none;
      }

      .section-3__h2 {
        text-align: center;
        font-size: 35px;
        line-height: 120%;
        font-weight: 700;
        color: #0A0A0A;
        margin: 0 auto 40px auto;
        width: fit-content;
      }

      .section-3__cta {
        width: fit-content;
        margin: 4.44vh auto 9.07vh auto;
      }
    }

    .section-4 {
      background-color: rgba(22, 64, 85, 0.05);
      padding: 14.26vh 23.85vw;

      img {
        display: block;
        margin: 0 35px;
      }

      .section-4__heading {
        margin-bottom: 22px;
        text-align: center;
        font-size: 35px;
      }

      p {
        font-size: 1rem;
        line-height: 2rem;
        color: #4A4A4A;

        &.section-4__subheading {
          text-align: center;
          margin-bottom: 75px;
        }
      }

      .section-4__info-text {
        display: flex;
        justify-content: space-around;
        margin: 0 auto;
        align-items: center;

        .section-4__info-text--left {
          width: 35%;

          p:nth-child(1) {
            font-size: 22px;
            color: #0A0A0A;
            font-weight: 600;
          }

          p:nth-child(2) {
            font-size: 35px;
            color: #14B0E5;
            font-weight: 700;
          }

        }

        .section-4__info-text--right {
          width: auto;
          text-align: left;
        }
      }
    }

    .section-5 {
      height: auto;
      width: auto;

      img {
        max-width: 100%;
        overflow: hidden;
        position: initial;
      }
    }

    .section-6 {
      margin: 80px 20px;

      .section-6__title {
        text-align: left;
        margin: 0;
      }

      .section-6__map-form {
        width: 100%;
        display: flex;
        flex-direction: row;

        .img {
          background-image: url('/assets/map.webp');
          height: 500px;
          width: 100%;
          background-size: contain;
          background-repeat: no-repeat;
        }

        .section-6--map {
          width: 90%;
          margin-right: 16px;
        }
      }
    }
  }


  .pre-footer {
    background-image: linear-gradient(rgba(22, 64, 85, 0.65), rgba(22, 64, 85, 0.65)), url('/assets/index-section-5.webp');
    background-size: cover;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 20.83vw;
    /** 400px **/
    padding: 0 15.63vw;
    /** 300px **/
    text-align: left;

    h2 {
      color: #FFFFFF;
      font-size: 6.48vh;
      /** 70px **/
      font-weight: 700;
      width: 70%;
    }
  }


  @keyframes animateDown {
    0% {
      opacity: 0;
      transform: translateY(-15px);
    }

    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
}