#back-button {
    margin-left: 1em;
    cursor: pointer;
}

body {
    margin: 0;
    padding: 0;
}

html, body, #map {
    height: 90%;
}

#chrono {
    font-weight: bold;
    margin-top: 1em;
    text-transform: uppercase;
}

.game-button {
    background-color: #3498db;
    border: 2px solid #3498db;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    margin-bottom: .3em;
    padding: 8px 15px;
    transition: all 0.3s ease;
}

.game-button:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

.game-button:disabled {
    background-color: #d8d8d8;
    border-color: #d8d8d8;
    cursor: not-allowed;
}

#title,div {
    text-align: center;
}

#penalty {
    opacity: 1;
    transition: opacity 1s ease;
}

.popup-ko .maplibregl-popup-content {
    background-color: rgba(255, 0, 0, 0.9);
    border-radius: 10px;
    box-shadow: 0px 0px 0px 2px rgb(0, 0, 0);
}

.popup-ok .maplibregl-popup-content {
    background-color: rgba(0, 255, 34, 0.9);
    border-radius: 10px;
    box-shadow: 0px 0px 0px 2px rgb(0, 0, 0);
}

.maplibregl-popup-tip {
    display: none !important;
}

@media (max-width: 600px) {
    body {
        font-size: 100%;
    }

    h1 {
        font-size: 5.5vw;
    }

    ul, li {
        padding: 3vw;
    }
}
