*,
*::after,
*::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
}

body {
    background: #ffc800;
}

#app {
    min-height: 100vh;
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: relative;
}

#app::after {
    content: "";
    position: fixed;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    /* background-image: url("../images/bg-img/bg-main.webp"); */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    z-index: -1;
}

#app__wrapper {
    width: 100%;
    height: 100%;
}

#lead--form {
    /* display: none; */
    display: block !important;
    flex-direction: column;
    gap: 30px;
    padding: 30px 0;
}

.container {
    margin: 0 auto;
    padding: 0 15px;
    max-width: 1200px;
}

.transparent {
    background-color: transparent !important;
    border-radius: 0 !important;
}

.main {
    margin-top: 50px;
    display: flex;
    min-height: 70vh;
}

.main .container {
    display: flex;
    flex-direction: column;
    align-self: center;
    align-items: center;
    width: 1200px;
}

.quiz {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    max-width: 80rem;
    width: 100%;
    background: white;
    overflow: hidden;
    transition: height 0.3s ease;
    box-shadow: 0px 4px 9px rgba(0, 0, 0, 0.25);
    border-radius: 19px !important;
}

/* Header */

.header {
    background: white;
    box-shadow: 0px 0px 5px 2px #4a4a4a;
}

.header .container {
    display: flex;
    justify-content: center;
}

.header__logo svg {
    height: 60px;
    width: 60px;
}

.header__info {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Quiz */

#start--quiz {
    width: 100%;
    height: 3.875rem;
    max-width: 220px;
    border: none;
    color: #4a4a4a;
    background: #ffc800;
    border-radius: 2px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 60px;
    margin-right: auto;
    text-transform: uppercase;
    line-height: 20px;
    letter-spacing: 0.25px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0px 4px 9px rgba(0, 0, 0, 0.25);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

#start--quiz:active {
    transform: translateY(2px);
    box-shadow: none;
}

#start--quiz._active {
    transform: translateY(2px);
    box-shadow: none;
}

.quiz__firstscreen {
    padding: 0 0 30px;
}

.quiz__firstscreen-title {
    text-align: left;
    margin-top: 10px;
    text-wrap: balance;
    font-weight: 700;
    color: black;
    font-size: 26px;
    line-height: 35px;
}

.quiz__firstscreen-subtitle {
    color: #434343;
}

.quiz__firstscreen-container {
    display: flex;
    justify-content: center;
}

.quiz__firstscreen-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.quiz__firstscreen .container {
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    row-gap: 15px;
}

.quiz__content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 30px;
    background: white;
}

.question__subtitle,
.question__title {
    font-size: 1.5rem;
    color: #4a4a4a;
    text-align: left;
    text-wrap: balance;
    font-style: normal;
    font-weight: 700;
}

.quiz__answers {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

.question__progress {
    display: flex;
    align-items: center;
    column-gap: 15px;
    background: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    padding: 5px 20px;
    width: 100%;
    max-width: 600px;
    margin: 20px auto 0;
}

.question__progress-line {
    width: 100%;
    background: #d9d9d9;
    border-radius: 3px;
    height: 8px;
    flex: 1;
}

#progress-line {
    background: #ffc800;
    border-radius: 3px;
    display: block;
    height: 100%;
    /* width: 20%; */
}

.question__progress-count {
    color: #4a4a4a;
    font-size: 12px;
    font-weight: 400;
    line-height: 25px;
}

.question__img {
    width: 100%;
    max-width: 60rem;
    border-radius: 16px;
}

.answer__button {
    min-height: 3rem;
    padding: 0.5rem;
    border: none;
    background: white;
    font-size: 1rem;
    cursor: pointer;
    color: #4a4a4a;
    font-size: 16px;
    font-weight: 400;
    box-shadow: 0px 4px 9px rgba(0, 0, 0, 0.25);
    border-radius: 16px;
}

.answer__button:active {
    border-bottom-width: 2px;
    transform: translateY(2px);
}

.answer__button._checked {
    border: 2px linear-gradient(180deg, #ffc800 0%, #d9aa03 100%) solid;
}

.answer__button:disabled {
    cursor: not-allowed;
}

.register-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.register-wrap__video {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}

.form-wrap {
    display: flex;
    justify-content: center;
    background: white;
    box-shadow: 0px 1px 20px rgba(0, 0, 0, 0.15);
    border-radius: 2px;
    width: 100%;
    max-width: 500px;
    padding: 0;
    margin: 0 auto;
}

.lead-text .question__title,
.lead-text .question__subtitle-form {
    text-align: center;
    width: 70%;
    margin: 0 auto;
}

.question__subtitle-form {
    color: #4a4a4a;
    font-size: 16px;
    font-weight: 400;
    line-height: 21px;
    margin-top: 10px;
}

/* Footer */

.footer {
    width: 100%;
    padding: 50px 0;
}

.footer-date {
    text-align: center;
    color: #6a6a6a;
    font-size: 18px;
    font-weight: 300;
    line-height: 25px;
}

#year {
    padding-left: 10px;
}

/* keyFrames */

/* fadeIn */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 1s ease-in;
}

/* fadeOut */

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.fade-out {
    animation: fadeOut 1s ease-in;
}

/* HTML: <div class="loader"></div> */

.loading-state {
    width: 50px;
    padding: 8px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: linear-gradient(180deg, #ffc800 0%, #d7ab0c 100%);
    --_m: conic-gradient(#0000 10%, #000), linear-gradient(#000 0 0) content-box;
    -webkit-mask: var(--_m);
    mask: var(--_m);
    -webkit-mask-composite: source-out;
    mask-composite: subtract;
    animation: l3 1s infinite linear;
}

.loading-wrap {
    height: 100px;
    width: 100px;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
}

@keyframes l3 {
    to {
        transform: rotate(1turn);
    }
}

@media (min-width: 520px) {
    /* .quiz__firstscreen-image {
    height: 100%;
  } */
    .quiz__answers {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 850px) {
    #start--quiz {
        margin-top: 0;
    }
    .quiz__firstscreen .container {
        padding: 0 60px;
    }
    .header__logo svg {
        height: 100px;
        width: 100px;
    }
    .register-wrap {
        flex-direction: row;
        column-gap: 60px;
    }
}