* {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: aqua;
    color: black;
    overflow: hidden;
    user-select: none;
}



@keyframes popeffect {
    0% { transform: scale(1);opacity: 1;}
    50% { transform: scale(2);opacity: 0.8;}
    100% { transform: scale(3);opacity: 0;}
    
} 

.topbar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 20px;
    position: fixed;
    top: 0;
    width: 100%;
    flex-wrap: wrap;
  }

#scoreboard {
    display: flex;
    gap: 20px;
}

#time-dropdown
{
    border-radius: 20px;
    padding: 5px 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.gamearea {
  position: relative;
  top: 100px;
  background: linear-gradient(to bottom right, #d1d1d1, #999);
  border: 8px solid rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.6) inset, 0 0 15px rgba(0, 0, 0, 0.3);
  width: 95vw;
  height: 80vh;
  margin: auto;
  padding: 5px;
  overflow: hidden;
  max-width: 1200px;
  transition: all 0.3s ease-in-out;
}

.baloons {
    background-color: transparent;
    padding: 3px;
    border: none;
    text-shadow: 6px 5px 5px rgb(41, 41, 41);
    font-size: 30px;
    cursor: pointer;
    position: absolute;
    animation: floatIn 0.5s ease-out;
}

@media (max-width: 768px) {
  .gamearea {
    margin-top: 50px;
    height: 70vh;
  }
  
  #over {
    font-size: 16vw;
  }
}

@media (max-width: 480px) {
  .gamearea {
    margin-top: 80px;
  }
  
  #over {
    font-size: 20vw;
  }
}


@keyframes floatIn {
  from { transform: translateY(100vh); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}


#over {
  transition: visibility 0.3s, opacity 0.3s ease-in-out;
  opacity: 1;
}


@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0.4; }
  100% { opacity: 1; }
}


  #over {
    font-size: 3vw;
    padding-top: 50px;
  }


.pop {
    animation: popeffect 0.15s ease-out forwards;
}



h1 {
    margin: 20px 0;
    padding: 10px;
}

#over p {
  font-size: 30px;
  color: yellow;
  margin-top: 20px;
}





#over {
    color: white;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    padding-top: 100px;
    font-size: 4vw;
    text-align: center;
    position: absolute;
    top: 0;
    z-index: 5;
    visibility: hidden;

}



.button-64 {
  align-items: center;
  background-image: linear-gradient(144deg,#AF40FF, #5B42F3 50%,#00DDEB);
  border: 0;
  border-radius: 8px;
  box-shadow: rgba(151, 65, 252, 0.2) 0 15px 30px -5px;
  color: #FFFFFF;
  font-size: 20px;
  justify-content: center;
  padding: 5px 5px;
  cursor: pointer;
}

.button-64:active,
.button-64:hover {
  outline: 0;
}

.button-64 span {
  background-color: rgb(5, 6, 45);
  padding: 16px 24px;
  border-radius: 6px;
  width: 100%;
  height: 100%;
  transition: 300ms;
}

.button-64:hover span {
  background: none;
}

@media (min-width: 768px) {
  .button-64 {
    font-size: 24px;
    min-width: 196px;
  }
}
