@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --check-one: #ff5860;
    --check-two: #955ce7;
    --background-color: #000;
}

body {
    background: #000;
    background-image: url('/surveys/bg.webp');
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
}
.container {
    max-width: 800px;
}
#main {
    border-radius: 25px;
    overflow-x: hidden;
}
header img {
    height: 100px;
    filter: drop-shadow(2px 4px 6px black);
}
header {
    margin-top: 20px;
    padding: 0 20px;
    text-align: left;
}
h1.targetName {
    font-size: 3.125rem;
    font-weight: 700;
    font-family: "Jost", sans-serif;
}


.question > label {
    min-height: 52px;
    font-size: 2rem;
    text-align: center;
    line-height: 2.4rem;
    margin-bottom: 28px;
    width: 100%;
}

label {
    font-weight: 700;
    font-size: 105%;
}

.form-checks {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
}
.form-check {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    align-content: center;
    text-align: center;
    padding-left: 0 !important;
    padding-right: 0 !important;
    position: relaative;
    width: 48%;
    margin-bottom: 20px !important;
}
@media (max-width: 600px) {
    .form-check {
        width: 100%;
        margin: auto;
        text-align: left;
    }
    .form-checks label {
        padding-left: 85px;
    }
}
.form-checks label {
    font-family: "Jost", sans-serif;
    font-weight: 700;
    font-size: 130%;
    cursor: pointer;
    position: relative;
    display: block;
    width: 100%;
    text-align: left;
    padding-left: 75px;
}

.form-check:has(input[type=radio]) label:after {
    content: "";
    width: 2.8125rem;
    height: 2.8125rem;
    top: 50%;
    left: 14px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    position: absolute;
    border-radius: 100%;
    border: 3px solid #e3e3e3;
    cursor: pointer;
}
.form-check:has(input[type=radio]:checked) label:before {
    content: "";
    top: 50%;
    left: 23px;
    font-size: 1.6625rem;
    line-height: 1;
    font-weight: 900;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    background: var(--check-one);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: 1;
    position: absolute;
    font-family: "Font Awesome 5 Free";
    display: block;
}
.form-check:has(input[type=radio]:checked) label:after {
    border: 3px solid var(--check-one);
}
.form-check:has(input[type=radio]:checked) label {
    color: var(--check-one);
}


.form-check:has(input[type=checkbox]) label:after {
    content: "";
    width: 2.8125rem;
    height: 2.8125rem;
    top: 50%;
    left: 14px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    position: absolute;
    border-radius: 0;
    border: 3px solid #e3e3e3;
    cursor: pointer;
}
.form-check:has(input[type=checkbox]:checked) label:before {
    content: "\f00c";
    top: 50%;
    left: 25px;
    font-size: 1.6625rem;
    line-height: 1;
    font-weight: 900;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    background: var(--check-one);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: 1;
    position: absolute;
    font-family: "Font Awesome 5 Free";
    display: block;
}
.form-check:has(input[type=checkbox]:checked) label:after {
    border: 3px solid var(--check-one);
}
.form-check:has(input[type=checkbox]:checked) label {
    color: var(--check-one);
}

.question input[type="radio"], .question input[type="checkbox"] {
    display: none;
}

.question {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 20px 20px 0 20px;
    border-radius: 0;
    user-select: none;
}

textarea.form-control {
    min-height: 100px;
}

.nav-control {
    margin: 15px -56px 0 -56px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    background-color: rgb(247 248 250);
    height: 85px;
    align-items: center;
    position: relative;
    top: 10px;
    padding: 0 20px;
    border-radius: 0 0 25px 25px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.nav-control:not(:has(button.gotoprev)) {
    display: flex;
    justify-content: center;
}
button.gotoprev {
    color: #2f3146;
    font-size: 1.375rem;
    left: 55px;
    bottom: 26px;
    font-weight: 700;
    background: none;
    border: none;
}
button.gotoprev:before {
    content: '\f060';
    font-family: "Font Awesome 5 Free";
    display: inline-block;
    margin-right: 10px;
    font-weight: 900;
}
.gotonext {
    border-radius: 3rem;
    font-size: 1.125rem;
    font-weight: 700;
    padding: 0.84375rem 4.375rem;
    outline: none;
    border: none;
    background: -webkit-gradient(linear, left top, right top, from(var(--check-one)), to(var(--check-two)));
    background: linear-gradient(to right, var(--check-one), var(--check-two));
}
.Comenzar {
    margin-top: 20px;;
    border-radius: 3rem;
    font-size: 1.125rem;
    font-weight: 700;
    padding: 0.84375rem 4.375rem;
    outline: none;
    border: none;
    background: -webkit-gradient(linear, left top, right top, from(var(--check-one)), to(var(--check-two)));
    background: linear-gradient(to right, var(--check-one), var(--check-two));
}
#sendbutton {
    margin-bottom: 20px;
}
#sendbutton .btn {
    margin-top: 20px;;
    border-radius: 3rem;
    font-size: 1.125rem;
    font-weight: 700;
    padding: 0.84375rem 4.375rem;
    outline: none;
    border: none;
    background: -webkit-gradient(linear, left top, right top, from(var(--check-one)), to(var(--check-two)));
    background: linear-gradient(to right, var(--check-one), var(--check-two));
}


.qnum {
    color: #000;
}

.question > label {
    animation: slideRightToLeft 2s cubic-bezier(0.4, 0, 0.2, 1);
}
.form-checks {
    animation: slideRightToLeft 2.2s cubic-bezier(0.4, 1, 0.2, 1);
}

@keyframes slideRightToLeft {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#main {
    transition: height 1s ease-in-out;
}

body:before {
    content: "";

    font-weight: 900;
    opacity: 0;
    transform: translateY(-50%);
    background: var(--check-one);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: 0;
    font-family: "Font Awesome 5 Free";
    display: block;
}