@font-face {
  font-family: 'MyFont';
  src: url('fonts/Toasty Milk.otf') format('opentype');
}

 /*
  Things to add
  1. background color customization
  2. background audio play for mobile (closing google but it still plays)
  */
  

* { /* the '*' aesterick is the root. it decides the default styling for the page*/
  border-radius:30px;
  font-family: 'Toasty Milk', sans-serif;/*default font. no need to add it everywhere now*/
}

body {
  font-family: sans-serif;
  text-align: center;
  min-height:100%;
  max-height:600px;
  background: rgb(11, 13, 30) url("/photos/rain.gif") fixed left top no-repeat;
   background-blend-mode: multiply;
  background-size:100% 100%;
  display: flex;
  justify-content: center;
}

.muscPlayer{
  background-color: rgba(39, 50, 86, 0.327);
  border-radius:30px;
  max-width:700px;
  min-width:300px;
  width: 90%; 
  height:auto;
  margin:20px;
  padding:10px;
  color:white;

   animation: slideUp 0.8s ease-out forwards;
  opacity: 0; /* Start hidden */
}
p{
  color:rgb(85, 111, 157);
  padding:0px 5px;
}

.inputs input {
  width: 200px;
  margin: 10px;
  padding: 8px;
}

button {
  padding: 8px 16px;
  margin: 5px;
}

.videos {
  display: none; /* Hide video players visually */
}

.volume-controls {
  margin-top: 20px;
}

.volume-controls label {
  display: inline-block;
  margin:15px;
  font-weight: bold;
}

#loadingMessage {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.7); /* Optional: Semi-transparent background */
  color: white;
  font-size: 20px;
  z-index: 1000; /* Ensure it's on top */
}

.spinner {
  border: 10px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top: 10px solid #3469db;
  width: 50px;
  height: 50px;
  margin-right: 20px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
  }


@keyframes slideUp {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  60% {
    transform: translateY(-2px);
    opacity: 1;
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}
