/* * {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial;
  font-size: 17px;
}

#myVideo {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%; 
  min-height: 100%;
}

.content {
  position: fixed;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  color: #f1f1f1;
  width: 100%;
  padding: 20px;
}

#myBtn {
  width: 200px;
  font-size: 18px;
  padding: 10px;
  border: none;
  background: #000;
  color: #fff;
  cursor: pointer;
}

#myBtn:hover {
  background: #ddd;
  color: black;
  } */



/* body {
  margin: 0;
}

.video-text-container {
  height: 100vh;
  width: 100%;
  position: relative;
}

.video-text-container video {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center 50%;

}

.video-text-container .text-container {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(40px, 12vw, 200px);
  text-transform: uppercase;
  background: #403af9;
  color: #000;
  mix-blend-mode: screen;
}





#myBtn,
#myBtn:after {
  width: 150px;
  height: 76px;
  line-height: 78px;
  font-size: 20px;
  font-family: 'Bebas Neue', sans-serif;
  background: linear-gradient(45deg, transparent 5%, #FF013C 5%);
  border: 0;
  color: #fff;
  letter-spacing: 3px;
  box-shadow: 6px 0px 0px #00E6F6;
  outline: transparent;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

#myBtn:after {
  --slice-0: inset(50% 50% 50% 50%);
  --slice-1: inset(80% -6px 0 0);
  --slice-2: inset(50% -6px 30% 0);
  --slice-3: inset(10% -6px 85% 0);
  --slice-4: inset(40% -6px 43% 0);
  --slice-5: inset(80% -6px 5% 0);
  
  content: 'ALTERNATE TEXT';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 3%, #00E6F6 3%, #00E6F6 5%, #FF013C 5%);
  text-shadow: -3px -3px 0px #F8F005, 3px 3px 0px #00E6F6;
  clip-path: var(--slice-0);
}

#myBtn:hover:after {
  animation: 1s glitch;
  animation-timing-function: steps(2, end);
}

@keyframes glitch {
  0% {
    clip-path: var(--slice-1);
    transform: translate(-20px, -10px);
  }
  10% {
    clip-path: var(--slice-3);
    transform: translate(10px, 10px);
  }
  20% {
    clip-path: var(--slice-1);
    transform: translate(-10px, 10px);
  }
  30% {
    clip-path: var(--slice-3);
    transform: translate(0px, 5px);
  }
  40% {
    clip-path: var(--slice-2);
    transform: translate(-5px, 0px);
  }
  50% {
    clip-path: var(--slice-3);
    transform: translate(5px, 0px);
  }
  60% {
    clip-path: var(--slice-4);
    transform: translate(5px, 10px);
  }
  70% {
    clip-path: var(--slice-2);
    transform: translate(-10px, 10px);
  }
  80% {
    clip-path: var(--slice-5);
    transform: translate(20px, -10px);
  }
  90% {
    clip-path: var(--slice-1);
    transform: translate(-10px, 0px);
  }
  100% {
    clip-path: var(--slice-1);
    transform: translate(0);
  }
}

@media (min-width: 768px) {
  .button-49,
  .button-49:after {
    width: 200px;
    height: 86px;
    line-height: 88px;
  }
}

#myBtn {
  display: flex;
  align-items: center;
  justify-content: center;
}

h2 {
  margin: 0;
  text-align: center;
  line-height: 0.9;
} */


/* ============================= */
/* VIDEO CONTAINER */
/* ============================= */

.video-text-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* Background Video */

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


/* ============================= */
/* TEXT OVERLAY */
/* ============================= */

.video-text-container .text-container {
  position: absolute;
  inset: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;

  font-family: "Bebas Neue", sans-serif;
  text-transform: uppercase;

  background: #403af9;
  mix-blend-mode: screen;
}


/* ============================= */
/* TITLE BOX */
/* ============================= */

.title-box {
  position: relative;
  padding: 20px 40px;
  max-width: 90vw;
}

.title-box h1 {
  margin: 0;
  font-size: clamp(40px, 10vw, 140px);
  color: black;
  text-align: center;
  line-height: 1;
}


/* ============================= */
/* ANIMATED BORDER */
/* ============================= */

.title-box::before {
  content: "";
  position: absolute;
  inset: 0;

  border: 4px solid transparent;
  border-radius: 10px;

  background: linear-gradient(
    90deg,
    #ff013c,
    #00e6f6,
    #f8f005,
    #ff013c
  );

  background-size: 300% 300%;

  /* Border mask trick */
  -webkit-mask:
    linear-gradient(#000 0 0) padding-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  animation: borderMove 6s linear infinite;
}

@keyframes borderMove {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 300% 50%;
  }
}


/* ============================= */
/* ENTER BUTTON */
/* ============================= */

.enter-btn {
  font-size: 28px;
  letter-spacing: 4px;
  cursor: pointer;
  color: black;

  transition: transform 0.25s ease, color 0.25s ease, text-shadow 0.25s ease;
}

.enter-btn:hover {
  transform: scale(1.1);
  color: #ff013c;
  text-shadow: 0 0 10px #ff013c;
}


/* ============================= */
/* MOBILE TWEAKS */
/* ============================= */

@media (max-width: 768px) {
  .title-box {
    padding: 15px 20px;
  }

  .enter-btn {
    font-size: 22px;
  }
}
