@font-face {
  font-family: 'Roboto';
  src: url('/assets/fonts/Roboto-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('/assets/fonts/Roboto-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: 'Roboto', sans-serif;
}

.video-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.video-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("/assets/images/background.jpg") center center / cover no-repeat;
  z-index: 1;
}

#bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 2;
}

.content {
  position: relative;
  z-index: 3;
  color: #fff;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  padding: 20px;
}

.content .logo {
  max-width: 250px;
  width: 80%;
  height: auto;
  margin-bottom: 20px;
}

.content .slogan {
  font-size: 2rem;
  font-weight: 700;
  margin: 20px 0 0 0;
}

.content p {
  font-size: 1.5rem;
  margin: 20px 0 0;
}

#rotating-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.word {
  display: block;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.word.active {
  transform: translateY(0);
  opacity: 1;
}

 .word.exit {
  transform: translateY(-100%);
  opacity: 0;
  position: absolute;
}

@media (min-width: 992px) {
  .content .slogan {
    font-size: 3rem;
  }
}