html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-color: #f0f0f0;
    background-image: url(../image/BG.jpg);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100%;
}

.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    width: 100%;
}

.encuesta-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

/*header {
    width: 100%;
    height: 70px;
    margin: 0;
    padding: 0;
    background-image: url("../image/Header.png");
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    align-items: center;
    justify-content: normal;
    top: 0;
    z-index: 1000;
}

.main-logo {
    width: 200px;
    height: 30px;
    padding: 0px 40px;
}

img.logo {
    width: 200px;
    height: 30px;
}
*/

.header {
    background-image: url("../image/Header.png");
    background-size: cover;
    background-position: center;
    /* color base del fondo */
    display: flex;
    margin: 0;
    padding: 0 20px;
    top: 0;
    z-index: 1000;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0px;
    height: 80px;
    width: 100%;
}

.logo img {
    width: 200px;
    height: 30px;
    margin-left: 20px;
}

.presentado-por {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-family: Arial, sans-serif;
    font-size: 16px;

}

.presentado-por img {
    height: 40px;
}



.main-presentador {
    width: 70px;
    height: 70px;
    margin: 0;
    padding: 0;
    background-image: url("../image/Presentador.png");
    background-size: cover;
    background-position: center;
    margin-left: auto;
}

.ad-unit {
    margin: 20px 0;
}

.ad-unit img {
    width: 970px;
    height: 250px;
}

h2 {
    font-size: 40px;
    color: #f0f0f0;
    font-weight: 800;
    text-align: left;
}

.encuesta {
    display: flex;
    width: 994px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 30px;
    background-color: rgba(0, 0, 0, 0.3);
    margin: 0 auto;
    font-family: "Archivo", sans-serif;
    text-align: center;
}

.contenedor-texto {
    width: 994px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    text-align: center;
    font-family: "Archivo", sans-serif;
}

.texto-subtitulo {
    font-size: 30px;
    color: #f0f0f0;
    text-align: center;
    font-family: "Archivo", sans-serif;
}

.opcion {
    width: 994px;
    height: 117px;
    font-size: 40px;
}

.descripcion-opcion {
    font-size: 20px;
    color: #f0f0f0;
    text-align: center;
    font-family: "Archivo", sans-serif;
}

.texto-opcion {
    font-size: 40px;
    color: #f0f0f0;
    font-family: "Archivo", sans-serif;
    font-weight: 900;
}

button {
    background-color: #FCA900;
    width: 184px;
    height: 47px;
    border-radius: 30px;
    font-size: 25px;
    color: #f0f0f0;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.votacion {
    padding: 20px;
    width: 1000px;
}

.completo {
    display: flex;
    align-items: center;
    justify-content: center;
}

p {
    text-align: left;
    font-size: 25px;
    margin-bottom: 30px;
    color: #ffffff;
    margin: 0 auto;
    font-weight: normal;
    font-family: "Archivo", sans-serif;
}

.titulo-completos {
    font-size: 35px;
    color: #f0f0f0;
    font-weight: 800;
    text-align: left;
    font-family: "Archivo", sans-serif;
    margin: 0;
}

.completo-text {
   width: 60%;
    text-align: left;
    font-family: "Archivo", sans-serif;
    margin-bottom: 10px;
    margin-right: 120px;
}

.div-votacion {
    width: 37px;
    height: 37px;
    border-radius: 30px;
    background-color: #B70F30;
    font-size: 28px;
}

.encuesta-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    margin: 0 auto;
    padding: 20px 0px;
}

.aside-left,
.aside-right {
    width: 300px;
    min-height: 300px;
    height: 1000px;
    display: flex;
}

.aside-left img {
    align-self: flex-start;
    margin-top: 250px;
}

.aside-right img {
    align-self: flex-end;
    margin-top: auto;
    margin-bottom: 20px;
    overflow: inherit;
}

.hr-con-imagen {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0;
}

.hr-con-imagen .linea {
    flex: 1;
    height: 2px;
    background-color: white;
    margin: 0 20px;
}

.hr-con-imagen .icono-hr {
    width: 50px;
    height: auto;
}

.registro {
    display: flex;
    justify-content: space-evenly;
}

.texto-registro {
    font-size: 40px;
    color: #f0f0f0;
    font-weight: 600;
    text-align: left;
    font-family: "Archivo", sans-serif;
    margin: 0;
}

.texto-presentado-por{  
        color: #f0f0f0;
        font-size: 18px;
        font-family: "Archivo", sans-serif;
        margin-left: 55%;
}

.registro-wrapper{
    display: flex;
    width: 994px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    font-family: "Archivo", sans-serif;
    text-align: center;
}


.gracias-container{
    margin: 0 auto
}


.input{
  width: 970px;
  height: 40px;
  margin-bottom: 30px;
  border-radius: 30px;
}


.contenedor-anuncio {
    width: 100%;
    max-width: 970px;
    margin: 30px auto;
    box-sizing: border-box;
    padding: 0 10px;
    text-align: center;
  }
  
  #gpt-passback > div {
    width: 100% !important;
    height: auto !important;
  }



@media (max-width: 1280px) {

    .aside-left,
    .aside-right {
        width: 300px;
    }
}

@media (max-width: 768px) {
    .header {
        width: 100%;
        height: 160px;
        gap: 5px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .aside-left,
    .aside-right {
        display: none !important;
    }

    .encuesta,
    .contenedor-texto,

    .completo-text {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: center;
        font-family: "Archivo", sans-serif;
        align-items: flex-start !important;
    }


     .encuesta-wrapper {
    flex-direction: column;
    align-items: center;
  }

    .registro-container {
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
  }

    .votacion {
        width: 100% !important;
        margin-top: 70px;
        padding: 10px 5px 0px 5px;
        text-align: left !important;
        font-family: "Archivo", sans-serif;
        align-items: flex-start !important;
    }

    .completo {
        flex-direction: column;
    }

    .texto-registro {
        font-size: 20px;
        font-weight: 600;
        font-family: "Archivo", sans-serif;
    }

    .encuesta-wrapper {
      width: 100%;
  max-width: 380px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
    }

    h2 {
        font-size: 40px;
        font-family: "Archivo", sans-serif;
        text-align: center !important;
        line-height: 40px;
        padding: 0px 40px;
    }

    .titulo-completos {
        font-size: 35px;
        text-align: center !important;
        line-height: 40px;
        padding: 0px 40px;
    }

    p {
        font-size: 18px;
        width: 300px;
        text-align: center;
        margin-bottom: 10px;
    }

    button {
        margin-bottom: 20px;
        width: 119px;
        height: 31px;
    }

    .ad-unit img {
        width: 320px;
        height: 100px;
        margin: 0 !important;
    }

    .registro {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }


    .btn-registro {
        width: 214px;
        height: 47px;
        margin: 0 auto;

    }

    .texto-subtitulo {
        font-size: 24px;
        font-family: "Archivo";
        color: #f0f0f0;
        text-align: center;
        padding: 0px 34px;
        line-height: 26px;
        font-family: "Archivo", sans-serif;
    }

    .div-votacion {
        width: 23px;
        height: 23px;
        border-radius: 30px;
        background-color: #B70F30;
        font-size: 18px;
    }

    .presentado-por {
        flex-direction: column;
        gap: 5px;
        display: flex;
        flex-direction: row;
    }

    .presentado-por img {
        height: 60px;
    }

    .logo img {
        height: 35px;
        margin: 0 auto;
    }

    .texto-presentado-por{  
        color: #f0f0f0;
        font-size: 18px;
        font-family: "Archivo", sans-serif;
        margin-left: 0%;
    }


    .imagencentral{
        width: 380px;
    }


    .hr-con-imagen-gracias{
        width: 380px;
    }

    .linea-gracias{
        width: 380px;
    }

    .registro-container{
        width:380px;
    }

    .registro-from{
        width: 380px;

    }

    .input{
        width:380px;
    }

    .registro-container {
       width: 100%;
  max-width: 380px;
  margin: 0 auto;
    }

    .registro-wrapper {
display: flex;
  width: 100%;
  max-width: 380px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  text-align: center;
}

@media screen and (device-width: 393px) and (device-height: 852px) and (-webkit-device-pixel-ratio: 3) {
    html,
    body {
      background-size: 100% 100% !important;
      background-position: center top !important;
      background-attachment: fixed;
      transform: translate3d(0, 0, 0); /* fuerza renderizado por GPU */
      -webkit-backface-visibility: hidden;
      backface-visibility: hidden;
    }
  }



    
}