@import url("https://fonts.googleapis.com/css2?family=Karla:wght@300;400;500;600;700&display=swap");

* {
  padding: 0;
  border: 0;
  margin: 0;
  box-sizing: border-box;
  outline: none;
  font-family: "Karla", sans-serif;
}

#blocked__box {
  visibility: hidden;
  opacity: 0;
  display: grid;
  place-items: center;
  color: white;
  position: fixed;
  z-index: 99999;
  inset: 0;
  background: #1d1d1b80;
  backdrop-filter: blur(6px);
}
#blocked__box[data-active="true"] {
  visibility: visible;
  opacity: 1;
}

body {
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  padding: 4rem 0;
  bottom: 0;
  top: 0;
  position: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  gap: 24px;
  background: #1d1d1b;
}

body #logo {
  width: 76px;
  height: 46px;
  position: absolute;
  left: 50%;
  top: 15%;
  transform: translateX(-50%) translateY(-50%);

  transition: all 0.5s cubic-bezier(0.53, 0.52, 0.03, 1);
}

body #logo[data-active="false"] {
  top: 0;
  visibility: hidden;
  opacity: 0;
}

body .live__bar {
  width: 80%;
  min-height: 80px;
  z-index: 999;
  transform: translateY(-60px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 16px;
  visibility: hidden;
  opacity: 0;
  background-color: #3e3e3e;
  padding: 0 28px;
  transition: all 0.8s cubic-bezier(0.53, 0.52, 0.03, 1);
}

body .live__bar[data-active="true"] {
  transform: translateY(0);
  visibility: visible;
  opacity: 1;
}

body .live__bar #logo__live {
  width: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0 6px;
}

body .live__bar #logo__live img:nth-child(1) {
  width: 50px;
  height: 22px;
}
body .live__bar #logo__live img:nth-child(2) {
  width: 20px;
  height: 20px;
}

body .live__bar .users {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0 12px;
  font-size: 20px;
  color: white;
}

body .live__bar .users img {
  width: 20px;
  height: 20px;
}

body .clock__content {
  width: 100%;
  position: absolute;
  z-index: 999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

body #timer__content {
  width: 80%;
  height: fit-content;
  display: grid;
  place-items: center;
  margin-top: 60px;
  gap: 20px;
  transition: all 0.8s cubic-bezier(0.53, 0.52, 0.03, 1);
}

body #timer__content .text {
  width: 220px;
  text-align: center;
  font-size: 32px;
  color: white;
}

body #timer__content #clock {
  font-size: 72px;
  background: linear-gradient(270deg, #ffffff -5.69%, #606366 104.31%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

body #timer__content[data-active="false"] {
  transform: translateY(-60px);
  visibility: hidden;
  opacity: 0;
}

body #start__button {
  opacity: 0;
  width: 280px;
  height: 60px;
  font-size: 20px;
  background: linear-gradient(90deg, #008dff 0%, #00f280 100%);
  color: white;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.65s cubic-bezier(0.53, 0.52, 0.03, 1);
}

body #start__button[data-active="true"] {
  opacity: 1;
}

body #start__button:hover {
  transform: translateY(-12px);
}

body #video__content {
  width: 80%;
  height: auto;
  position: relative;
  display: grid;
  place-items: center;
  transform: translateY(60px);
  opacity: 0;
  transition: all 0.7s cubic-bezier(0.53, 0.52, 0.03, 1);
}

body #video__content #video__protector {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0 12px;
  text-align: center;
  backdrop-filter: blur(8px);
  background: #1d1d1bf5;
  border-radius: 16px;
  transition: all 0.7s cubic-bezier(0.53, 0.52, 0.03, 1);
}
body #video__content #video__protector div {
  width: 28px;
  height: 28px;
  background-image: url("./assets/icons/touch.svg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

body #video__content #video__protector[data-active="false"] {
  visibility: hidden;
  opacity: 0;
}

body #video__content #video__protector h1 {
  font-size: 12px;
  color: white;
}

body #video__content[data-active="true"] {
  opacity: 1;
  transform: translateY(0px);
}

body #video__content video {
  border-radius: 16px;
}

.cont-video {
  /* height: 300px; */
  height: 100%;
  width: 100%;
  background: rgba(#000, 10%);
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid #696969;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.cont-video img {
  width: 95%;
  height: auto;
}
@media (max-width:800px){
  .cont-video img {
    width: 100%;
    height: auto;
  }

}
.cont-video .vimeo-container {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: grid;
  place-items: center;
}
.cont-video .vimeo-container iframe {
  width: 100%;
  height: 100%;
  position: relative;
}

body .chat {
  width: 80%;
  height: fit-content;
  position: relative;
  opacity: 0;
  transform: translateY(60px);
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  border-radius: 16px;
  border: 1px solid #696969;
  background: #3e3e3e;
  transition: all 0.8s cubic-bezier(0.53, 0.52, 0.03, 1);
}

body .chat[data-active="true"] {
  opacity: 1;
  transform: translateY(0);
}
body .chat .title {
  width: 100%;
  height: 60px;
  display: grid;
  place-items: center start;
  padding-left: 20px;
  font-size: 16px;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  background: #696969;
  color: white;
}

body .chat .comments__wrapper {
  width: 100%;
  height: 200px;
  max-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  padding: 0 16px;
  overflow-y: scroll;
  scroll-behavior: smooth;
}
body .chat .comments__wrapper::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 41px;
  height: 30px;
  background: linear-gradient(to top, #1d1d1b6a, #ffffff00);
}
body .chat .comments__wrapper::-webkit-scrollbar {
  display: none;
}
body .chat .comments__wrapper .comment {
  width: 100%;
  height: fit-content;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  gap: 12px 0;
  padding: 20px 0;
  border-top: 1px solid #696969;
}
body .chat .comments__wrapper .comment:nth-child(1) {
  border-top: none;
}
body .chat .comments__wrapper .comment .comment__title {
  width: 100%;
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 0 20px;
}
body .chat .comments__wrapper .comment .comment__title span {
  font-size: 16px;
  color: white;
}
body .chat .comments__wrapper .comment .comment__title .profile {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background-color: #696969;
}
body .chat .comments__wrapper .comment .comment__title .profile img {
  width: 16px;
  height: 16px;
}
body .chat .comments__wrapper .comment p {
  font-size: 12px;
  font-weight: 300;
  padding-left: 16px;
  color: white;
}

body .chat .send__text {
  width: 100%;
  height: 40px;
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  border-top: 1px solid #696969;
}

body .chat .send__text #user__message {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 999;
  padding-left: 16px;
  border-bottom-left-radius: 16px;
  background: #3e3e3e;
  color: white;
}

body .chat .send__text button {
  width: 100%;
  height: calc(100% + 2px);
  font-size: 12px;
  border-bottom-right-radius: 16px;
  color: white;
  background: linear-gradient(90deg, #008dff 0%, #00f280 100%);
  cursor: pointer;
  position: relative;
  z-index: 999;
}

@media screen and (min-width: 1024px) {
  body {
    height: 100vh;
    padding: 0;
  }
  body .live__bar {
    position: absolute;
    margin-bottom: 0;
    left: 5%;
    transition: width 0.8s cubic-bezier(0.53, 0.52, 0.03, 1) 1s;
  }
  body .chat {
    width: 25%;
    transform: translateY(60px);
    position: absolute;
    left: 5%;
    border: none;
  }
  body .chat[data-active="true"] {
    width: 25%;
    transform: translateY(0);
    top: calc(20% + 80px + 20px);
  }
  body .live__bar[data-active="true"] {
    width: 25%;
    top: 20%;
  }

  body .live__bar {
    background: #3e3e3edf;
    backdrop-filter: blur(8px);
  }
}

@media screen and (min-width: 1280px) {
  body {
    align-items: end;
  }
  body #video__content {
    width: 60vw;
    height: 70vh;
    margin-right: 5%;
  }

  body .chat {
    z-index: 9990;
  }
}
