* {
  user-select: none;
}
body {
  font-family: Arial, sans-serif;
  background-image: url(./img/Untitled.jpg);
  background-size: 100%;
  background-repeat: no-repeat;
  margin: 0;
}

.form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 50%;
  margin: 20% auto;
  padding: 20px;
  overflow: visible;
}

#raffle {
  display: none;
}

.input-container {
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.input-container input,
.input-container button {
  margin: 10px;
}

.modal {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: -100%; /* Start off the screen */
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
  width: 17rem; /* Adjust width as needed */
  transition: bottom 0.5s ease;
  z-index: 1000; /* Ensure it appears above other content */
  height: max-content;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
  display: none; /* Hidden by default */
  z-index: 999; /* Below the modal */
}

.modal.show {
  bottom: 30%; /* Adjust to center vertically */
}

.modal-content {
  width: 100%;
  display: inline-block;
}

.modal-header {
  padding: 1rem;
}

.modal-header img {
  width: 12rem;
  display: flex;
  margin: auto;
}

.modal-footer {
  margin-bottom: 5px;
  text-align: center;
}

/* .close {
    cursor: pointer;
    padding: 5px 10px;
    background-color: rgb(220, 46, 34);
    color: white;
    border: none;
    border-radius: 5px;
} */
/*Amarillo: 248-192-6*/
.open-modal {
  padding: 10px 20px;
  background-color: rgb(22, 145, 65);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
}

input[type="text"],
input[type="tel"] {
  width: 100%;
  border-radius: 5px;
  border: 1px solid;
  box-sizing: border-box;
  padding: 3px 5px;
}

.item-display2,
.item-display1 {
  width: 90%;
  /* height: 120px; */
  overflow: hidden;
  border: 2px solid #ccc;
  border-radius: 8px;
  display: block;
  margin: 10px auto;
  font-size: 24px;
}

.item-display2 img,
.item-display1 img {
  width: 100%;
  height: auto;
}

.item-description {
  display: none;
  width: 80%;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  margin: auto;
  font-size: 18px;
}

.item {
  display: none; /* Hide all items initially */
}

.item.active {
  display: flex; /* Show the active item */
}
.footer {
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  margin-left: 43%;
  position: absolute;
  bottom: 0;
}
.footer img {
  width: 30px;
  margin-left: 10px;
}
#startButton {
  display: flex;
  margin: 10px auto;
  justify-content: center;
  padding: 10px 20px;
  background-color: rgb(22, 145, 65);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 50%;
  animation: enlarge-shrink 2s infinite;
}

@keyframes enlarge-shrink {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

#muteButton {
  background-repeat: no-repeat;
  background-size: contain;
  display: flex;
  position: relative;
  top: 10px;
  left: 93%;
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  body {
    overflow: auto;
  }
  .modal {
    width: 18rem;
  }
  .modal.show {
    bottom: 30%;
  }
  .modal-header img {
    width: 10rem;
  }
  .item-description {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  body {
    overflow: auto;
  }
  .modal {
    max-width: 17rem;
  }
  .modal.show {
    bottom: 30%;
  }
  .modal-header img {
    max-width: 10rem;
  }
  .item-description {
    font-size: 16px;
  }
}
