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

.container-1400 {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}
.sponsor-logos {
  display: flex;
  animation: scroll-slow 30s linear infinite;
  white-space: nowrap;
}
@keyframes scroll-slow {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}
.bubble-callout-right {
  position: relative;
  background: #E53E3E;
  color: white;
  border-radius: .4em;
  padding: 10px;
  font-size: 1.25rem;
  font-weight: bold;
  display: inline-block;
}
.bubble-callout-right:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-top-color: #E53E3E;
  border-bottom: 0;
  border-left: 0;
  margin-left: -5px;
  margin-bottom: -10px;
}
.bubble-callout-left {
  position: relative;
  background: white;
  color: black;
  border-radius: .4em;
  padding: 10px;
  font-size: 0.875rem;
  display: inline-block;
}
.bubble-callout-left:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-top-color: white;
  border-bottom: 0;
  border-left: 0;
  margin-left: -5px;
  margin-bottom: -10px;
}
.bubble-callout-content {
  position: relative;
  background: #FFA500;
  color: white;
  border-radius: .4em;
  padding: 10px;
  font-size: 0.875rem;
  white-space: nowrap;
  display: inline-block;
}
.bubble-callout-content:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-top-color: #FFA500;
  border-bottom: 0;
  border-left: 0;
  margin-left: -5px;
  margin-bottom: -10px;
}
.pattern-bg {
  background-color: #FFD700;
  background-image: radial-gradient(circle at 100% 150%, #FFC700 24%, #FFF8DC 25%, #FFF8DC 28%, #FFC700 29%, #FFC700 34%, #FFF8DC 35%, #FFF8DC 39%, #FFC700 40%, #FFC700 45%, #FFF8DC 46%, #FFF8DC 49%, #FFC700 50%, #FFC700 55%, #FFF8DC 56%, #FFF8DC 60%, #FFC700 61%, #FFC700 66%, #FFF8DC 67%, #FFF8DC 71%, #FFC700 72%, #FFC700 77%, #FFF8DC 78%, #FFF8DC 81%, #FFC700 82%, #FFC700 87%, #FFF8DC 88%, #FFF8DC 91%, #FFC700 92%, #FFC700 97%, #FFF8DC 98%, #FFF8DC 100%);
  background-size: 25px 25px;
}
.outlined-text {
  color: white;
  -webkit-text-stroke: 2px #E53E3E;
  text-stroke: 3px #E53E3E;
  font-weight: 900;
  position: relative;
}
.outlined-text::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  color: #ffffff;
  -webkit-text-stroke: 0;
  text-stroke: 0;
}
.scrolling-text-container {
  white-space: nowrap;
  position: relative;
  padding: 1rem 0;
  background-color: transparent;
}
.scrolling-text {
  display: inline-block;
  font-size: 2.25rem;
  font-weight: 800;
  color: #E53E3E;
  padding-right: 2rem;
  animation: none;
}
.quiz-white-bg {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.equal-image {
  width: 150px;
  height: 150px;
  object-fit: contain;
  background-color: white;
  padding: 10px;
  border-radius: 8px;
  margin: 0 auto 10px auto;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}
.main-description {
  background-color: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}
.donchaka-title-bg {
  background-color: white;
  padding: 0.5rem;
  border-radius: 0.5rem;
  display: inline-block;
}
.menu-btn {
  z-index: 60;
}
@media (max-width: 767px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #E53E3E;
    padding: 1rem;
    text-align: center;
  }
  .nav-menu.active {
    display: flex;
  }
  .nav-menu li {
    margin-bottom: 1rem;
  }
}
@media (max-width: 768px) {
  .main-visual-grid {
    display: flex;
    flex-direction: column;
  }
  .main-logo {
    width: 80%;
    height: auto;
  }
  .main-title {
    font-size: 2rem;
  }
}