::-webkit-scrollbar {
  display: none;
}

h1,
h2,
h3,
h4 {
  font-family: "Epilogue", sans-serif;
  color: #1e1e1e;
}

h5,
h6,
p {
  font-family: "Poppins", sans-serif;
  color: #1e1e1e;
}

.skeleton {
  background: #e5e5e5;
  background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
  background-size: 200% 100%;
  animation: shimmer 1.5s linear infinite;
}

.skeleton-card {
  border-radius: 1rem;
  width: 18rem;
  overflow: hidden;
}

.skeleton-image {
  width: 100%;
  height: 8rem;
}

.skeleton-title {
  height: 1.5rem;
  width: 80%;
  margin: 1rem 0;
  border-radius: 0.25rem;
}

.skeleton-text {
  height: 1rem;
  width: 100%;
  margin: 0.5rem 0;
  border-radius: 0.25rem;
}

.skeleton-button {
  height: 2.5rem;
  width: 60%;
  margin: 1rem 0;
  border-radius: 0.375rem;
}

.page-transition {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.page-transition.active {
  opacity: 1;
}

.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

.loader-container.hide {
  opacity: 0;
  pointer-events: none;
}

.loader-content {
  text-align: center;
}

.loader-progress {
  width: 200px;
  height: 4px;
  background-color: #f0f0f0;
  border-radius: 4px;
  margin: 20px auto;
  overflow: hidden;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background-color: #43766c;
  border-radius: 4px;
  transition: width 0.3s ease-out;
}

.loader-text {
  color: #43766c;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 15px;
  margin-top: 5px;
}

.animate {
  opacity: 0;
  visibility: hidden;
}

.animate.active {
  visibility: visible;
}

.fadeToRight.active {
  animation: fadeToRight 0.8s ease-in-out forwards;
}
.fadeToLeft.active {
  animation: fadeToLeft 0.8s ease-in-out forwards;
}
.fadeToBottom.active {
  animation: fadeToBottom 0.8s ease-in-out forwards;
}
.fadeToTop.active {
  animation: fadeToTop 0.8s ease-in-out forwards;
}

.staggered {
  opacity: 0;
  visibility: hidden;
}

.staggered.active {
  animation: stagger 0.5s ease-out forwards;
  visibility: visible;
}

.staggered:nth-child(1) {
  animation-delay: 0s;
}
.staggered:nth-child(2) {
  animation-delay: 0.1s;
}
.staggered:nth-child(3) {
  animation-delay: 0.2s;
}
.staggered:nth-child(4) {
  animation-delay: 0.3s;
}
.staggered:nth-child(5) {
  animation-delay: 0.4s;
}
.staggered:nth-child(6) {
  animation-delay: 0.5s;
}
.staggered:nth-child(7) {
  animation-delay: 0.6s;
}
.staggered:nth-child(8) {
  animation-delay: 0.7s;
}

.staggered.no-delay {
  animation-delay: 0s !important;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@keyframes stagger {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }
  50% {
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeToRight {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }
  60% {
    transform: translateX(15px);
  }
  80% {
    transform: translateX(-5px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeToLeft {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }
  60% {
    transform: translateX(-15px);
  }
  80% {
    transform: translateX(5px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeToBottom {
  0% {
    opacity: 0;
    transform: translateY(-100px);
  }
  60% {
    transform: translateY(15px);
  }
  80% {
    transform: translateY(-5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeToTop {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }
  60% {
    transform: translateY(-15px);
  }
  80% {
    transform: translateY(5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (orientation: portrait) and (max-width: 767px) {
  .portrait-only {
    display: block;
  }
  .landscape-only {
    display: none;
  }
}

@media screen and (orientation: landscape) and (max-width: 767px) {
  .portrait-only {
    display: none;
  }
  .landscape-only {
    display: block;
  }
}

body.modal-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}
