@font-face {
    font-family: Titan One;
    src: url(/~schickentendies/assets/TitanOne-Ds7Echb6.ttf) format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap
}

body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Titan One, cursive;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    font-size: .8rem;
    overflow: hidden
}

.menu {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #2563eb;
    padding: 1.5rem;
    border-radius: 20px;
    text-align: center;
    color: #fff;
    box-shadow: 0 0 30px #0000004d;
    width: 90%;
    max-width: 450px
}

.menu h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 0px #1E40AF;
    color: #fdf4ff
}

.menu p {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    color: #fff
}

.menu button {
    background-color: #f472b6;
    border: none;
    color: #1e3a8a;
    padding: 12px 24px;
    text-align: center;
    text-decoration: none;
    display: block;
    font-size: 1.2rem;
    margin: 15px auto;
    cursor: pointer;
    border-radius: 50px;
    transition: background-color .3s, transform .1s;
    font-family: Titan One, cursive;
    width: 80%;
    max-width: 200px;
    box-shadow: 0 4px #db2777
}

.menu button:hover {
    background-color: #f9a8d4;
    transform: translateY(-2px)
}

.menu button:active {
    transform: translateY(2px);
    box-shadow: 0 2px #db2777
}

#winOverlay {
    background-color: #1e90ff
}

#winOverlay h1 {
    font-size: 2.2rem;
    margin-bottom: .5rem
}

#winOverlay p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #fff
}

#pauseOverlay {
    background-color: #ff69b4e6
}

#pauseOverlay h1 {
    color: #fff
}

.volume-control {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    margin-top: 40px
}

.volume-control label {
    font-size: 26px;
    margin-right: 10px;
    color: #fff
}

.volume-control input[type=range] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 200px;
    height: 8px;
    background-color: #ccc;
    border-radius: 4px;
    outline: none;
    opacity: .7;
    -webkit-transition: .2s;
    transition: opacity .2s
}

.volume-control input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background-color: #fff;
    border-radius: 50%;
    cursor: pointer
}

.volume-control input[type=range]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background-color: #fff;
    border-radius: 50%;
    cursor: pointer
}

.volume-control input[type=range]:hover {
    opacity: 1
}

.controls-container {
    margin-bottom: 2rem;
    background-color: #2563ebe6;
    border-radius: 15px;
    padding: 1.5rem;
    margin: 2rem auto;
    width: 90%;
    max-width: 400px
}

.controls-title {
    color: #fdf4ff;
    font-size: 1.8rem;
    margin: 0 0 1.5rem;
    text-align: center;
    text-shadow: 2px 2px 0px #1E40AF
}

.controls-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem
}

.control-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem
}

.key-group {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    justify-content: center
}

.key {
    background-color: #f472b6;
    color: #1e3a8a;
    padding: .5rem .75rem;
    border-radius: 8px;
    font-size: 1rem;
    width: 1.5rem;
    text-align: center;
    box-shadow: 0 2px #db2777
}

.control-desc {
    margin-top: 1rem;
    color: #fff;
    font-size: 1rem;
    text-align: center
}

.mouse-icon {
    width: 1.5rem;
    background-color: #f472b6;
    border-radius: 8px;
    padding: .35rem .75rem;
    box-shadow: 0 2px #db2777
}

.spacebar-row {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: .5rem
}

.key.spacebar {
    width: 8rem;
    font-size: .9rem;
    padding: .5rem .75rem
}

#minimap-container {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 1px;
    background-color: #c76eac00;
    padding: 3px
}

#minimap {
    width: 150px;
    height: 150px;
    display: block
}