body {
  background: url("images/bottom.png") no-repeat center center !important;
}

.container {
  height: 100%;
  width: 90vw;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo-container, .sublogo-container{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 0 1.25rem;
  text-align: center;
}

.logo-image-wrapper .sublogo-image-wrapper {
  width: 100%;
  height: 100%;
  
  text-align: center !important;
}

.logo-image {
  width: 50%;
  height: auto;
}

.code8k-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
}

/* Wrapper for the main image and overlays */
.image-group {
  position: relative;
}

/* Main image container - ensures it's above overlays */
.image-wrapper {
  position: relative;
  z-index: 10;
}

/* Main image styling */
.main-image {
  width: 100%;
  height: auto;
}

.overlay-group {
  position: absolute;
  width: 100%;
  top: 50%;
  z-index: 400;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
}

/* Right-side overlay */
.overlay-right {
  right: 6.5rem;
}

/* Left-side overlay */
.overlay-left {
  left: 6rem;
}

/* Overlay image styling */
.overlay-img {
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {  /* Adjusts for tablets and smaller devices */
  .overlay-img {
    max-width: 80%;  /* Reduce size to 80% of its original width */
  }
}

@media (max-width: 480px) {  /* Adjusts for mobile screens */
  .overlay-img {
    max-width: 60%;  /* Further reduce size for smaller screens */
  }
}

.overlay-image {
  text-align: center;
}

.game-code-input-background {
  background: url('images/input_8kbet.png') no-repeat center center !important; /* Add the background image */
  background-size: cover;
}

.game-code-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  border-radius: .5rem;
}

.game-code-title {
  margin-top: 1rem;
  font-weight: 700;
  text-align: center;
  margin-left: 5rem;
  margin-right: 5rem;
}

.text-white {
  color: white;
}

.input-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.input-form-item {
  width: 100%;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.input-wrapper {
  width: 100%;
  min-width: 8rem;
  max-width: 24rem;
}

.input-field-wrapper {
  width: 100%;
  display: flex;
}

.input-field {
  width: 100%;
  padding: 0.5rem;
  border-radius: 0.5rem;
  background-color: white;
  color: black;
}

.submit-button {
  background: url("images/check_button.png");
  background-size: cover;
  margin-bottom: 1rem;
  margin-top: .5rem;
  border-radius: 9999px;
  padding: 8px 15px;
  font-size: 14px;
  color: #606266;
  cursor: pointer;
}

.submit-button:hover {
  background-color: #cc7a00;
}


.carousel-container {
  width: 80%;
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

/* Carousel Track */
.carousel-track{
  width: calc(50% - 8px);
}

@media (max-width: 768px) {
  .carousel-container {
    flex-direction: column;
    align-items: center;
  }

  .carousel-track {
    width: 100%;
  }
}

.carousel-track a{
  overflow: hidden;
}

/* Individual Slide */
.carousel-slide {
  width: 100%;
  /* transition: transform 0.5s ease-in-out;
  animation: slide 10s infinite linear; */
}

.carousel-slide img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Animation */
@keyframes slide {
  0% { transform: translateX(0); }
  25% { transform: translateX(-50%); }
  50% { transform: translateX(-100%); }
  75% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}