:root{
    --letras: rgb(255, 230, 37);
    --bkg: #fff;
}

* {
    box-sizing: border-box;
    margin: 0;
}
body{
    background-color: var(--bkg);
    height: 100%;
    overflow-x: hidden;
}

.pg1{
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    margin: 0;
    max-width: 100%;
    max-height: 100vh;
    background-image: url("1.gif");
    height: 40rem;
    position: relative;
}

.pg2{
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    margin: 0;
    max-width: 100%;
    max-height: 100vh;
    background-image: url("2.gif");
    height: 40rem;
    position: relative; /* Asegura que el temporizador esté dentro de este contenedor */
}
.pg3{
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    margin: 0;
    max-width: 100%;
    max-height: 100vh;
    background-image: url("3.gif");
    height: 40rem;
    position: relative; /* Asegura que el boton esté dentro de este contenedor */
}
.pg4{
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    margin: 0;
    max-width: 100%;
    max-height: 100vh;
    background-image: url("4.gif");
    height: 40rem;
    position: relative; /* Asegura que el boton esté dentro de este contenedor */
}
.pg5{
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    margin: 0;
    max-width: 100%;
    max-height: 100vh;
    background-image: url("5.gif");
    height: 40rem;
    position: relative; /* Asegura que el boton esté dentro de este contenedor */
}
.pg6{
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    margin: 0;
    max-width: 100%;
    max-height: 100vh;
    background-image: url("6.gif");
    height: 40rem;
    position: relative; /* Asegura que el boton esté dentro de este contenedor */
}
.timer{
    position: absolute;
    top: 35%; /* Ajusta la posición según desees */
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.7); /* Fondo translúcido */
    color: var(--letras);
    padding: 0.1rem;
    font-size: 1rem;
    font-family: "Roboto", serif;
    font-weight: 400;
    border-radius: 10px;
    box-shadow: 0px 0px 10px 0.5px black;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    font-family: "Schoolbell", serif;
    text-shadow: rgb(0, 0, 0) 1px 1px;
}
.time-value {
    font-size: 2rem; /* Tamaño del valor numérico */
    font-weight: bold;
}
.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 0.2rem; /* Espaciado entre bloques de tiempo */
}


.btn-ubi{
    background-color: rgba(255, 255, 255, 0.7); /* Fondo translúcido */
    color: var(--letras);
    position: absolute;
    top: 55%; /* Ajusta la posición según desees */
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0px 0px 10px 0.5px black;
    border-radius: 20px;
    padding: 0.5rem;
    font-family: "Schoolbell", serif;
    font-size: 1.5rem;
    text-shadow: rgb(0, 0, 0) 1px 1px;
}
.btn-ubi-a{
    text-decoration: none;
    color: var(--letras);
}

.btn-conf{
    background-color: rgba(255, 255, 255, 0.7); /* Fondo translúcido */

    position: absolute;
    top: 60%; /* Ajusta la posición según desees */
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0px 0px 10px 0.5px black;
    border-radius: 20px;
    padding: 0.5rem;
    font-family: "Schoolbell", serif;
    font-size: 1.5rem;
    text-shadow: rgb(0, 0, 0) 1px 1px;
}
.btn-conf-a{
    text-decoration: none;
    color: var(--letras);
}

.btn-music {
    position:absolute;
    top: 5%;
    right: 2%;
    background-color: rgba(255, 255, 255, 0.7);
    color: var(--letras);
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-family: "Schoolbell", serif;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0px 0px 10px 0.5px black;
    text-shadow: yellow 1px 1px;
}
.btn-music:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

@media (width > 450px ){
    .pg1, .pg2, .pg3, .pg4, .pg5, .pg6{
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        width: 100%;
        margin: 0;
        max-width: 100%;
        max-height: 100vh;
    }
}