html {
  /*font-size: 62.5%;*/
  overflow-x: hidden;
  scroll-padding-top: 9rem;
  scroll-behavior: smooth;
}

#loader.fade-out {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.dropdown:hover .dropdown-menu {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

.dropdown-menu {
  display: none;
  transition-delay: 500ms;
}

.nested-dropdown:hover .nested-dropdown-menu {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(0.625rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-overlay {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-dropdown-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.mobile-dropdown-content.open {
  max-height: 31.25rem;
  transition: max-height 0.5s ease-in;
}

.mobile-dropdown-content,
.mobile-nested-content {
  display: none;
}

.mobile-dropdown-content.open,
.mobile-nested-content.open {
  display: block;
}

.dropdown-transition {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.dropdown-transition.open {
  max-height: 31.25rem;
}

.typed-cursor {
  opacity: 1;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.swiper-slide {
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  transform: scale(0.9);
  opacity: 0.5;
  z-index: 1;
}

.swiper-slide-active {
  transform: scale(1);
  opacity: 1;
  z-index: 2;
}

.swiper-slide-next,
.swiper-slide-prev {
  opacity: 0.7;
}

.header {
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

#test {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.frosted-bg {
  background: rgb(3 90 118 / var(--tw-bg-opacity, 1));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@keyframes slideInLeft {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}

.text-animate-in {
  animation: slideInLeft 1s ease forwards;
}

.text-animate-out {
  animation: slideOutRight 0.8s ease forwards;
}

@keyframes slideUp {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideDown {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(100%);
    opacity: 0;
  }
}

.button-group {
  transform: translateY(100%);
  opacity: 0;
}

.btn-animate-in {
  animation: slideUp 1s ease forwards;
}

.btn-animate-out {
  animation: slideDown 0.5s ease forwards;
}

.top-desktop {
  top: 2.5rem;
}



@media (max-width: 1023px) {
  .top-desktop {
    top: 0;
  }
}

@media (max-width: 1281px) {
  .custom-container {
    max-width: 68.75rem;
  }
}

.custom-container {
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1024px) {
  .custom-container {
    max-width: 90rem;
    padding-left: 5rem;
    padding-right: 5rem;
  }
}

@media (min-width: 1536px) {
  .custom-container {
    max-width: 100rem;
    padding-left: 7rem;
    padding-right: 7rem;
  }
}

@keyframes slide-in {
  0% {
    opacity: 0;
    transform: translateY(-2.5rem);
  }
  50% {
    transform: translateY(0.3125rem);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-slide-in {
  animation: slide-in 0.8s ease-out;
}

@media (max-width: 87.5rem) {
  span,
  i,
  a,
  p,
  label {
    font-size: 0.75rem;
  }

  h1 {
    font-size: 1.125rem;
  }

  h3,
  h4 {
    font-size: 0.875rem;
  }

  .testfont {
    font-size: 0.625rem;
  }

  .custom-container {
    max-width: 71.875rem;
    margin: 0 auto;
    padding: 0.5rem;
  }
}

@media (min-width: 1401px) {
  .custom-container {
    max-width: 87.5rem;
  }

  .testfont {
    font-size: 0.75rem;
  }
}

@media (min-width: 1920px) {
  .custom-container {
    max-width: 100rem;
  }
}

@media (min-width: 2560px) {
  .custom-container {
    max-width: 128rem;
  }
}

/* @media (max-width: 1536px) and (max-height: 864px) {
  .custom-container {
    max-width: 1400px; 
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .testfont {
    font-size: 0.75rem;
  }
} */
