@import url('font.css');

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

html,
body {
  height: 100%;
  overflow: hidden;
  font-family: "CG", sans-serif;
}

.swiper {
  width: 100%;
  height: 100vh;
}

.swiper-slide {
  position: relative;
  transition: transform 1s ease, opacity 1s ease;
  opacity: 0;
}

.swiper-slide-active {
  transform: scale(1.08);
  opacity: 1;
}

.swiper-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-container {
  position: relative;
  width: 100%;
  height: 100vh;
}
video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  z-index: 0;
}
video.active {
  opacity: 1;
  z-index: 1;
}

    .logo-wrapper {
      height: 100vh;
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
    }

.logo {
  width: 50%;
}


.footer-nav {
  display: flex;
  gap: 30px;
  justify-content: space-between;  /* or center */
  position: absolute;
  bottom: 50px;
  left: 100px;
  right: 100px;
  z-index: 10;
}


.nav-item {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  align-items: flex-end;
}

.nav-label {
  position: absolute;
  bottom: 130%;
  color: white;
  padding-bottom: 5px;
  font-size: 25px;
  font-family: "CG", sans-serif;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  white-space: nowrap;
}

.nav-item:hover .nav-label {
  opacity: 1;
  transform: translateX(0);
}

.nav-dot {
  height: 1.3vh;
  width: 11.8vw;
  position: relative;
  background-color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  overflow: hidden;
  transition: width 0.3s ease, height 0.3s ease;
}


.nav-dot::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #F37021;
  transition: left 0.4s ease;
  z-index: 0;
}

.nav-dot:hover::before {
  left: 0;
}

@media (max-width: 768px) {
  .logo {
    font-size: 24px;
    left: 20px;
  }
  .footer-nav {
    gap: 15px;
  }
  .nav-dot::after {
    font-size: 12px;
  }

  .nav-dot{
    display: none;
  }
}

