@import url(./fonts.css);

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: dana !important;
  overflow: hidden;
}

.main {
  width: 100vw;
  height: 100vh;
  background-image: url("../assets/background.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  position: relative;
  padding: 50px;
  z-index: 1;
}

.logo {
  width: 80px;
  height: auto;
}

.main::before {
  content: "";
  width: 100%;
  height: 100%;
  background-color: rgba(49, 56, 73, 0.2);
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.navbar .container-fluid a {
  color: white !important;
}

#loginRegisterBtn {
  border-radius: 30px;
  padding-left: 30px;
  padding-right: 30px;
  border-width: 2px;
}

.homeText {
  color: white !important;
  font-size: 48px;
  font-weight: 600;
  user-select: none;
}

.homeSubText {
  font-size: 24px;
  color: white !important;
  user-select: none;
  margin-top: 10px;
}

.homeContainer {
  padding-top: 250px;
}

.homeInput {
  width: 524px;
  border: 1px solid white;
  border-radius: 30px;
  /* background: rgba(255, 255, 255, 0); */
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  color: white;
  overflow: hidden;
}

.homeStartBtn {
  background-color: #31c4ae;
  float: left;
  padding-left: 30px;
  padding-right: 30px;
  border-radius: 30px;
  border: 2px solid #31c4ae;
  color: white;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
}

.btn:focus-visible {
  color: #31c4ae !important;
}

.homeStartBtn:hover,
.homeStartBtn:focus {
  background-color: white !important;
  border: 2px solid #31c4ae !important;
  color: #31c4ae !important;
}

/* .homeStartBtnText{
    box-shadow: 1px 1px 1px black;
} */

.text-slider {
  position: relative;
  height: auto;
  width: 300px;
}

.text {
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 9s infinite;
  user-select: none;
}

.text:nth-child(1) {
  animation-delay: 0s;
}
.text:nth-child(2) {
  animation-delay: 3s;
}
.text:nth-child(3) {
  animation-delay: 6s;
}

/* Animation keyframes */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  10% {
    opacity: 1;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(0);
  }
  40% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 0;
    transform: translateY(-20px);
  }
}

#bg-video {
  position: fixed; /* stay fixed behind everything */
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover; /* fill screen without stretching */
  z-index: -1; /* push behind your content */
  background-color: black; /* fallback */
}

.video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* adjust opacity for darkness */
  z-index: -1; /* between video and content */
}

@media (max-width: 600px) {
  .homeText {
    font-size: 12px;
  }

  .homeInput {
    width: 100%;
  }
  .main {
    padding: 10px;
  }
  .text {
    font-size: 12px;
  }
  .homeStartBtn {
    font-size: 1px;
    padding: 5px 10px;
  }
  .text-slider {
    width: 60%;
    margin-right: 10px !important;
  }
  .homeContainer {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0;
    height: calc(100vh - 112px);
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .homeContainer > div {
    width: 100%;
  }
}
