* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    background: url(imagenes/fondo.jpg) no-repeat center center/cover;
}

/* Contenedor principal */
.contenedor-principal {
    width: 80vh;
    max-width: 600px;
    min-height: 350px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background-color: rgba(236, 234, 234, 0.8);
    border: 5px solid black;
    border-radius: 30px;
}

/* Botones */
.contenedor-botones {
    padding: 20px;
}

#cronometro {
    width: 100%;
    font-size: 70px;
    font-weight: bold;
    user-select: none;
    font-family: 'Noto Sans Thai', sans-serif;
}

.boton {
    width: 80px;
    height: 80px;
    font-size: 50px;
    margin: 10px;
    padding: 10px;
    cursor: pointer;
    border-radius: 50px;
}

.boton:hover {
    box-shadow: 3px -3px 38px 19px rgba(92,92,92,0.97);
}

#boton-inicio-pausa.iniciar,
#boton-inicio-pausa.iniciar i {
    background-color: rgb(0, 111, 9);
    border: 1px solid rgb(0, 111, 9);
}

#boton-inicio-pausa.pausar,
#boton-inicio-pausa.pausar i {
    background-color: rgb(221, 224, 9);
    border: 1px solid rgb(221, 224, 9);
}

#boton-reiniciar {
    background-color: rgb(160, 4, 4);
    border: 1px solid rgb(160, 4, 4);
}

/* Footer */
.footer {
    background-color: rgba(92,92,92,0.97);
    color: white;
    text-align: center;
    padding: 20px;
    width: 100%;
    position: relative; /* Para evitar problemas de superposición */
}

.footer p {
    margin: 0;
}
