body {
    font-family: 'Segoe UI', sans-serif;
    background: #f7fafc;
    color: #333;
    text-align: center;
    margin: 0;
    padding: 0;
    padding-bottom: 80px;
}


h1 {
    background-color: #3498db;
    color: white;
    padding: 1rem;
    margin: 0;
    margin-bottom: 10px;
}

.container {
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scenes {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scene {
    position: relative;
    width: 200px;
    height: 300px;
    border: 2px solid #aaa;
    background: white;
    border-radius: 10px;
}

.surface {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
}

.ice {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: rgba(100, 180, 255, 0.3);
    border-radius: 7px;
    border: none;
    z-index: 1;
}

.label {
    margin-top: 1.5rem;
    font-weight: bold;
}

.chrono {
    margin-top: 0.25rem;
    font-size: 0.9rem;
    color: #555;
}

.button-container {
    margin-top: 1.5rem;
}

button {
    padding: 0.5rem 1.2rem;
    font-size: 1rem;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #2c80b4;
}



.boite {
    margin-top: 10px auto;
    font-weight: bold;
    margin: 10px auto;

    padding: 1rem;
    max-width: 600px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.resultats-container {
    margin-top: 1.5rem;
    font-style: italic;
}

.hidden {
    display: none;
}

.puddle {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 10px;
    background: rgba(100, 180, 255, 0.3);
    border-radius: 50%;
    border-top-left-radius: 80% 80%;
    border-top-right-radius: 80% 80%;
    border-bottom-left-radius: 20% 20%;
    border-bottom-right-radius: 20% 20%;

    z-index: 0;
    transition: width 0.2s ease, opcity 0.2s;
}

.info {
    text-align: left;
    margin-top: 1rem;
    padding: 1rem;
    background: #f0f8ff;
    border-left: 4px solid #3498db;
    border-radius: 5px;
    font-weight: normal;
}

.bilan {
    display: none;
    text-align: left;
    margin-top: 2rem;
    padding: 1rem;
    border: 2px solid #3498db;
    background: #eaf4fb;
    border-radius: 10px;
}

.chaine-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 600px) {
    .chaine-container {
        flex-direction: row;
        justify-content: center;
    }
}

.reservoir {
    border: 2px solid #3498db;
    border-radius: 10px;
    padding: 1rem;
    width: 200px;
    background: #eef6ff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fleche {
    text-align: center;
    font-size: 2rem;
}

select {
    margin: 0.5rem 0;
    width: 100%;
    padding: 0.3rem;
}