* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Bebas Neue", sans-serif;
    background-image: radial-gradient(circle, rgb(0, 0, 0), rgb(39, 36, 36), rgb(0, 0, 0));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100vw;
    font-size: calc(1vw + 1vh);
    overflow: hidden; /* Add this line */
}

.site-nav-link {
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 20;
    text-decoration: none;
    color: white;
    font-size: 1rem;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(0, 0, 0, 0.4);
}

.site-nav-link:hover {
    background: rgba(0, 0, 0, 0.65);
}

.hidden {
    display: none;
}

#main-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100vw;
  }

  #menu-title {
    font-size: 6vmax;
    color: white;
    text-shadow: 0px 0px 10px rgb(104, 20, 20);
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
    max-height: 10vh;
    white-space: nowrap;
    text-overflow: ellipsis;
}


#nickname-selection {
    border: 2px solid black;
    padding: 1rem;
    background-color: white;
    text-align: center;
    font-size: 2vmax;
}

#nickname-input {
    font-family: "Bebas Neue", sans-serif;
    font-size: 4rem;
    padding-bottom: 1px;
    border: 2px solid black;
    border-radius: 5px;
    width: 400px;
    text-align: center;
    font-size: 2vmax;
}

#choose-nickname-button {
    font-family: "Bebas Neue", sans-serif;
    font-size: 2rem;
    padding: 10px 20px;
    border: 2px solid black;
    border-radius: 5px;
    background-color: white;
    cursor: pointer;
    margin: 10px;
    font-size: 2vmax;
}

#choose-nickname-button:hover {
    background-color: #2080ce;
}

.enemy-red-shadow {
    filter: drop-shadow(0px 0px 5px red);
    }
    
#main-menu-text {
    color: white;
    font-size: 3.5vmax;
    text-align: center;
    margin-top: 2vmax;
  }

#start-button, #start-button-tutorial, #debug-button, #nextWaveButton {
    font-family: "Bebas Neue", sans-serif;
    font-size: 2.5vmax;
    padding: 1vmax 2vmax;
    background-color: #fff;
    border-radius: 20px;
    border: 2px solid black;
    cursor: pointer;
    margin-top: 2vmax;
    vertical-align: middle;
}

#start-button:hover, #start-button-tutorial:hover, #debug-button:hover {
    background-color: #2080ce;
    color: antiquewhite;
}

#worldwide-emoji {
    font-size: 2.5vmax;
}

#character-selection, #class-selection, #nickname-selection {
    border: 2px solid black;
    border-radius: 20px;
    background-color: white;
    text-align: center;
    font-size: 2vmax;
    height: 250px;
    width: 550px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
  
  .characters, #classes {
    display: flex;
    justify-content: space-around;
    margin: 1rem;
    font-size: 2rem;
  }
  
#characters button, #classes span {
    font-size: 4vmax;
    background-color: transparent;
    border: 2px solid rgb(64, 43, 139);
    border-radius: 50%;
    cursor: pointer;
    padding: 10px;
    margin: 10px;
}

#characters button:hover, #classes span:hover {
    background-color: #0a304e;
    color:antiquewhite;
}

#game {
  border: 5px solid black;
}

canvas {
    display: block;
    background-color: rgba(0, 0, 0, 0.1);
    position: absolute; /* Add this line */
    top: 0;             /* Add this line */
    left: 0;            /* Add this line */
}
