/* Ocultar link a si mismo en el footer */
.footer-link-timer { display: none; }

#body {
    background-color: black;
    color: white;
}

/* Estilo del pie de página */
footer {
    position: fixed;
    bottom: 0;
    right: 0;
    padding: 15px;
    font-size: 12px; /* Tamaño de fuente pequeño */
    color: #DDD;
}

#div1, #timer-setup {
    width: 100%;
}

#timer {
    transform: translateY(20%);
    font-family: 'Share Tech Mono', monospace;
    font-size: 28vw;
    text-align: center;
    text-shadow: 0px 0px 20px;
}

h1 {
    font-family: 'Bebas Neue', serif;
    font-size: 10em;
    text-align: center;
    text-shadow: 0px 0px 20px;
    padding-bottom: 20px;
}


#texto {
    font-family: 'Share Tech Mono', monospace;
    font-size: 10vmin;
    text-align: center;
    text-shadow: 0px 0px 20px black;
}

body {
    background-color: black;
    color: white;
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    /*height: 100vh;*/
}

.button-container {
    display: flex;
    flex-direction: column; /* Los botones se apilan uno encima del otro */
    align-items: center;
    gap: 20px;
}

.gigantic-button {
    background-color: black;
    color: white;
    border: 4px solid white;
    padding: 10px 0;
    width: 200px; /* Ancho fijo para todos los botones */
    cursor: pointer;
    border-radius: 8px;
    display: block; /* Cambiamos a display: block para que se muestren en una columna */
    margin: 10px auto; /* Centra los botones horizontalmente */
    width: 60%; /* Ancho fijo para todos los botones */
    font-size: 4vmin;
    cursor: pointer;
    border-radius: 8px;
    font-family: 'Share Tech Mono', monospace;
}

a.gigantic-button {
    text-decoration: none;
}

a.gigantic-button:hover {
    color: white;
}

.gigantic-button:hover {
    background-color: #555;
}


/**** TABATA *****/
.tabata-container {
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    width: 80%;
    margin: 0 auto;
}

input,
select{
    display: block;
    width: 60%;
    padding: 10px;
    background-color: black;
    color: white;
    border: 2px solid white;
    border-radius: 4px;
    margin: 0 auto 30px;
    height: 50px;
    font-size:24px;
    font-family: 'Share Tech Mono', monospace;
}

.tabata-container label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 3vmin;
    text-align: left;
    width: 60%;
}

.descanso {
    color: #53d9f0;
}

button.close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: black;
    color: white;
    border: 5px solid white;
    border-radius: 30%;
    padding: 10px;
    cursor: pointer;
    font-size: 2em;
}

.back-button {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: black;
    color: white;
    border: 2px solid white;
    border-radius: 30%;
    padding: 10px;
    cursor: pointer;
    font-size: 1.5em;
    font-family: 'Share Tech Mono', monospace;
}

a.back-button {
    text-decoration: none;
}


::placeholder {
    text-align: left; 
    color: #EEE;
    font-size: 16px;
    font-family: 'Share Tech Mono', monospace;
}

::-webkit-input-placeholder {
    text-align: left; 
}

:-moz-placeholder {
    text-align: left; 
}

@media (max-width: 768px) {
    .gigantic-button {
        padding: 5px 0;
        width: 80%; /* Ancho fijo para todos los botones en dispositivos más pequeños */
        font-size: 8vmin;
        text-decoration: none;
    }

    input,
    select {
        width: 80%;
        padding: 10px;
        height: 50px;
    }

    h1 {
        font-size: 4em;
    }

    .tabata-container label {
        width: 80%;
        font-size: 4vmin;
    }

    #timer {
        transform: translateY(40%);
        font-size: 18em;
    }
    
    #timer.minutosSegundos {
        transform: translateY(60%);
        font-size: 10em;
    }

    #timer-setup h1 {
        transform: translateY(35%);
    }

    #texto {
        transform: translateY(100%);
        font-size: 4em;
    }

    .back-button {
        display: none;
    }

    button.close-button {
        top: 20px;
        right: 20px;
        border: 2px solid white;
        padding: 6px;
        font-size: 1em;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    button.close-button {
        display: none;
    }

    #timer {
        font-size: 13em;
    }

    .back-button {
        display: none;
    }

    h1 {
        font-size: 4em;
    }
}