/*!
 * Start Bootstrap - SB Admin 1 v1.2.3 (https://startbootstrap.com/theme/sb-admin-2)
 * Copyright 2013-2020 Start Bootstrap
 * Licensed under MIT (https://github.com/StartBootstrap/startbootstrap-sb-admin-2/blob/master/LICENSE)
 */
/*!
 * Bootstrap v4.6.0 (https://getbootstrap.com/)
 * Copyright 2011-2021 The Bootstrap Authors
 * Copyright 2011-2021 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
 */
#content-wrapper {
  background-image: url('/storage/background.jpg');
  background-size: cover;
}
.logo {
  width: 400px;
  display: flex; 
  justify-content: center; 
  align-items: center;
  z-index: 10000;
}
#playMuteButton {
  position: absolute;
  top: 0;
  left: 0;
  margin: 30px;
  z-index: 10000;
}
.result-center {
  position: fixed;
  width: 768px;
  top: 100px;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10001;
}
.fixed-center {
  position: fixed;
  width: 33.3%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.blurred-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Adjust the background color and opacity as needed */
  transition: background-color 2s;
  z-index: 9999; /* Set a lower z-index to appear below the fixed-center element */
}
.gacha-box {
  width: 700px;
  margin: 0px 20px 20px 20px;
  padding: 20px;
  text-align: center;
}
.image-container {
  display: grid;
  margin-top: 50px;
  grid-template-columns: repeat(4, 1fr); /* Adjust the number of columns as needed */
  gap: 15px; /* Adjust the gap between images */
}
.image-container div {
  width: 150px; /* Adjust the width as needed */
  height: 100px; /* Adjust the height as needed */
  margin-top: 20px;
  background-image: url('/storage/images/closedbox.png');
  background-size: cover;
  background-position: center;
  cursor: pointer;
  display: flex; 
  justify-content: center; 
  align-items: center;
  transition: border-color 0.3s ease;
  animation: pulsebox 2s ease-in infinite;
}
.image-container div:hover {
  border: 2px solid #f6c23e;
  box-shadow: 0 0 10px #f6c23e;
}
.result-area {
  margin-bottom: 20px;
  border-radius: 20px;
  background-color: rgba(0,0,0,0.5);
}
.result-ticket {
  color: #f6c23e;
  font-weight: bold;
  margin-bottom: 10px;
}
.result-text1 {
  color: #f6c23e;
  font-weight: bold;
  margin-bottom: 10px;
}
.result-text2 {
  color: #f6c23e;
  font-weight: bold;
  margin-bottom: 10px;
}
.result-box {
  width: 50%;
  display: block; 
  margin: 0 auto;
  margin-bottom: 80%;
  -webkit-user-drag: none; /* Safari/Chrome */
  -khtml-user-drag: none; /* Konqueror */
  -moz-user-drag: none; /* Firefox */
  -o-user-drag: none; /* Opera */
  user-drag: none; /* Generic */
}
.result-target {
  border: 2px solid #f6c23e;
  border-radius: 5px;
  box-shadow: 0 0 5px #f6c23e;
  -webkit-user-drag: none; /* Safari/Chrome */
  -khtml-user-drag: none; /* Konqueror */
  -moz-user-drag: none; /* Firefox */
  -o-user-drag: none; /* Opera */
  user-drag: none; /* Generic */
}
.animated-image {
  animation: moveImage 4s ease-in-out;
  opacity: 1; /* Add opacity property */
}
.animated-target {
  animation: moveImage 4s ease-in-out, pulse 0.5s ease-in infinite;
  opacity: 1; /* Add opacity property */
}
@keyframes moveImage {
  0% {
      margin-bottom: 0;
      opacity: 0; /* Add opacity property */
  }
  100% {
      margin-bottom: 80%; /* Adjust the margin top value as needed */
      opacity: 1; /* Add opacity property */
  }
}
@keyframes pulse {
  25%  {transform: scale(0.9);}
  75%  {transform: scale(1.1);}
}
@keyframes pulsebox {
  25%  {transform: scale(0.95);}
  75%  {transform: scale(1.05);}
}
/* Media Queries */
@media (max-width: 640px) {
 #content-wrapper {
  background-size: contain;
 }
 .logo {
  width: 300px;
 }
 #playMuteButton {
  margin: 15px;
 }
 .fixed-center {
  width: 80%;
 }
 .gacha-box {
  width: 100%;
 }
 .image-container {
  grid-template-columns: repeat(2, 1fr);
 }
 .image-container div {
  margin: 0 auto;
 }
 .result-ticket {
  font-size: 10px;
 }
 .result-text1 {
  font-size: 10px;
 }
 .result-text2 {
  font-size: 10px;
 }
}