:root{
    --letras: rgb(7, 79, 51);
    --bkg: #fff;
    --letras2: red;
}

* {
    box-sizing: border-box;
    margin: 0;
}

.success, .error {
    font-family: 'Schoolbell', cursive;
    font-size: 1.3rem;
    text-align: center;
    padding: 10px 15px;
    margin: 5rem auto;
    width: fit-content;
    max-width: 90%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);

}

.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}


body{
    background-color: var(--bkg);
    height: 100%;
    overflow-x: hidden;
}



.pg0{
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    margin: 0px;
    max-width: 100%;
    max-height:40vh;
    background-color: red;
    height: 40rem;
    text-align: center;
}
video {
    width: 95%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    padding-top: 2rem;
    margin: 0.1px;
    
    
}

.pg0_video{
    width: 100%;
    height: 50%;
    margin-top: 0.1px;

}
.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;
}

.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 */
}
.pg7{
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    margin: 0;
    max-width: 100%;
    max-height: 100vh;
    background-image: url("7.gif");
    height: 40rem;
    position: relative; /* Asegura que el boton esté dentro de este contenedor */
}

.pg8{
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    margin: 0;
    max-width: 100%;
    max-height: 100vh;
    background-image: url("8.gif");
    height: 40rem;
    position: relative; /* Asegura que el boton esté dentro de este contenedor */
}
.pg9{
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    margin: 0;
    max-width: 100%;
    max-height: 100vh;
    background-image: url("9.gif");
    height: 40rem;
    position: relative; /* Asegura que el boton esté dentro de este contenedor */
}

.timer{
    position: absolute;
    top: 30%; /* 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: "Poiret One", 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: 20%;
    transform: translate(-50%, -50%);
    box-shadow: 0px 0px 10px 0.5px black;
    border-radius: 20px;
    padding: 0.5rem;
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 1.2rem;
    /* 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 */
    color: var(--letras);
    position: absolute;
    top: 45%; /* 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:Georgia, 'Times New Roman', Times, 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:relative;
    top: 2%;
    left: 85%;
    background-color: rgba(255, 255, 255, 0.7);
    color: var(--letras);
    border: none;
    border-radius: 10px;
    padding: 8px 18px;
    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);
}

  /* Estilos para el footer */
  .footer {
    display: block;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 15px;
    margin-top: 8rem;
    background-color: rgba(255, 255, 255, 0.839);
    color: #333;
    font-size: 16px;
    font-family: "Roboto", serif;
    /* position:absolute; */
    bottom: 0;
    width: 100%;
    text-align: center;
    box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.1);
}

.footer p {
    margin: 0;
    color: black;
}

.fb-link {
    color: green;
    font-size: 24px;
    text-decoration: none;
}

.fb-link:hover {
    color: #0d6efd;
}


/* Títulos y textos */

form{
    background-color: rgb(255, 255, 255);
    width: auto;
    height: 40rem;
    text-align: center;

}


.pg7 p {
    font-size: 2rem;
    color: var(--letras);
    margin-bottom: 20px;
    padding-top: 3rem;
    font-family: Arial, Helvetica, sans-serif;

}

legend {
    font-weight: 600;
    margin-top: 2rem;
    color: var(--letras);
    font-family: Arial, Helvetica, sans-serif;
}

/* Campos de entrada */
.input-wrapper {
    margin-bottom: 1rem;
    font-family: Arial, Helvetica, sans-serif;
}

input[type="text"],
input[type="number"] {
    width: 75%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: 0.3s;
}

input[type="text"]:focus,
input[type="number"]:focus {
    border-color: var(--letras2);
    outline: none;
    box-shadow: 0px 0px 5px rgba(0, 123, 255, 0.3);
}

/* Botón de envío */
.btn {
    width: 15rem;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background-color: var(--letras);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.btn:hover {
    background-color: #0056b3;
}

textarea {
    width: 75%;
    height: 10rem; /* Ajusta la altura */
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: 0.3s;
    resize: vertical; /* Permite que el usuario lo haga más grande si quiere */
    
    /* Asegurar que el texto inicie arriba a la izquierda */
    line-height: normal;
    vertical-align: top;
    text-align: left;
    font-family: "Roboto", serif;
}

/* Efecto cuando el textarea está en foco */
textarea:focus {
    border-color: red;
    outline: none;
    box-shadow: 0px 0px 5px rgba(0, 123, 255, 0.3);
}


/* Opciones de radio */
fieldset {
    border: none;
    margin-bottom: 20px;
}

fieldset div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 10px;
}

label {
    font-size: 1.2rem;
    color: var(--letras);
    font-family: Arial, Helvetica, sans-serif;
}

input[type="radio"] {
    accent-color: var(--letras);
    transform: scale(1.5);
    cursor: pointer;
}

@media (width > 450px ){
    .pg1, .pg2, .pg3, .pg4, .pg5, .pg6, .pg7{
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        width: 100%;
        margin: 0;
        max-width: 100%;
        max-height: 100vh;

    }
}

