body {
  position: relative;
  z-index: -1;
  display: flex;
  height: 100vh;
  width: 100vw;
  overflow-x: hidden;
  flex-direction: column;
  background-image: url("/assets/images/home-bg3.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-blend-mode: overlay;
  background: #141414 !important;
  color: #f8fafc !important;
}

nav {
  position: relative;
  margin-top: 10px;
  z-index: 100;
}
nav ul {
  background: #222222 !important;
  color: #f8fafc !important;
}
nav ul li a {
  color: inherit !important;
}
@media (min-width: 1024px) {
  nav ul li a:hover {
    background-color: rgb(47, 47, 47) !important;
  }
}
@media (max-width: 1024px) {
  nav ul {
    background: rgba(10, 15, 15, 0.85) !important;
  }
}
nav .logo {
  filter: initial !important;
}

.content {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding-top: 5vh;
}

.home-book-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.home-book-slider {
  width: 100%;
  max-width: 1100px;
  height: 450px;
  position: relative;
}

@keyframes test {
  from {
    filter: brightness(0);
  }
  to {
    filter: brightness(0.35);
  }
}
.book-cont {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  gap: 50px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 1s cubic-bezier(0.25, 1, 0.3, 1), visibility 1s cubic-bezier(0.25, 1, 0.3, 1);
}
.book-cont .bg-video {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0);
  transition: filter 3s ease-in-out;
}
.book-cont .left {
  display: flex;
  width: 300px;
  height: 100%;
  aspect-ratio: 2/2.8;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: rgba(157, 183, 224, 0.4) 0px 0px 30px;
  cursor: pointer;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateX(-50px) scale(0.97);
  transition: opacity 1s cubic-bezier(0.25, 1, 0.3, 1), transform 1s cubic-bezier(0.25, 1, 0.3, 1);
}
@media (min-width: 1024px) {
  .book-cont .left:hover {
    box-shadow: rgba(255, 218, 171, 0.5) 0px 0px 30px;
    transform: scale(1.01) !important;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.3, 1);
  }
}
.book-cont .left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.3, 1);
  border: #0e0e0e 1px solid;
}
.book-cont .right {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  color: #fff;
  padding: 16px 0 30px;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 1s cubic-bezier(0.25, 1, 0.3, 1), transform 1s cubic-bezier(0.25, 1, 0.3, 1);
}
.book-cont .right a {
  margin-top: 20px;
  font-size: 0.85rem;
  color: #fff;
  text-decoration: none;
  font-style: normal;
  font-weight: 500;
  width: fit-content;
  padding: 12px 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 40px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.3, 1);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.book-cont .right a::after {
  content: "\2192";
  margin-left: 10px;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}
@media (min-width: 1024px) {
  .book-cont .right a:hover {
    background: rgba(255, 255, 255, 1);
    color: #141414;
    border-color: rgba(255, 255, 255, 1);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
  }
  .book-cont .right a:hover::after {
    transform: translateX(5px);
  }
}
.book-cont .right h1 {
  display: block;
  margin: 0 0 5px 0;
  padding: 0;
  font-size: 2rem;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.book-cont .right h2 {
  display: block;
  margin: 0 0 12px 0;
  padding: 0;
  font-size: 1.05rem;
  opacity: 0.9;
  line-height: 1.5;
}
.book-cont .right p {
  display: block;
  margin: 0 0 10px 0;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  opacity: 0.8;
  max-height: 180px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) rgba(255, 255, 255, 0.03);
}
.book-cont .right p::-webkit-scrollbar {
  width: 5px;
}
.book-cont .right p::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
}
.book-cont .right p::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  transition: background 0.3s ease;
}
.book-cont .right p::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

.book-cont.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.book-cont.active .bg-video {
  filter: brightness(0.35);
}
.book-cont.active .left {
  opacity: 1;
  transform: translateX(0) scale(1);
  transition-delay: 0.04s;
}
.book-cont.active .right {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.15s;
}

.slider-dots {
  display: flex;
  gap: 10px;
  margin-top: 40px;
  justify-content: center;
  position: relative;
  z-index: 20;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: background 0.4s cubic-bezier(0.25, 1, 0.3, 1), transform 0.4s cubic-bezier(0.25, 1, 0.3, 1);
}

.dot.active {
  background: #fff;
  transform: scale(1.4);
}

.slider-nav {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1100px;
  transform: translate(-50%, -100%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  padding-inline: 15px 80px;
  z-index: 20;
  padding-right: 80px;
}
@media (max-width: 1200px) {
  .slider-nav {
    width: 100%;
    left: 0;
    transform: translateY(-75%);
    padding-right: 15px;
  }
}

.slider-nav button {
  pointer-events: auto;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgb(173, 173, 173);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.375rem;
  color: rgba(0, 0, 0, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.3, 1);
}
@media (min-width: 1024px) {
  .slider-nav button:hover {
    box-shadow: rgba(0, 0, 0, 0.1803921569) 0 0 15px;
  }
}

@media (max-width: 1024px) {
  nav {
    margin-top: 0;
  }
  .home-book-container {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding-bottom: 12px;
  }
  .slider-dots {
    height: 12px;
  }
  .home-book-slider {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    height: auto;
  }
  .book-cont {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
  }
  .book-cont.active .left {
    transform: scale(1);
  }
  .book-cont a.jost-font {
    margin-inline: auto;
  }
  .book-cont .left {
    width: auto;
    height: 38vh;
    aspect-ratio: 2/2.8;
    transform: scale(0.4);
  }
  .book-cont .right {
    text-align: center;
    transform: none;
    padding: 0 10px;
    flex: 1;
    min-height: 0;
  }
  .slider-nav {
    position: absolute;
    top: 19vh;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    padding: 0 15px;
    z-index: 20;
  }
  .slider-nav button {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }
}
nav .hamburger span {
  background: #fff !important;
}