body {
    margin: 0;
    overflow: hidden;
    background: #000000;
    color: #87ceeb;
    font-family: Arial, sans-serif;
}

.game-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.canvas-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#mazeCanvas {
    border: 1px solid #87ceeb;
    background: #000000;
}

#level-display {
    margin: 10px;
    font-size: 20px;
}

#settings-btn {
    margin: 10px;
    padding: 8px 15px;
    background: #444444;
    color: #87ceeb;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

#settings-btn:hover {
    background: #555555;
}

#settings-menu {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #333333;
    padding: 20px;
    border-radius: 10px;
    z-index: 1000;
    text-align: center;
    width: 300px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

#settings-menu.hidden {
    display: none;
}

#settings-menu button {
    margin: 5px;
    padding: 8px 15px;
    background: #555555;
    color: #87ceeb;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

#settings-menu button:hover {
    background: #666666;
}

#settings-menu label {
    display: block;
    margin: 10px 0;
    font-size: 16px;
}

#settings-menu input[type="range"] {
    width: 80%;
}

#settings-menu input[type="checkbox"] {
    margin-right: 5px;
}

#about-section, #contact-section {
    margin-top: 10px;
    font-size: 14px;
}

#level-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #333333;
    padding: 20px;
    border-radius: 10px;
    z-index: 1000;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

#level-popup.hidden {
    display: none;
}

#level-message {
    font-size: 18px;
}

@media (max-width: 800px) {
    #mazeCanvas {
        width: 100%;
        height: auto;
    }
}