body, html {
    margin: 0;
    padding: 0;
    font-family: "PT Sans", sans-serif !important;
    height: 100%;
}

.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
/*    text-align: center;*/
    height: 100vh;
}

.box {
    text-align: center;
}

.quiz-container {
    background-color: #fff;
    border-radius: 15px;
    padding: 40px;
    width: 50%;
    display: none;
    margin-top: 20px;
    height: 100%;
}

.quiz {
    display: block;
}

.quiz-question {
    justify-content: space-between;
    opacity: 1;
    opacity: 0;
    transform: translateX(80px);
    transition: all 0.6s ease-in-out;
}

.quiz-question.active {
    opacity: 1;
    transform: translateX(0);
}

.quiz-question.hidden {
    opacity: 0;
    transform: translateX(80px);
}

.question-wrapper {
    display: flex;
    flex-flow: row-wrap;
    width: 100%;
}

.quiz-question.hidden {
    opacity: 0;
}

.quiz-option-group {
    margin-top: 35px;
}

.lead-form {
    display: none;
}

.hidden {
    display: none;
}

#start-quiz-btn {
    color: black;
    border-radius: 25px !important;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#start-quiz-btn {
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.375rem;
    letter-spacing: normal;
    height: auto;
    max-width: 240px;
    width: 200px;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: rgb(244, 244, 244);
    transition: background 0.4s ease, color 0.4s ease;
}

#start-quiz-btn:hover {
    opacity: 0.85;
    background-color: grey;
}

.quiz-option {
    margin-bottom: 1rem;
    color: black;
    border-radius: 5px;
    border: solid 1px var(--color-bg-2, rgba(217, 216, 230, .55));
    width: 100%;
    display: flex;
    align-items: center;
    cursor: pointer !important;
}

.quiz-option label {
    padding: .8rem 1rem;
    width: 100%;
    text-align: left;
    display: flex;
    height: 100%;
    cursor: pointer;
}

.quiz-radio {
/*    display: flex;*/
    align-items: center;
    line-height: 1.5;
}

.quiz-control-label {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: black;
    word-break: break-word;
    font-weight: 400;
}

.quiz-answer {
    display: inline-block;
}

.question-content {
    width: 50%;
    font-family: "PT Sans", sans-serif !important;
}

.question-image {
    width: 50%;
    display: flex;
    justify-content: flex-end;
}

.quiz-check {
    margin-right: 10px;
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    position: relative;
    transition: border-color 0.15s;
    min-width: 20px;
}

input[type=radio] {
    position: absolute;
    opacity: 0;
    outline: none;
    z-index: -1;
}

.quiz-radio input[type=radio]:checked+.quiz-check {
    border-color: #7957d5 !important;
}

.quiz-radio input[type="radio"]:checked+.quiz-check:before {
    content: "";
    display: flex;
    position: absolute;
    left: 63%;
    margin-left: -7.5px;
    bottom: 67%;
    margin-bottom: -8.5px;
    width: 10px;
    height: 10px;
    transition: transform .15s ease-out, -webkit-transform .10s ease-out;
    border-radius: 50%;
    background-color: #7957d5 !important;
    border-color: #7957d5 !important;
}

.selected {
/*    border: 2px solid green; /* Ð¡Ñ‚Ð¸Ð»ÑŒ Ð´Ð»Ñ Ð¿Ð¾Ð´ÑÐ²ÐµÑ‚ÐºÐ¸ */*/
    padding: 10px;
}

.get-revolut {
    font-weight: 900;
}

.button {
    background-color: white !important;
    color: black;
    padding: 12px 24px;
    border: 2px solid ;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    display: inline-block;
}

.get-quiz {
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.5rem;
    letter-spacing: normal;
    white-space: pre-line;
    margin: 10px 10px;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background-color: #e0e0e0;
    margin-bottom: 10px;
    background: #e0e0e0;
    border-radius: 5px;
    height: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: #76c7c0;
    width: 0%;
    transition: width 0.3s ease;
    background: linear-gradient(90deg, #514EE8, #E263BE);
    height: 100%;
    transition: width 0.3s ease;
}

h3 {
    color: black;
    font-size: 28px;
    text-align: left;
}

h1 {
    color: grey;
    font-weight: 500;
    white-space: pre-line;
}

.box {
    width: 100%;
    align-content: center;
    display: grid;
    gap: var(--rui-space-s16);
    height: auto;
    margin-left: auto;
    margin-right: auto;
    text-align: start;
    justify-items: start;
}

.lead-form {/* display: flex; */justify-content: center;align-items: center;/*    padding: 20px 60px;*/border-radius: 8px;}

.lead-form-content {
    display: flex;
    width: 100%;
}

.lead-form-text {
/*    flex: 0 0 70%;*/
    padding-top: 60px;
    color: black;
}

.lead-form-form {
    width: 50%;
    flex: 0 0 45%;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.lead-form h3 {
    margin-bottom: 15px;
/*    text-align: center;*/
}

.gift, .lead-form h3 {
    font-size: 26px;
}

.lead-form input[type="text"],
.lead-form input[type="email"],
.lead-form input[type="phone"],
.lead-form button {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.button {
    background: linear-gradient(90deg, #514EE8, #E263BE);
    border: none;
    border-radius: 5px;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: color 0.9s;
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #514EE8, #E263BE);
    transition: left 0.9s;
    z-index: 0;
}

.button:hover {
    color: white;
}

.button:hover::before {
    left: 100%;
}

.button span {
    position: relative;
    z-index: 1;
}


.question-image img {
    height: auto;
    max-width: 100%;
}

.checkbox {
    cursor: pointer;
    line-height: 1.25;
    display: inline-flex;
    align-items: center;
}

.control-label {
    color: black;
    font-size: 13px;
}

.approve {
    margin: 30px;
}


@media screen and (min-width: 720px) {
    .get-revolut {
        font-size: clamp(3rem, 1.8rem + 2.26667vw, 5rem);
    }
}

@media screen and (min-width: 320px) {
    .get-revolut {
        font-size: clamp(2rem, 1.6rem + 1.7vw, 2.5rem);
    }
}

@media (min-width: 720px) {
    .get-revolut {
        font-size: 4rem;
        letter-spacing: -0.075rem;
    }
}

@media (min-width: 1024px) {
    h1 {
        font-size: 2rem;
        line-height: 1.75rem;
        letter-spacing: -0.015rem;
    }

    .box {
        gap: var(--rui-space-s24);
        margin-left: auto;
        margin-right: auto;
        min-height: 200px;
        text-align: center;
        justify-items: center;
    }

}

@media (max-width: 768px) {
    .box { 
        text-align: center;
        justify-items: unset;
    }

    .quiz-option label {
        width: 100%;
    }

    .question-wrapper {
        flex-direction: column-reverse;
    }

    .question-content {
        width: 100%;
    }

    .lead-form-content {
        display: flex;
        flex-flow: row wrap;
        width: 100%;
        flex-direction: column;
    }

    .quiz-container {
        min-height: unset;
    }

    .content {
        height: auto;
    }

    .question-image {
        width: 80%;
    }

    .quiz-container {
        width: auto;
    }

    .lead-form {
        padding: unset;
    }

    .question-image img { 
        height: 175px;
    }

    .lead-form-form {
        width: 85%;
    }


}