@layer reset {

  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  /* https://kilianvalkhof.com/2022/css-html/your-css-reset-needs-text-size-adjust-probably/ */
  html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: none;
  }

  body,
  h1,
  h2,
  h3,
  h4,
  p,
  figure,
  blockquote,
  dl,
  dd {
    margin: 0;
  }

  /* https://www.scottohara.me/blog/2019/01/12/lists-and-safari.html */
  ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  body {
    min-block-size: 100vh;
    line-height: 1.6;
  }

  h1,
  h2,
  h3,
  button,
  input,
  label {
    line-height: 1.1;
  }

  p:empty {
    display: none;
  }

  img,
  picture {
    max-inline-size: 100%;
    display: block;
  }

  input,
  button,
  textarea,
  select {
    font: inherit;
  }
}

@layer base {
  :root {
    --black: #070808;
    --dark-gray: #18191b;
    --md-gray: #2f3237;
    --gray: #777e88;
    --light-gray: #f3f3f3;
    --white: #fff;
    --primaryBlue: #00c9eb;
    --primaryRed: #e00000;
    --primaryGreen: #00c084;
    --primaryYellow: #eabb00;
    --primarypurle: #a100e0;

    --border-radius-xS: 0.25rem;
    --border-radius-1: 1rem;
    --border-radius-2: 1.5rem;
    --border-radius-3: 2rem;
    --border-radius-4: 3rem;
  }

  @view-transition {
    navigation: auto;
  }

  @media (prefers-reduced-motion: no-preference) {
    html {
      scroll-behavior: smooth;
    }
  }

  html {
    scroll-padding: 2rem;
    overflow-x: hidden;
  }

  body {
    font-family: "Lato", sans-serif;
    font-size: 1.125rem;
    line-height: 1.4;
    color: var(--gray);
    background: var(--black);
    position: relative;
  }

  h1 {
    font-weight: 700;
    font-size: 5.6rem;
    font-family: "Antonio", sans-serif;
    line-height: 1.2;
  }

  h2 {
    font-size: 4.2rem;
    font-weight: 700;
    font-family: "Antonio", sans-serif;
    line-height: 1.2;
  }

  h3 {
    font-size: 3rem;
    font-weight: 600;
    font-family: "Antonio", sans-serif;
    line-height: 1.2;
  }

  a {
    color: var(--white);
    text-decoration: none;
  }

  p {
    line-height: 1.5;
    margin-bottom: 30px;
  }

  .highlighted-text {
    font-size: 2.25rem;
    font-weight: 600;
    font-family: "Antonio", sans-serif;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--md-gray);
    color: var(--white);
    text-transform: uppercase;
    max-height: max-content;
    line-height: 1.2;

    @media (max-width: 767px) {
      margin-bottom: 40px;
    }

    p {
      max-width: 600px;
      line-height: 1.2;
      margin-bottom: 0;
    }
  }

  .text-large {
    text-align: center;
    font-family: 'Antonio', sans-serif;
    line-height: 1.2;
    color: var(--white);
    text-transform: uppercase;
    font-size: clamp(1.5rem, 10vw, 8rem);
    letter-spacing: -3px;
  }

  .color-yellow {
    color: var(--primaryYellow);
  }

  .color-green {
    color: var(--primaryGreen);
  }

  .color-red {
    color: var(--primaryRed);
  }

  .color-blue {
    color: var(--primaryBlue);
  }
}

@layer layout {
  .wrapper {
    --wrapper-max-width: 1200px;
    --wrapper-padding: 1rem;

    max-width: var(--wrapper-max-width);
    margin-inline: auto;
    padding-inline: var(--wrapper-padding);
    width: 100%;

    @media (max-width: 767px) {
      --wrapper-max-width: 100% !important;
      padding-inline: 20px !important;
    }
  }

  .wrapper[data-width="narrowXS"] {
    --wrapper-max-width: 400px;
  }

  .wrapper[data-width="narrowMd"] {
    --wrapper-max-width: 540px;
  }

  .wrapper[data-width="narrow"] {
    --wrapper-max-width: 720px;
  }

  .wrapper[data-width="medium"] {
    --wrapper-max-width: 1040px;
  }

  .wrapper[data-width="wide"] {
    --wrapper-max-width: 80%;
    max-width: 1440px;

    &.no-right-margin {
      --wrapper-max-width: 90%;
      margin-right: 0;
      padding-right: 0;
    }
  }

  .wrapper[data-width="largeXl"] {
    --wrapper-max-width: 90%;

    &.no-right-margin {
      --wrapper-max-width: 95%;
      margin-right: 0;
      padding-right: 0;

      @media (max-width: 767px) {
        --wrapper-max-width: 100% !important;
        padding-inline: 0 !important;
      }
    }
  }

  section {
    position: relative;
    padding-block: 10rem;
    overflow: hidden;

    @media (max-width: 767px) {
      padding-block: 5rem;
    }

    &.no-padding {
      padding-block: 0;
    }

    &.no-padding-top {
      padding-top: 0;
    }

    &.no-padding-bottom {
      padding-bottom: 0;
    }
  }
}

@layer components {
  /* Header */

  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--dark-gray);
    z-index: 1000;
    padding: 35px 0;

    @media (max-width: 767px) {
      padding: 20px 0;
    }

    .header-content {
      display: flex;
      justify-content: space-between;
      align-items: center;

      .menu {
        display: flex;
        justify-content: flex-end;
        width: 100%;
        gap: 10vw;

        @media (max-width:767px) {
          position: absolute;
          top: 70px;
          left: 0;
          width: 100%;
          background: var(--dark-gray);
          flex-direction: column;
          max-height: 0;
          overflow: hidden;
          transition: max-height 0.3s ease;
          padding: 0 20px;
          gap: 50px;
        }

        &.open {
          @media (max-width:767px) {
            height: 100vh;
            max-height: calc(100vh - 70px);
            padding: 10px 20px;
            justify-content: flex-start;
          }
        }

        .center-menu {
          display: flex;
          gap: 40px;

          @media (max-width:767px) {
            flex-direction: column;
            width: 100%;
            gap: 10px;
          }
        }

        .right-menu {
          gap: 20px;
          display: flex;

          @media (max-width:767px) {
            flex-direction: column;
            width: 100%;
            gap: 10px;
          }

          .menu-item {
            &:last-of-type {
              @media (max-width:767px) {
                border-bottom: none;
              }
            }
          }
        }

        .menu-item {
          color: var(--white);
          font-weight: 600;
          transition: color 0.3s ease;
          font-size: 0.9375rem;
          font-weight: 600;
          position: relative;
          padding-right: 10px;
          line-height: 30px;

          @media (max-width:767px) {
            font-size: 1.125rem;
            padding-bottom: 15px;
            border-bottom: 1px solid var(--md-gray);
          }

          &:hover {
            color: var(--dark-gray);
            transition: all 0.2s ease-in-out;

            &::before {
              width: calc(100% + 12px);
              height: 28px;
            }
          }

          &::before {
            display: block;
            content: "";
            position: absolute;
            right: -2px;
            bottom: 0;
            width: 6px;
            height: 6px;
            background: var(--primaryRed);
            transition: all 0.2s ease-in-out;
            z-index: -1;
          }
        }

        .menu-divider {
          background: var(--gray);
          display: inline-block;
          width: 1px;
          height: 30px;

          @media (max-width:767px) {
            display: none;
          }
        }
      }


      /* Hamburger */

      .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        width: 32px;
        height: 24px;
        background: none;
        border: none;
        cursor: pointer;

        span {
          width: 25px;
          height: 3px;
          background: var(--white);
          display: block;
          transition: all .2s ease-out;
        }

        &.active {
          span {
            &:nth-child(1) {
              transform: translateY(9px) rotate(45deg);
            }

            &:nth-child(2) {
              opacity: 0;
            }

            &:nth-child(3) {
              transform: translateY(-9px) rotate(-45deg);
            }
          }
        }
      }

    }
  }

  main {
    margin-top: 100px;

    @media (max-width:767px) {
      margin-top: 70px;
    }
  }

  /* Hero Section */

  .hero {
    background: var(--dark-gray);

    .slider-container {
      position: relative;
      overflow: hidden;
      width: 100%;
      height: 100%;
      max-height: 800px;

      video {
        width: 100%;
        min-height: 100%;
        object-fit: cover;
      }
    }
  }

  /* Slider */

  .slider {
    width: 100%;
    height: 100vh;
    max-height: 720px;
    position: relative;

    @media (max-width: 767px) {
      max-height: calc(100vh - 70px);
    }

    .slides {
      height: 100%;
      position: relative;

      .slide {
        position: absolute;
        inset: 0;
        opacity: 0;
        transition: opacity 1s ease;
        background: black;

        &.active {
          opacity: 1;
          z-index: 2;
        }

        video {
          width: 100%;
          height: 100%;
          object-fit: cover;
        }

        .overlay {
          position: absolute;
          top: calc(50% - 70px);
          transform: translateY(-50%);
          left: -40px;
          max-width: 480px;

          @media (max-width: 767px) {
            left: 20px;
            top: calc(50% - 22px);
          }

          h2 {
            color: var(--white);
            font-size: 3rem;
            margin-bottom: 20px;
          }

          p {
            font-size: 1.5rem;
            line-height: 1.2;
          }
        }
      }
    }

    .nav {
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 16px;
      z-index: 2;
      width: 100%;
      padding: 30px;

      @media (max-width: 767px) {
        padding: 20px;
      }

      .nav-item {
        width: 100%;
        filter: brightness(.25);

        &.active {
          filter: brightness(1);

          span {
            font-weight: bold;
          }
        }

        .progress {
          height: 4px;
          background: rgba(255, 255, 255, 0.2);
          margin-bottom: 10px;
          overflow: hidden;

          @media (max-width: 767px) {
            margin-bottom: 0;
          }

          .bar {
            width: 0%;
            height: 100%;
            background: white;
            transition: width 0.1s linear;
          }
        }

        .thumb-container {
          display: flex;
          align-items: center;
          gap: 10px;
          cursor: pointer;
          width: 100%;

          @media (max-width: 767px) {
            display: none;
          }

          img {
            width: 90px;
            height: 90px;
            object-fit: cover;
          }

          .meta {
            flex: 1;

            span {
              display: block;

              &.slider-title {
                font-family: 'Antonio', sans-serif;
                color: var(--white);
                font-size: 1.35rem;
                font-weight: 600;
              }

              &.slider-resume {
                font-size: 0.9rem;
                font-weight: 500;
              }
            }

            hr {
              border: none;
              border-top: 1px solid var(--gray);
              height: 1px;
              width: 50px;
              margin: 10px 0 15px;
            }
          }
        }
      }
    }
  }

  /* Parallax */

  .parallax-item {
    will-change: transform;
    transform: translateY(0);

    @media (max-width: 767px) {
      transform: translateY(0) !important;
    }
  }

  .large-txt {
    font-family: "Antonio", sans-serif;
    display: block;
    font-size: 8rem;
    text-transform: uppercase;
    z-index: 2;
    position: relative;
    font-weight: 600;
    letter-spacing: -5px;

    &.gray {
      color: var(--md-gray);
      z-index: 1;
      font-size: clamp(1.5rem, 8vw, 7rem);
      line-height: 7rem;

      @media (max-width: 767px) {
        line-height: normal;
        letter-spacing: -1px;
      }
    }

    &.white {
      color: var(--white);
      font-size: 10rem;
      font-size: clamp(2rem, 12vw, 10rem);
      z-index: 2;
      line-height: 7rem;

      @media (max-width: 767px) {
        line-height: normal;
        letter-spacing: -2px;
      }
    }
  }


  /* Home Areas */

  #contentAreas {
    .area-item {
      position: relative;

      @media (max-width: 767px) {
        gap: 50px !important;
      }

      +.area-item {
        margin-top: -50px;

        @media (max-width: 767px) {
          margin-top: 100px;
        }

        .area-text {
          text-align: right;
          align-items: flex-end;

           @media (max-width: 767px) {
            text-align: left;
            align-items: flex-start;
           }
        }
      }

      .area-bck {
        position: relative;
        height: 720px;

        @media (max-width: 767px) {
          flex: none;
          min-width: 0;
          width: 100%;
          height: auto;
          min-height: 350px;
        }

        img {
          width: auto;

          &.img-bck {
            z-index: -1;
            height: 100%;
            width: 100%;
            object-fit: cover;
            position: absolute;
            top: 0;
          }

          &.img-shape {
            position: relative;
            top: inherit;
            bottom: -50px;

            @media (max-width: 767px) {
              right: 30px !important;
              left: 30px !important;
              max-height: 300px;
              max-width: calc(100% - 60px);
            }
          }
        }
      }

      .area-text {
        @media (max-width: 767px) {
          padding-inline: 20px;
        }

        h3 {
          font-size: 1.35rem;
          font-family: "Lato", sans-serif;
          font-weight: 600;
          margin-bottom: 20px;
          text-transform: uppercase;
        }
      }

      &#gamesArea {
        h3 {
          color: var(--primaryBlue);
        }

        .img-shape {
          right: -50px;
        }
      }

      &#tvShowsArea {
        h3 {
          color: var(--primaryRed);
        }

        .img-shape {
          left: -50px;
        }
      }

      &#fitnessArea {
        h3 {
          color: var(--primaryGreen);
        }

        .img-shape {
          right: -50px;
        }
      }

      &#learningArea {
        h3 {
          color: var(--primaryYellow);
        }

        .img-shape {
          left: -50px;
        }
      }
    }
  }

  .video-bck {
    position: relative;
    padding: 0;
    padding: 280px 0;

    .video-claim {
      position: relative;
      z-index: 1;
    }

    video {
      z-index: 0;
      position: absolute;
      top: 0;
    }
  }

  .article-item {
    width: 100%;
    max-width: 48%;
    margin-bottom: 50px;
    cursor: pointer;
    transition: all .2s ease-out;

    &:hover {
      transform: scale(1.05) !important;
    }


    @media (max-width: 767px) {
      max-width: none;
    }

    img {
      width: 100%;
    }

    h4 {
      padding: 20px 0;
      margin-bottom: 20px;
      border-bottom: 1px solid var(--md-gray);
    }

    p {
      margin: 0;
      padding-right: 80px;
      color: var(--gray);

      @media (max-width: 767px) {
        padding-right: 0;
      }
    }
  }


  /* Footer */

  .footer {
    background: var(--dark-gray);
    padding: 100px 0;

    .footer-logo-container {
      width: 100%;
      margin-bottom: 50px;
      padding-bottom: 50px;
      border-bottom: 1px solid var(--md-gray);
    }

    a {
      font-size: .925rem;
    }

    .footer-info {
      width: 100%;

      p {
        max-width: 480px;
        font-size: .875rem;
      }
    }

    .footer-links {
      li {
        padding-block: 24px;
        border-bottom: 1px solid var(--md-gray);
        width: 100%;
        min-width: 180px;

        @media (max-width: 767px) {
          min-width: 100%;
        }

        a {
          span {
            line-height: 14px;
            margin-left: 10px;
          }
        }
      }
    }
  }




}

@layer utilites {
  .background-black {
    background: var(--black) !important;
  }

  .background-dark {
    background: var(--dark-gray) !important;
  }

  .background-primary {
    background: var(--primary);
  }

  .background-white {
    background: var(--white);
  }

  .br-xS {
    border-radius: var(--border-radius-xS) !important;
  }

  .br-1 {
    border-radius: var(--border-radius-1) !important;
  }

  .br-2 {
    border-radius: var(--border-radius-2) !important;
  }

  .d-none,
  .hidden {
    display: none !important;
  }

  .d-flex {
    display: flex;

    &.equal-children {
      >* {
        flex: 1;
        min-width: 0;
      }
    }
  }

  .mobile-column {
    @media (max-width: 767px) {
      flex-direction: column !important;
    }
  }

  .mobile-reverse {
    @media screen and (max-width: 767px) {
      flex-direction: column-reverse !important;
    }
  }

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

  .d-flex .column {
    flex-basis: 50%;
    flex-grow: 1;
  }

  .justify-center {
    justify-content: center;
  }

  .align-start {
    align-items: flex-start;
    text-align: left;
  }

  .flex-wrap {
    flex-wrap: wrap;
  }

  .justify-between {
    justify-content: space-between;
  }

  .justify-end {
    justify-content: flex-end;
  }

  .align-center {
    align-items: center;
  }

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

  .text-left {
    text-align: left;
  }

  .text-right {
    text-align: right;
  }

  .text-white {
    color: var(--white);
  }

  .text-black {
    color: var(--black);
  }

  .text-gray {
    color: var(--gray);
  }

  .text-small {
    font-size: 0.75rem;
  }

  .col-4 {
    width: 35%;

    @media screen and (min-width: 768px) and (max-width: 1279px) {
      width: 45%;
    }

    @media screen and (max-width: 767px) {
      width: 100%;
    }
  }

  .col-7 {
    width: 60%;

    @media screen and (min-width: 768px) and (max-width: 1279px) {
      width: 50%;
    }

    @media screen and (max-width: 767px) {
      width: 100%;
    }
  }

  .col-6 {
    width: 50%;

    @media screen and (max-width: 767px) {
      width: 100%;
    }
  }

  .m-auto {
    margin: 0 auto;
  }

  .w-80 {
    width: 80%;
  }

  .w-100 {
    width: 100%;
  }

  .gap-1 {
    gap: 0.5rem;
  }

  .gap-2 {
    gap: 0.625rem;
  }

  .gap-3 {
    gap: 1rem;
  }

  .gap-20 {
    gap: 20px;
  }

  .gap-30 {
    gap: 30px;
  }

  .gap-50 {
    gap: 50px;
  }

  .gap-large {
    gap: 10%;
  }

  .mt-0 {
    margin-top: 0;
  }

  .mt-1 {
    margin-top: 0.625rem;
  }

  .mt-2 {
    margin-top: 1rem;
  }

  .mt-3 {
    margin-top: 1.5rem;
  }

  .mt-4 {
    margin-top: 2rem;
  }

  .mt-5 {
    margin-top: 2.5rem;
  }

  .mb-0 {
    margin-bottom: 0;
  }

  .mb-1 {
    margin-bottom: 0.625rem;
  }

  .mb-2 {
    margin-bottom: 1rem;
  }

  .mb-3 {
    margin-bottom: 1.5rem;
  }

  .mb-4 {
    margin-bottom: 2rem;
  }

  .mb-5 {
    margin-bottom: 2.5rem;
  }

  .pt-0 {
    padding-top: 0;
  }

  .pt-1 {
    padding-top: 0.625rem;
  }

  .pt-2 {
    padding-top: 1rem;
  }

  .pt-3 {
    padding-top: 1.5rem;
  }

  .pt-4 {
    padding-top: 2rem;
  }

  .pt-5 {
    padding-top: 2.5rem;
  }

  .pb-0 {
    padding-bottom: 0;
  }

  .pb-1 {
    padding-bottom: 0.625rem;
  }

  .pb-2 {
    padding-bottom: 1rem;
  }

  .pb-3 {
    padding-bottom: 1.5rem;
  }

  .pb-4 {
    padding-bottom: 2rem;
  }

  .pb-5 {
    padding-bottom: 2.5rem;
  }

  .p-2 {
    padding: 1rem;
  }
}