
@layer library, reset, base, demo;
@import 'https://unpkg.com/open-props@2.0.0-beta.5' layer(library);

@layer reset {

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

  :where(:not(dialog)) {
    margin: 0;
  }
}

@layer base {
  html {
    --nav-block-size: 74px;
    --brand-gradient: linear-gradient(227deg,
        #1400c7 0%,
        #00bbff 100%);

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

  body {
    font-family: 'Inter', sans-serif;
    min-block-size: 100dvb;

  }
}




@layer demo {
  .navbar {
    min-block-size: var(--nav-block-size);
    display: grid;
    position: fixed;
    inset-block-start: 0;
    inset-inline: 0;
    background-color: white;
    z-index: var(--layer-3);
    place-items: center end;
    padding-block: var(--size-3);
    padding-inline: var(--size-5);

    @media (width >=600px) {
      padding-inline: 6dvi;
    }
  }




  .nav-cta-btn {
    font-size: var(--font-size-1);
    font-weight: var(--font-weight-7);
    inline-size: max-content;
    white-space: nowrap;
    text-decoration: none;
    padding-block: var(--size-3);
    padding-inline: var(--size-7);
    border: var(--border-size-2) solid transparent;
    color: black;
    position: relative;
    isolation: isolate;

    background: linear-gradient(white, white) padding-box,
      var(--brand-gradient) border-box;
    border-radius: var(--radius-6);
    overflow: hidden;

    &::before {
      content: '';
      display: block;
      position: absolute;
      inset: 0;

      background: var(--brand-gradient);
      mix-blend-mode: screen;
    }

    &:hover {
      color: white;

      &::before {
        background: var(--brand-gradient) padding-box,
          var(--brand-gradient) border-box;
        background-repeat: no-repeat;
        background-size: contain;
        mix-blend-mode: normal;
        z-index: -1;
      }
    }
  }

  .section {
    --section-block-size: max(400px, 100dvb);
    display: grid;
    background-color: white;
    min-block-size: var(--section-block-size);
    position: relative;
    block-size: 100%;
    display: grid;

    >* {
      grid-area: 1/1;
    }
  }

  .section-wrapper {
    position: relative;
    display: grid;

    @media (width >=960px) {
      grid-template-columns: 1fr 1fr;
    }

    @media (width < 960px) {
      padding-block-start: calc(var(--nav-block-size) + var(--size-7));
      padding-block-end: var(--size-7);
    }
  }

  .video {
    display: block;
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
    position: relative;
    z-index: -1;
  }

  .content-wrapper {
    display: grid;

    @media (width < 960px) {
      gap: var(--size-7);
    }
  }

  .meta {
    display: grid;
    gap: var(--size-3);
  }

  .content {
    display: grid;
    inline-size: 100%;
    place-items: center;
    padding-block: var(--size-7);
    padding-inline: var(--size-5);

    @media (width >=960px) {
      padding: var(--size-10);
      min-block-size: 100cqb;
      place-items: center end;
    }

    @media (width < 960px) {
      gap: var(--size-5);
    }
  }

  .mobile-visual {
    inline-size: 100%;
    aspect-ratio: var(--ratio-square);

    @media (width >=960px) {
      display: none;
    }
  }

  .headline {
    font-size: var(--font-size-7);
    font-weight: var(--font-weight-4);
    max-inline-size: var(--size-content-1);
    text-wrap: pretty;

    @media (width < 960px) {
      font-size: var(--font-size-6);
    }
  }

  .desc {
    font-size: var(--font-size-4);
    line-height: 1.5;
    max-inline-size: 40ch;
    text-wrap: pretty;

    @media (width < 960px) {
      font-size: var(--font-size-3);
    }
  }

  .visual {
    display: grid;
    position: sticky;
    block-size: var(--section-block-size);
    inset-block-start: 0;
    container-type: size;

    @media (width < 960px) {
      display: none;
    }
  }

  .video-visual {
    inline-size: 100%;
    block-size: var(--section-block-size);
    display: block;
    position: sticky;
    inset-block-start: 0;
    isolation: isolate;
    filter: hue-rotate(210deg);
  }

  .card-wrapper {
    container-type: size;
    display: grid;
    place-items: center;
    overflow: clip;

    >* {
      grid-area: 1/1;
    }
  }

  .card {
    aspect-ratio: var(--ratio-square);
    inline-size: 70cqi;
    border-radius: var(--radius-3);
    scale: 0.4;
  }

  .card-img {
    display: block;
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
  }

  .card-1 {
    scale: 1;
  }

  .card-2 {
    translate: -35cqi 30cqb;
    opacity: 0.3;
  }

  .card-3 {
    translate: 0cqi 50cqb;
    opacity: 0.5;
  }

  .card-4 {
    translate: 45cqi 40cqb;
    opacity: 0.5;
  }

  .content-1 {
    --_text-gradient: linear-gradient(227deg,
        #650cda 0%,
        #cc00ff 100%);
  }

  .content-2 {
    --_text-gradient: linear-gradient(227deg,
        #dc28dc 0%,
        #00e1ff 100%);
  }

  .content-3 {
    --_text-gradient: linear-gradient(227deg,
        #00c0c7 0%,
        #00e1b8 100%);
  }

  .content-4 {
    --_text-gradient: linear-gradient(227deg,
        #00d49f 0%,
        #e5f500 100%);
  }

  .text-highlight {
    background: var(--_text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
  }
}

@supports (animation-timeline: scroll()) {
  body {
    timeline-scope: --content-1, --content-2, --content-3, --content-4;
  }

  .section {
    view-timeline-name: --section;
  }

  .content-1 {
    view-timeline-name: --content-1;
  }

  .content-2 {
    view-timeline-name: --content-2;
  }

  .content-3 {
    view-timeline-name: --content-3;
  }

  .content-4 {
    view-timeline-name: --content-4;
  }

  .card {
    animation-timing-function: linear;
    animation-fill-mode: forwards;
  }

  .card-1 {
    animation-timeline: --content-1;
    animation-name: slide-up-first-card;
  }

  .card-2 {
    animation-timeline: --content-2;
    animation-name: slide-up-card;
  }

  .card-3 {
    animation-timeline: --content-3;
    animation-name: slide-up-card;
  }

  .card-4 {
    animation-timeline: --content-4;
    animation-name: slide-up-card;
  }

  .video-visual {
    animation-timeline: --section;
    animation-range-end: exit 110%;
    animation-name: update-hue;
    animation-timing-function: step-end;
    animation-fill-mode: forwards;
  }

  @keyframes update-hue {
    0% {
      filter: hue-rotate(210deg);
    }

    25% {
      filter: hue-rotate(150deg);
    }

    45% {
      filter: hue-rotate(300deg);
    }

    60% {
      filter: hue-rotate(4deg);
    }
  }

  @keyframes slide-up-first-card {
    50% {
      translate: 0;
      opacity: 1;
    }

    90% {
      translate: 0 -50cqi;
      scale: 0.6;
    }

    100% {
      translate: 0 -100cqi;
      opacity: 0;
    }
  }

  @keyframes slide-up-card {
    50% {
      opacity: 1;
      translate: 0;
      scale: 1;
    }

    90% {
      opacity: 0.5;
      scale: 0.6;
      translate: 0 -50cqb;
    }

    100% {
      translate: 0 -100cqi;
      opacity: 0;
    }
  }
}


/* ===== NAVBAR SECTION ===== */

.navbar-brand {
   color: rgb(255, 255, 255);
   padding: 0 15px;
   padding-top: 10px;
   padding-bottom: 5px;
   font-family: 'Josefin Sans', sans-serif;
   font-size: 25px;
   font-weight: 400;
   letter-spacing: 3px;
}

.nav-menu {
   background: transparent;
   padding: 30px;
   position: fixed;
   width: 100%;
   z-index: 9999;
   background-color: #b496ff;

   transition: all .4s;
}

@media (max-width:34em) {
   .nav-menu {
       background: #000 !important;
   }
}

.nav-item {
   padding: 0 10px;
}

.menu-item {
   font-family: 'Josefin Sans', sans-serif;
   font-size: 15px;
   letter-spacing: 2px;
   color: rgb(255, 255, 255);
   text-transform: uppercase;
   font-weight: 900;
}

@media (max-width: 34em) {
   .menu-item {
       padding: 10px 10px 10px;
   }
}

.navbar-toggler {
   cursor: pointer;
   outline: 0;
}

.ham {
   transition: width 0.3s;
   background: #F9F8F7;
}

.line1, .line3  {
   width: 28px;
   height: 2px;
   margin: 6px;    
   transition:  0.4s;
   
}

.change .line1 {
   transform: rotate(-45deg) translate(-3px, 2px);
}

.change .line3 {
   transform: rotate(45deg) translate(-3px, -2px);
}

.menu-item:hover {
   color: yellow;
}

.nav-active {
   color: yellow;
}

.dropdown-item {
   font-family: 'Lato', sans-serif;
   text-transform: uppercase;
   font-size: 13px;
   letter-spacing: 1px;
}

.costum-navbar {
   padding-top: 5px;
   padding-bottom: 5px;
   background-color: #000 !important;  
   position: fixed;
}

/* ===== END OF NAVBAR SECTION ===== */


/* ===== HERO SECTION ===== */

.hero-section {
   background: linear-gradient(
       rgba(0, 0, 0, .7), 
       rgba(0, 0, 0, .6)),   
       url('https://images.pexels.com/photos/240572/pexels-photo-240572.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260');
       
   height: 100vh;
   background-size: cover;
   background-position: center;
   background-repeat: no-repeat;

   display: flex;
   justify-content: center;
   align-items: center;
}

.text-hero {
   font-family: 'Josefin Sans', sans-serif;
   font-size: 70px;
   font-weight: 700;
   letter-spacing: 2px;
}

.sub-text-hero {
   font-family: 'Dosis', sans-serif;
   letter-spacing: 9px;
   color: orange;
}

.nav-bottom {
   background: transparent !important;
   padding: 30px;
   position: absolute;
   width: 100%;
   
   bottom: 10px;
}

.item-bottom {
   padding: 0 20px;
   transition: .2s;
   font-size: 20px;
}

.item-bottom:hover {
   background: transparent;
   transform: translateY(-2px);
}

/* ===== END OF HERO SECTION ===== */


/* BEGIN CARD DESIGN */
.hero {
   display: inline-block;
   position: relative;
   width: 400px;
   height: 400px;
   border-radius: 30px;
   overflow:hidden;
   box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.3);
   margin: 30px;
 }

 @media (min-width:320px) and (max-width:768px) {
  .hero {
    width: 300px;
    height: 300px;
    margin: 30px auto;
  }
 }
 
 .hero-profile-img {
   width: 100%;
 }
 
 .hero-description-bk {
   background-image: linear-gradient(0deg , #e83ffb, #46d8fc);
   border-radius: 30px;
   position: absolute;
   top: 55%;
   left: -5px;
   height: 65%;
   width: 100%;
   transform: skew(19deg, -9deg);
 }
 
 .second .hero-description-bk {
   background-image: linear-gradient(-20deg , #fbff00, #5500ff)
 }
 
 .hero-logo {
   height: 80px;
   width: 80px;
   border-radius: 20px;
   background-color: #fff;
   position: absolute;
   bottom: 30%;
   left: 30px;
   overflow:hidden;
   box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.7);
 }
 
 .hero-logo img {
   height: 100%;
 }
 
 .hero-description {
   position: absolute;
   color: #fff;
   font-weight: 900;
   left: 150px;
   bottom: 26%;
 }
 
 .hero-btn {
   position: absolute;
   color: #fff;
   right: 30px;
   /* bottom: 10%; */
   padding: 10px 20px;
   border: 1px solid #fff;
   margin-top: 20px;
 }
 
 .hero-btn a {
   color: #fff;
   text-decoration: none;
 }
 
 .hero-date {
   position: absolute;
   color: #fff;
   left: 30px;
   bottom: 10%;
   font-size: 25px;
   font-weight: bold;
 }
 /* END CARD DESIGN */
 .btn i:before {
   width: 14px;
   height: 14px;
   position: fixed;
   color: #fff;
   background: #0077B5;
   padding: 10px;
   border-radius: 50%;
   top:5px;
   right:5px;
 }

.gamesection{
  text-align: center;
  margin-bottom: 100px;
}

 /*body {
  display: grid;
  grid-template-rows: 1fr 10rem auto;
  grid-template-areas: "main" "." "footer";
  overflow-x: hidden;
  background: #F5F7FA;
  min-height: 100vh;
  font-family: 'Open Sans', sans-serif;
}
*/
.footer {
  z-index: 1;
  --footer-background: #ebebeb;
  display: grid;
  position: relative;
  grid-area: footer;
  overflow-x: hidden;
  
}

.footer .bubbles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1rem;
  background: var(--footer-background);
  filter: url("index.css");
}

.footer .bubbles .bubble {
  position: absolute;
  left: var(--position, 50%);
  background: var(--footer-background);
  border-radius: 100%;
  animation: bubble-size var(--time, 4s) ease-in infinite var(--delay, 0s),
             bubble-move var(--time, 4s) ease-in infinite var(--delay, 0s);
  transform: translate(-50%, 100%);
}

.footer .content {
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;

  background: var(--footer-background);
}

.footer .content a,
.footer .content p {
  color: #F5F7FA;
  text-decoration: none;
}

.footer .content b {
  color: white;
}

.footer .content p {
  margin: 0;
  font-size: .75rem;
}

.footer .content > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer .content > div > div {
  margin: 0.25rem 0;
}

.footer .content > div > div > * {
  margin-right: .5rem;
}

.footer .content .image {
  align-self: center;
  width: 4rem;
  height: 4rem;
  margin: 0.25rem 0;
  background-size: cover;
  background-position: center;
}

@keyframes bubble-size {
  0%, 75% {
      width: var(--size, 4rem);
      height: var(--size, 4rem);
  }
  100% {
      width: 0rem;
      height: 0rem;
  }
}

@keyframes bubble-move {
  0% {
      bottom: -4rem;
  }
  100% {
      bottom: var(--distance, 10rem);
  }
}


.content{
  text-align: center;
}

.content h1, h2, h3, h4, h5, h6{
  color: Black;
}

