body{
    /* background-color:#ecf39e ; */
    color:#153e15;
    text-align: center;
}
.back-vid {
    position: fixed; /* ensures video remains fixed in background even if scrolled */
    right: 0;
    bottom: 0;
    z-index: -1;
    mix-blend-mode: overlay;
}

h1{
    color: white;
}
#ToggleThemeBtn{
    background-color: #eff982;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    box-shadow: 0 0 1.5rem rgb(185, 241, 19);
    color:black;
    position: absolute;
    top: 25px;
    left:30px;
    font-size: 25px;
}
.maincontainer{
    display: flex;
    justify-content: center;
    align-items: center; 
}
.container{
    background-color: #90a955;
    border-radius: 20px; 
    padding: 20px; 

} 
.playbox {
  background-color: #4f772d;
  width: 90vw;             
  max-width: 400px;         
  aspect-ratio: 1 / 1;     
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  gap: 1rem;
  padding: 15px;
  margin: 20px auto;        
}
.box {
  flex: 1 1 calc(33.333% - 1rem); 
  aspect-ratio: 1 / 1;            /* keeps it square */
  background-color: #ecf39e;
  color: #153e15;
  border-radius: 20px;
  box-shadow: 0 0 1rem rgb(161, 255, 161);
  text-align: center;
  font-size: 10vmin;
  border: none;
  font-family: Georgia, Times, 'Times New Roman', serif;
}
.resetbtn, .playbtn{
    background-color:#153e15;
    width: 120px;
    height: 50px;
    border-radius: 25px;
    border: none;
    box-shadow: 0 0 1rem rgb(55, 56, 55);
    color: white;
    margin-top: 30px;
    font-size: 15px;
}
.hidedisplay{
    display: none;
}
.winnerdisp{
    height: 100vh;
    width: auto;
    color: white;
    font-size: 40px;
}

@media (max-aspect-ratio: 16/9) {
    .back-vid {
        width: auto;
        height: 100%;
    }
}
@media (min-aspect-ratio: 16/9) {
    .back-vid {
        width: 100%;
        height: auto;
    }
}

/* confetti and extra animations */
#confetti {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    }

.confetti-piece {
    position: absolute;
    width: 6px;
    height: 6px;
    animation: confettiAnimation 2s ease-out infinite;
    }
    
@keyframes confettiAnimation {
    0% {
        transform: translateY(0) rotate(0);
    }
    100% {
        transform: translateY(1000px) rotate(180deg);
    }
}


