/* Estilos del formulario */
#formularioEncuesta {
    z-index: 100; /* Ajusta según sea necesario para asegurarte de que está por encima de otros elementos */
    position: relative; /* o 'absolute' dependiendo de tus necesidades */
    width: 100%; /* Ajusta según el diseño */
    padding: 20px;
    box-sizing: border-box;
}
form {
    background: #ffffff; /* Fondo claro para el formulario */
    border: 1px solid #ccc; /* Borde sutil */
    border-radius: 8px; /* Bordes redondeados para estética moderna */
    padding: 20px;
    width: 90%; /* Ancho del formulario */
    max-width: 500px; /* Ancho máximo para grandes pantallas */
    margin: 20px auto; /* Centrar el formulario */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); /* Sombra sutil para profundidad */
}

label {
    margin-bottom: 10px; /* Espaciado entre etiquetas */
    display: block; /* Asegura que cada input tenga su propia línea */
    font-weight: bold; /* Hace que las etiquetas sean fácilmente identificables */
    color:#0043d2;
    font-family: "EB Garamond", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}


input[type="text"], input[type="email"], select, textarea {
    width: calc(100% - 20px); /* Resta 20px al ancho total para acomodar el padding */
    padding: 10px; /* Añade padding dentro de los inputs para separar el texto del borde */
    margin-top: 5px; /* Espacio entre la etiqueta y el campo */
    margin-bottom: 20px; /* Espacio después del campo */
    border: 1px solid #ccc;
    border-radius: 4px; /* Bordes redondeados para los campos */
    box-sizing: border-box; /* Incluye el padding y border en el cálculo del ancho */
}
/*
input[type="select"], select{
     border: 1px solid #ef7a00;
}*/

.bott-enviar {
    background-color: #fcd9b7; /* Color distintivo para la acción principal */
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer; /* Indica que es un elemento interactivo */
    width: 100%;
    font-size: 18px; /* Tamaño de fuente accesible */
    text-transform: uppercase;
    border-bottom: 6px solid #ddbfa1;
}
.svg{
    width: 20px;
}

.bott-enviar:hover {
    background-color: #0043d2; /* Un tono más oscuro al pasar el ratón */
    color:#fff;
    border-bottom: 6px solid #032f8d;
}

/* Estilos para la ventana modal */
.modal {
    display: none; /* Oculto por defecto */
    position: fixed; /* Siempre en el mismo lugar, sin importar el desplazamiento */
    z-index: 2; /* Asegura que esté sobre otros contenidos */
    left: 0;
    top: 0;
    width: 100%; /* Cubre toda la ventana */
    height: 100%;
    overflow: auto; /* Permite desplazamiento si el contenido es grande */
    background-color: rgba(0,0,0,0.4); /* Semi-transparente para enfocar atención */
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* Centrado verticalmente y horizontalmente */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Aprovecha el 80% del ancho pero permite margen */
    max-width: 450px; /* No demasiado ancho en pantallas grandes */
}

.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover, .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}


/* Media queries para tabletas */
@media (max-width: 768px) {
    form {
        width: 70%; /* Más ancho en tabletas para mejor visualización */
    }
}


/* Media queries para móviles */
@media (max-width: 480px) {
    form {
        width: 80%; /* Utiliza más espacio de la pantalla en móviles */
        padding: 15px; /* Menos padding para maximizar el espacio */
        max-width:80%;
        padding:50px;
    }
    label {
    margin-bottom: 10px; /* Espaciado entre etiquetas */
    font-size:45px;
    }
    input[type="text"], input[type="email"], select, textarea {
        padding: 20px; /* Añade padding dentro de los inputs para separar el texto del borde */
         margin-top: 20px; /* Espacio entre la etiqueta y el campo */
    }
     select {
        padding: 20px; /* Añade padding dentro de los inputs para separar el texto del borde */
        margin-top: 40px; /* Espacio entre la etiqueta y el campo */
    }
    button {
    width: 100%;
    font-size: 45px; /* Tamaño de fuente accesible */
    }
    .bott-enviar{
        font-size: 48px !important;
        padding:20px !important;
    }
    .svg {
  width: 50px;
    }
    #item108030{
  left: -29px !important;
  top: 5100px !important;
  }
}

#item108030{
  left: -29px ;
  top: 3753px;
}
    
    
    
.modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
}
.modal__container {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 50%; /* Ajusta según el diseño */
    max-width: 600px; /* o lo que sea adecuado para tu contenido */
}


#resultModal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    position: relative;
    width: 80%;
    max-width: 600px;
    background-image: url('https://editorialtaquina.com/revistaaliados/fallaste.jpg');
    background-size: cover;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.5);
    border-radius: 10px;
    height: 1028px;
}

.modal-body {
    position: relative;
    color: #fff;
    text-align: center;
    top: 180px;
    padding: 35px;
}
.modal-body h2{
    font-weight: 900;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 6vh;
}
.modal-body .boldi{
    font-weight: 900;
}
.modal-body p{
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.botxd {
    background-color: #fcd9b787; /* Color distintivo para la acciÃ³n principal */
    font-weigth:900 !important;
    width:40px !important;
    border-radius:100px !important;
    padding: 10px !important;
    border-bottom: none !important;
    color: #000;
    cursor: pointer; /* Indica que es un elemento interactivo */
    font-size: 18px; /* Tamaño de fuente accesible */
    text-transform: uppercase;
}

.no-dis2{
    color: #FEA30B;
    font-weight: bold;
    font-size: 5vh;
}
.no-dis3{
    color: #fff;
    font-size:3vh;
}
.emoj{
    font-size: 14vh;
}
.h2-nor{
    font-weight: 200;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 22px;
    text-transform: uppercase;
}

.h2-bol{
    font-weight: 900;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 22px;
}

.ganaste {
    top: 120px !important;
    position:relative;
    padding: 35px;
    color: #000;
    font-size:3vh;
}

.ganp{
    color:#f00;
    font-weight: bold;
    font-size: 5vh;
}
.ganh2{
    color: #000;
    font-size:3vh;
}