* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  color: #333;
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  background-color: #323232;
  -webkit-overflow-scrolling: touch;
}

header {
  height: 80px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
}

main {
  margin-top: 20px;
}

p {
  margin-block-start: 0;
  margin-block-end: 0;
}

*,
*::before,
*::after {
  outline: none;
  -webkit-tap-highlight-color: transparent;
  -moz-tap-highlight-color: transparent;
  -o-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}

.bg-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-position: center center;
  background-repeat: no-repeat;
  filter: brightness(70%);
  background-size: cover;
}

.header__logo {
  width: 50vw;
  margin-left: 5vw;
  max-width: 260px;
}

.wrapper {
  margin: auto;
  width: 80%;
  max-width: 500px;
  background-color: transparent;
  color: #fff;
  border-radius: 10px;
  padding: 30px 40px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.wrapper h1 {
  font-size: 36px;
  text-align: center;
}

.wrapper .input-box {
  position: relative;
  width: 100%;
  height: 50px;
  margin: 30px 0;
}

.input-box input {
  width: 100%;
  height: 100%;
  background-color: transparent;
  border: none;
  outline: none;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 40px;
  font-size: 16px;
  color: #fff;
  padding: 20px 45px 20px 20px;
}

.input-box input::placeholder {
  color: #fff;
}

.input-box i {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
}

.wrapper .remember-forgot {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin: -15px 0 15px;
}

.remember-forgot label input {
  accent-color: #fff;
  margin-right: 3px;
}

.remember-forgot a {
  color: #fff;
  text-decoration: none;
}

.remember-forgot a:hover {
  text-decoration: underline;
  color: #568b8c;
}

.wrapper .btn {
  width: 100%;
  height: 45px;
  background-color: #fff;
  border: none;
  outline: none;
  border-radius: 40px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  font-size: 16px;
  color: #333;
  font-weight: 600;
  transition: all 0.8s ease-out;
}

.wrapper .btn:hover {
  background-color: #568b8c;
  color: #fff;
}

.wrapper .register-link {
  font-size: 14px;
  text-align: center;
  margin: 20px 0 15px;
}

.register-link p a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.register-link p a:hover {
  text-decoration: underline;
  color: #568b8c;
}

#login-page {
  display: none;
}

/* VIDEO VIEW */

#video-app {
  padding-right: 2vw;
  padding-left: 2vw;
  padding-bottom: 4vh;
  display: none;
}

.accordion {
  font-family: system-ui;
  color: white;
  border: 2px solid #acadac;
  cursor: pointer;
  margin-top: 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 8.5px 0;
  max-width: 412px;
  max-height: 80px;
  transition: all 0.3s ease-out;
  overflow: hidden;
}

.accordion.active {
  max-height: 364px;
  height: 364px;
  transition: all 0.3s ease-out;
}

.accordion.active .accordion-body {
  visibility: visible;
  transition: visibility 0.3s ease-in, opacity 0.3s ease-in;
  opacity: 1;
}

.accordion-title {
  font-weight: 700;
  font-size: 22px;
  padding: 1rem;
  padding-left: 3vw;
}

.accordion-body {
  padding: 3vw;
  display: flex;
  column-gap: 4vw;
  overflow: auto;
  padding: 12.8px;
  visibility: hidden;
  transition: visibility 0.3s ease-in, opacity 0.3s ease-in;
  opacity: 0;
}

/* hide scroll bar */
.accordion-body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.video-modal {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  display: none;
}

#video-app .video-play-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='100' width='100'%3E%3Ccircle cx='50' cy='50' r='40' stroke='black' stroke-width='5' fill='none' /%3E%3Cpolygon points='40,40 60,50 40,60' stroke='black' stroke-width='5' fill='black' /%3E%3C/svg%3E ");
  width: 14vw;
  height: 14vw;
  background-repeat: no-repeat;
  background-size: contain;
  font-size: 20px !important;
  line-height: 70px;
  display: block;
  filter: invert(1);
  max-width: 60px;
  max-height: 60px;
  margin-top: 4vh;
}

.accordion-body .video-card {
  height: 56vw;
  position: relative;
  border: 1px solid white;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0 4vw;
  row-gap: 2vh;
  flex: 0 0 56vw;
  max-width: 240px;
  max-height: 240px;
  background-color: #000000b3;
}

.video-card .title {
  font-size: 22px;
  font-weight: 700;
  color: white;
  padding-top: 1vh;
}

.video-card .length {
  font-size: 12.8px;
  color: white;
}

.loading {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #00000078;
  z-index: 1;
  justify-content: center;
  align-items: center;
  display: none;
}

.loading.show {
  display: flex;
}

.spinner {
  width: 75px;
  height: 75px;
  display: inline-block;
  border-width: 2px;
  border-color: rgba(255, 255, 255, 0.05);
  border-top-color: #fff;
  animation: spin 1s linear infinite;
  border-radius: 100%;
  border-style: solid;
}

.video-dimensions {
  width: 100%;
  height: 100%;
}

.vjs-big-play-button {
  top: 50% !important;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
}

.video-js.vjs-fullscreen {
  display: block;
}

.video-js {
  display: block;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

@media screen and (max-height: 450px) {
  .accordion.active .accordion-body .video-card {
    max-height: 150px;
  }

  .accordion.active .accordion-body .video-play-icon {
    max-width: 30px !important;
    max-height: 30px !important;
    margin-top: 28px !important;
  }

  .accordion.active .video-card .title {
    font-size: 15px;
  }

  .accordion.active .video-card .length {
    font-size: 15px;
  }

  .accordion.active {
    max-width: 100%;
    transition: all 0.3s ease-out;
    max-height: 264px;
    height: 264px;
  }

  .accordion {
    max-height: 70px;
    margin-top: 8px;
    padding: 18.5px 0;
  }

  .accordion-title {
    padding: 0;
    margin: auto;
    padding-left: 1rem;
  }

  header {
    height: 60px;
  }

  .header__logo {
    width: 200px;
  }
}
