@tailwind base;
@tailwind components;
@tailwind utilities;

@font-face {
  font-family: 'OpinumNewC';
  src: url('../fonts/Opiumnewc.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Soyuz Grotesk';
  src: url('../fonts/Soyuz_Grotesk_Bold.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

body, h1, h2, h3, p, ul, li, div, span, a, button {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

header,
footer {
  width: 100%;
  display: flex;
  justify-content: center;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #fff;
  color: #333;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
}

.title-text {
  font-family: 'Soyuz Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #373B23;
}

.header-text {
  font-family: 'OpinumNewC', sans-serif;
  font-weight: 400;
  color: #373B23;
}

.content-header-number {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  line-height: 24px;
  color: #FFFFFF;
}

.content-header {
  font-family: 'OpinumNewC', sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 44px;
  color: #2C2F1C;
}

.content-header-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 26px;
  color: #373B23;
}

.content-text1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  color: #7D7D7D;
}

.content-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  color: #7D7D7D;
}

.content-text2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  color: #373B23;
}

.paragraph-header {
  font-family: 'OpinumNewC', sans-serif;
  font-weight: 400;
  color: #373B23;
}

.button-text {
  font-family: 'OpinumNewC', sans-serif;
  font-weight: 400;
  color: #2C2F1C;
}

.images-container img {
  width: auto;
  height: 100%;
}

.hero-image {
  width: 540px;
  height: auto;
  object-fit: cover;
}

.play-icon {
  transform: translate(-50%, -50%);
  width: 50px;
}

.play-icon:hover {
  transform: translate(-50%, -50%) scale(1.05);
}

.sloped-image {
  width: 100%;
  height: 100%;
  clip-path: ellipse(50% 50% at 50% 50%);
  transform: rotate(14deg);
}

.video-player {
  width: 100%;
  border-radius: 12px;
}

/* .fade-section {
  @apply opacity-0 scale-50 transition-all ease-in-out;
  transition-duration: 2s;
}

.fade-in {
  @apply opacity-100 scale-100;
}

.fade-out {
  @apply opacity-0 scale-50;
  transform-origin: center;
} */

.circular-text {
  animation: rotateText 15s linear infinite;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: white;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: rgb(177, 177, 177);
  border-radius: 10px;
  border: 2px solid rgb(150, 150, 150);
}

@keyframes rotateText {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(90deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.images-strip {
  animation: floatImages 20s linear infinite;
}

.images-strip-f {
  animation: floatImages-f 20s linear infinite;
}

@keyframes floatImages {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-1572px);
  }
}

@keyframes floatImages-f {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-880px);
  }
}

@media (min-width: 640px) {
  .sloping-card {
    border-radius: 24px;
    transform: rotate(0deg) skewX(3deg);
  }

  .video-player {
    width: 640px;
    height: 356.52px;
  }

  .sloping-card-0 {
    border-radius: 24px;
    transform: rotate(0deg) skewX(3deg) translateY(1px);
  }

  .sloping-card-1 {
    border-radius: 24px;
    transform: rotate(0deg) skewX(3deg) translateX(-1px);
  }

  .sloping-card-2 {
    border-radius: 24px;
    transform: rotate(0deg) skewX(3deg) translateX(-2px);
  }

  .sloping-card-3 {
    border-radius: 24px;
    transform: rotate(0deg) skewX(3deg) translateX(-3px);
  }

  .sloping-card-content {
    transform: rotate(0deg) skewX(-3deg);
  }

  .play-icon {
    width: inherit;
  }

  @keyframes floatImages-f {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-1510px);
    }
  }
}

@media (min-width: 768px) {
  .video-player {
    width: 768px;
    height: 427.83px;
  }
}

@media (min-width: 1024px) {
  .video-player {
    width: 1024px;
    height: 570.44px;
  }
}

@media (min-width: 1280px) {
  .video-player {
    width: 1280px;
    height: 713.05px;
  }
}

@media (min-width: 1536px) {
  .video-player {
    width: 1536px;
    height: 855.66px;
  }
}