body {
    margin: 0;
    font-family: 'Press Start 2P', cursive;
    background: linear-gradient(180deg, #f2c670, #aa8ebb);
    height: 100vh;
}

span, p, label, input, button {
    font-family: 'Press Start 2P', cursive;
    word-wrap: break-word;
    word-break: break-all;
    font-size: 12px;
}

a {
    color: #eec570;
    text-decoration: none;
}

a:hover {
    color: #d9a8aa;
    text-decoration: underline;
}

#game-chat {
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 600px;
    background-color: rgba(51, 51, 51, 0.3);
    color: white;
    padding: 10px;
    margin: 0 0 5px 5px;
}

#game-chat .chat-box {
    display: flex;
    margin-top: 5px;
}

#game-chat .chat-box #chat-input {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #555;
    color:white;
    background: rgba(0, 0, 0, 0.5);
}

#game-chat .chat-box #chat-input:focus {
    outline: none;
    border: 1px solid #ffffff;
    color: black;
    background: rgba(255, 255, 255, 0.5);
}

#game-chat .chat-box #chat-send {
    width: 30px;
    padding: 2px;
    box-sizing: border-box;
    background-color: #555;
    color: white;
    border: none;
    cursor: pointer;
}

#game-chat #chat-messages {
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column-reverse;
}

#game-chat #chat-messages::-webkit-scrollbar {
    width: 10px; /* Width of the scrollbar */
}

#game-chat #chat-messages::-webkit-scrollbar-track {
    background: #f1f1f1; /* Color of the track */
}

#game-chat #chat-messages::-webkit-scrollbar-thumb {
    background: #888; /* Color of the scroll thumb */
}

#game-chat #chat-messages::-webkit-scrollbar-thumb:hover {
    background: #555; /* Color of the scroll thumb on hover */
}

#game-chat #chat-messages .chat-username {
    font-weight: bold;
}

#game-chat #chat-messages .chat-message {
    margin-left: 10px;
}


/* Menu */

#game-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100vw;
    top: 0;
    left: 0;
    position: absolute;
    overflow: hidden;
    background: linear-gradient(180deg, #f2c670, #aa8ebb);
}

.game-menu-background {
    transition: transform 0.3s linear, opacity 3s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: rgba(0, 0, 0, 0.5);
    filter: blur(10px) sepia(50%) hue-rotate(-25deg) saturate(115%);
    transform: scale(1.1);;
}

.game-menu-credits {
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: white;
    font-size: 12px;
    z-index: 1;
}

.game-menu-title {
    transition: transform 1.5s ease-in-out;
    transform: scale(1.1);
    width: 700px;
    max-width: 80%;
    margin-bottom: 25px;
    z-index: 1;
}

.game-menu-button {
    transition: opacity 1.5s ease-in-out;
    margin-top: 15px;
    width: 200px;
    height: 50px;
    background: rgba(214, 187, 231, 0.75);
    border: 3px solid #aa8ebb;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Press Start 2P', cursive; /* This is a pixelated font available on Google Fonts */
    color: #ffffff;
    text-align: center;
    z-index: 1;
}

.game-menu-button:hover {
    background: rgba(230, 173, 142, 0.75);
    border: 3px solid #c0876a;
}

.music-player {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: white;
    text-align: center;
    background: rgba(214, 187, 231, 0.75);
    backdrop-filter: blur(15px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border: 1px solid #e1c6ef;
    border-radius: 10px;
    padding: 2px 15px;
}

.music-player button {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.game-menu-options {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    z-index: 1;
    background: rgba(214, 187, 231, 0.25);
    border: 1px solid #e1c6ef;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(15px);
    min-height: 300px;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 500px;
}

.game-menu-options > div {
    margin-bottom: 10px;
}

hr {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.5)
}
