@import url("https://fonts.cdnfonts.com/css/seven-segment");
@import url("https://fonts.googleapis.com/css?family=Raleway");
@import url("background-animation.css");

.swiper-3d .swiper-wrapper {
  perspective: 1200px;
}

.elementor-35226 .elementor-element.elementor-element-7d8d58c5 {
  position: relative !important;
  z-index: -1 !important;
}

.swiper-slide {
  user-select: none;
}

.handi-famous * {
  box-sizing: border-box;
  font-family: "Raleway", sans-serif;
  margin: 0; /* HACK: override margin css from hello-elementor theme */
}

main.handi-famous {
  overflow: hidden;
}

.font-number {
  font-family: "Seven Segment", sans-serif;
}

.swiper-button-next,
.swiper-button-prev {
  background-position: center;
  background-repeat: no-repeat;
}
.swiper-button-next::after,
.swiper-button-prev::after {
  display: none;
}

.swiper-button-prev {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M0 22L22 0l2.1 2.1L4.2 22l19.9 19.9L22 44 0 22z' fill='%2ffff'/%3E%3C/svg%3E") !important;
}

.swiper-button-next {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M27 22L5 44l-2.1-2.1L22.8 22 2.9 2.1 5 0l22 22z' fill='%2ffff'/%3E%3C/svg%3E") !important;
}

.swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets
  .swiper-pagination-bullet {
  border-radius: 9999px !important;
  background-color: #001c36;
}
.swiper-slide-visible,
.swiper-slide-fully-visible,
.swiper-slide-active {
  will-change: transform;
}

body.handi-famous {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;

  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 16px;
  margin: 0;
  padding: 0;
}
body,
.bg-opaque {
  background-color: rgba(0, 0, 0, 0.5);
}
.bg-main {
  background-color: #001c36;
}
.bg-accent {
  background-color: #d1afa2 !important;
}
.bg-light-accent {
  background-color: #f7f2f0 !important;
}
.border-main {
  border-color: #001c36;
}
.border-accent {
  border-color: #d1afa2;
}
.btn {
  display: block !important;
  position: relative !important;
  transition: transform 0.05s ease-out;
  overflow: hidden;
}
.btn-text {
  color: black;
  font-weight: bold;
  position: relative;
  z-index: 2;
  transition: all 0.1s ease-out;
}
.btn:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  width: 100%;
  height: 0%;
  background-color: #001c36;
  z-index: 1;
  transition: all 0.1s ease-out;
}
.btn:hover:before {
  height: 100%;
}

.btn:hover .btn-text {
  color: white !important;
}

.btn:active {
  transform: scale(0.9, 0.9);
}
.swiper-slide {
  box-shadow: 0 0 15px -2px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  font-size: 22px;
  color: #000;
  background-color: white;
  /*background-color: #f7f2f0; /*rgb(255 237 213); tailwindcss orange-100 */
}

.card-image {
  background-size: cover;
  background-position: center;
  border-radius: 18px 18px 0 0;
}

.found {
  background-color: #86ead4;
}
.background-rotating-wow {
  z-index: 50;
  width: calc(100vw + 100vh);
  height: calc(100vw + 100vh);
  position: absolute;
  overflow: hidden;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.background-rotating-wow:after {
  content: "";
  display: block;
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(50% 50% at 50% 50%, #ffffff 0%, #000000 100%),
    conic-gradient(
      from 180deg at 50% 50%,
      #fff 10deg,
      #000 10deg,
      #000 20deg,
      #fff 20deg,
      #fff 30deg,
      #000 30deg,
      #000 40deg,
      #fff 40deg,
      #fff 50deg,
      #000 50deg,
      #000 60deg,
      #fff 60deg,
      #fff 70deg,
      #000 70deg,
      #000 80deg,
      #fff 80deg,
      #fff 90deg,
      #000 90deg,
      #000 100deg,
      #fff 100deg,
      #fff 110deg,
      #000 110deg,
      #000 120deg,
      #fff 120deg,
      #fff 130deg,
      #000 130deg,
      #000 140deg,
      #fff 140deg,
      #fff 150deg,
      #000 150deg,
      #000 160deg,
      #fff 160deg,
      #fff 170deg,
      #000 170deg,
      #000 180deg,
      #fff 180deg,
      #fff 190deg,
      #000 190deg,
      #000 200deg,
      #fff 200deg,
      #fff 210deg,
      #000 210deg,
      #000 220deg,
      #fff 220deg,
      #fff 230deg,
      #000 230deg,
      #000 240deg,
      #fff 240deg,
      #fff 250deg,
      #000 250deg,
      #000 260deg,
      #fff 260deg,
      #fff 270deg,
      #000 270deg,
      #000 280deg,
      #fff 280deg,
      #fff 290deg,
      #000 290deg,
      #000 300deg,
      #fff 300deg,
      #fff 310deg,
      #000 310deg,
      #000 320deg,
      #fff 320deg,
      #fff 330deg,
      #000 330deg,
      #000 340deg,
      #fff 340deg,
      #fff 350deg,
      #000 350deg,
      #000 360deg,
      #fff 360deg
    );
  background-blend-mode: multiply, multiply;
  /* radial-gradient(rgba(0, 0, 255, 0.5), rgba(0, 0, 0, 0)); */
  background-position: center;
  background-size: calc(100vw + 100vh);
  animation: spin 20s linear infinite;
  opacity: 0.25;
}

@keyframes spin {
  0% {
    transform: rotate(0deg) scale(1);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

/* Fade In Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 1s ease-in;
}

.handi-famous-category {
  width: 100%;
}

#category-score-container:first-child {
  padding-top: -0.25em;
}

.handi-famous-category-name {
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.handi-famous-category-percentage {
  height: 100%;
  position: relative;
  animation: fillBars 3.5s 1;
}

@keyframes fillBars {
  from {
    width: 0;
    background-position: 0% 50%;
  }
  to {
    width: 100%;
    background-position: 50% 100%;
  }
}
