@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #F3F7FC;
}
a { 
    text-decoration: none;
    color: inherit
}

img { max-width: 100%;}

section {
    animation: fadeInUp .3s;
}

.box--pregunta {
    animation: zoomIn .3s;
}


section.prompt {
    max-width: 900px;
    width: 95%;
    margin: 0 auto;
    margin-top: 150px;
}

.logo {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 600;
}

.form-box {
    position: relative;
    background: #fff;
    padding: 20px;
    border-radius: 24px;
    box-shadow: 0 4px 7px rgba(0, 0, 0, 0.05);
    height: 100px;
}

.textarea {
    width: 100%;
    resize: none;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    border: 0;
    background: transparent;
}

.form-opcion {
    display: flex;
    gap: 10px;
    align-items: center;
    position: absolute;
    bottom: 15px;
    right: 15px;
}

.form-opcion span {
    font-size: 12px;
    color: #555;
    cursor: pointer;
    font-weight: 500;
}

.boton {
    height: 36px;
    width: 36px;
    border-radius: 50%;
    border: 0;
    background: #A940E6;
    color: #fff;
    cursor: pointer;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.box {
    padding: 40px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 4px 7px rgba(0, 0, 0, 0.05);
    max-width: 900px;
    width: 95%;
    margin: 0 auto;
    margin-top: 70px;
}

.cargando,
.resultado {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
}

.cargando > img,
.resultado > img {
    max-width: 250px;
    height: auto;
}

.cargando__info > h3,
.resultado__info > h3 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 600;
}

.cargando__info > p {
    font-size: 14px;
    color: #555;
}

.box--pregunta {
    max-width: 400px;
    position: relative;
}

h4#pregunta {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}


.encuesta__opciones {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.encuesta__opcion label {
    font-size: 14px;
    color: #555;
    cursor: pointer;
}

.encuesta__opcion {
    display: flex;
    align-items: center;
    gap: 5px;
}

.encuesta__opcion input[type="radio"] {
    appearance: none;
    outline: none;
    border: 0;
    background: #e4e4e7;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
}

.encuesta__opcion input[type="radio"]:checked {
    background: #A940E6;
}

.encuesta__opcion input[type="radio"]:checked::before {
    content: "\f00c";
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    font-family: 'Font Awesome 7 Free';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;

}

.boton--submit {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.box.resultado {
    max-width: 600px;
}


.resultado__info > p {
    font-size: 14px;
    color: #555;
}

.resultado__info > p > b {
    font-weight: 500;
}


.boton-volver {
    padding: 10px 15px;
    background: #A940E6;
    color: #fff;
    border: 0;
    cursor: pointer;
    outline: none;
    border-radius: 100px;
    font-size: 14px;
    font-family: inherit;
    font-weight: 600;
    margin-top: 15px;
}


@media (max-width: 768px) {
    .cargando,
    .resultado {
        flex-direction: column;
    }

    .box {
        margin-top: 30px;
    }

    .cargando > img,
    .resultado > img {
        max-width: 150px;
        height: auto;
    }

    .cargando__info > h3,
    .resultado__info > h3 {
        font-size: 18px;
        text-align: center;
    }

    .cargando__info > p,
    .resultado__info > p {
        font-size: 12px;
        text-align: center;
    }


    
}