@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
  font-style: normal;
}


html, body {
    margin: 0; 
    height: 100%;
}

body {
    display: flex;
    flex-direction: column; 
}

main{
    flex: 1;
}

.img_banner{
    width: 100%;
}


.container_form{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2.5rem;
}

.form{
    padding: 1rem;
    width: 26%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .5rem;
}

.row-form{
    width: 90%;
    padding: .8rem;
    display: grid;
    place-items: center;
    gap: .5rem;
}

.label{
    font-weight: 600;
    font-size: 1.2rem;
}


.input{
    width: 100%;
    padding: .5rem;
    outline: none;
    transition: all .5s ease;
}

.input::placeholder{
    text-align: center;
}

.input:focus {
    border: 2px solid #19c3cc;
}

.btn{
    cursor: pointer;
    padding: .67rem 1rem;
    background: #28a745;
    color: white;
    outline: none;
    border: 0;
    border-radius: 5px;
}

.btn_exit{
    cursor: pointer;
    padding: .67rem 1rem;
    background: red;
    color: white;
    outline: none;
    border: 0;
    text-decoration: none;
    border-radius: 5px;
}

.btn:hover{
    background: #11832b;
}

footer {
    width: 100%;
    background-color: #09294b;
    /*position: fixed;
    background-color: #09294b;;
    left: 0;
    bottom: 0;
    */
    padding: 1.5rem;
}


.row_footer{
    display: grid;
    place-items: center;
    gap: .5rem;
}

.title{
    color: white;
    font-weight: bold;
    letter-spacing: 1.5px;
}

.subtitle{
    color: white;
    font-weight: 500;
    letter-spacing: 1px;
}

.text-error{
    color: red;
    font-weight: 400;
}

.cont{
    display: none;
    display: grid;
    place-items: center;
    padding: 1.4rem;
}

.con_preguntas {
    width: 50%;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 5px; 
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 
}

.cont_encuesta {
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 5px; 
    padding: 15px; 
    margin: 10px 0;
    display: flex; 
    justify-content: space-between; 
    align-items: center;
}


.cont_encuesta span {
    font-size: 18px; 
    font-weight: bold; 
}

/* Estilo para los botones */
.cont_encuesta button {
    background-color: #007bff; 
    color: white; 
    border: none; 
    border-radius: 5px; 
    padding: 10px 15px; 
    cursor: pointer; 
    transition: background-color 0.3s; 
}


.cont_encuesta button:hover {
    background-color: #0056b3; 
}

.const_container{
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 5px; 
    padding: 15px; 
    margin: 10px 0;
    display: flex; 
    justify-content: center; 
    align-items: center;
}

.btn_down{
    cursor: pointer;
    padding: .67rem 1rem;
    background: #28a745;
    color: white;
    outline: none;
    border: 0;
    border-radius: 5px;
}


.active{
    background-color: gray!important;
}

