@portrait1by2: ~"only screen and (orientation: portrait) and (max-aspect-ratio: 1/2)";
@landscape2by3: ~"only screen and (orientation: landscape) and (max-aspect-ratio: 2/3)";
@landscape5by3: ~"only screen and (orientation: landscape) and (max-aspect-ratio: 5/3)";

#splash-screen {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-size: cover;
  background-position: center;

  .logo {
    position: absolute;
    top: 6%;
    width: 100%;
    height: 35%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50%;

    @media @portrait {
      background-position: center center;
      top: 0%;
      height: 22%;
      max-width: 80%;
      margin-left: 13%;
    }
  }

  .features-container {
    display: flex;
    position: relative;
    flex-direction: row;
    top: 23%;
    width: 100%;
    height: 75%;

    @media @portrait {
      top: 22%;
      flex-direction: column;
      justify-content: space-between;
      height: 60%;
    }


    .feature-wrapper {
      display: flex;
      flex-direction: column;
      justify-content: center;
      width: 50%;
      height: 100%;

      @media @portrait {
        width: 100%;
        height: 42%;
      }

      .feature-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0 auto;

        @media @landscape {
          width: 100%;
          height: 75%;
        }

        @media @portrait {
          width: 60%;
          height: 100%;
        }

        .content-child1,
        .content-child4,
        .content-child5 {
          position: absolute;
          height: 67%;
          margin-bottom: -4vh;

          @media @portrait {
            height: 42%;
            margin-bottom: -1%;
          }

          @media @portrait1by2 {
            width: 60%;
            height: auto;
          }

          @media @landscape5by3 {
            height: 62%;
          }
        }

        .content-child2 {
          position: absolute;
          height: 56%;
          margin-bottom: -4vh;

          @media @portrait {
            height: 37%;
            margin-bottom: -1%;
          }

          @media @portrait1by2 {
            width: 44%;
            height: auto;
          }
        }

        .content-child3,
        .content-child6 {
          position: absolute;
          height: 70%;
          margin-bottom: -4vh;

          @media @portrait {
            height: 46%;
            margin-bottom: -1%;
          }

          @media @portrait1by2 {
            width: 56%;
            height: auto;
          }
        }

        .videoPlay {
          background-image: 'none';
          background-position: center center;
          background-size: 30%;
          background-repeat: no-repeat;
          cursor: 'auto';
          pointer-events: 'none';
        }
      }

      .feature-text {
        position: relative;
        font-family: @font-family;
        font-size: 3.5vmin;
        text-align: center;
        color: #f8b909;

        @media @portrait1by2 {
          font-size: 4.6vmin;
        }

        @media @portrait {
          font-size: 4.2vmin;
        }


        @media @landscape2by3 {
          font-size: 4.4vmin;
        }

        @media @landscape5by3 {
          font-size: 3vmin;
        }
      }

      .feature-text-shadow,
      .feature-text-stroke {
        position: absolute;
        width: 100%;
        left: 50%;
        transform: translateX(-50%);
        max-width: 60%;
        line-height: 1.1em;
      }

      .feature-text-shadow {
        text-shadow: 0 0.6vmin 0.3vmin #1f1f1fe8;
      }
    }
  }

  .continue {
    position: absolute;
    left: 50%;
    bottom: 10%;
    transform: translatex(-50%);
    font-family: @font-family;
    font-size: 4vmin;
    color: #84b90f;
    text-shadow: 0 0.6vmin 0.3vmin #1f1f1fe8;
    text-align: center;

    @media @landscape5by3 {
      bottom: 10%;
      font-size: 3vmin;
    }

    @media @portrait {
      bottom: 7%;
      font-size: 3vmin;
      width: 100%;
    }

    @media @portrait1by2 {
      font-size: 3.2vmin;
    }


    @media (max-aspect-ratio: 2/3) {
      font-size: 5vmin;
    }

    animation-name: glow;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-duration: 0.6s;

    @keyframes glow {
      0% {
        opacity: 1;
      }

      50% {
        opacity: 0.5;
      }

      100% {
        opacity: 1;
      }
    }
  }

}

.es_CO {
  #splash-screen .features-container .feature-wrapper .feature-text {
    @media only screen and (orientation: landscape) {
      font-size: 3vmin;
    }

    @media only screen and (orientation: landscape) and (max-aspect-ratio: 6 / 5) {
      font-size: 2.6vmin;
    }

    @media only screen and (orientation: portrait) {
      font-size: 3.7vmin;
    }

  }
}


#splash-screen .feature-text {
  @media only screen and (orientation: landscape) {
    padding-top: 1em;
  }
}

#splash-screen .continue {
  @media only screen and (orientation: landscape) {
    bottom: 12%;
  }
}