@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@300;400;700;800&display=swap');
:root {
    --primary-color: #00A99D;
    --primary-dark: #028077;
    --secondary-color: #F79623;
    --bg-light: #f4f4f4;
    --footer-bg: #323232;
    --text: #323232;
    --white: #fff;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    transition-duration: .3s;
    list-style-type: none;
    border: none;
    outline: none;
    font-family: 'Mulish', sans-serif;
}

html {
    color: var(--text) !important;
}

body {
    font-family: 'Mulish', sans-serif;
    font-size: 16px;
}

p {
    font-size: 1em;
}

img.abstract-bg {
    position: absolute;
}

.wrapper {
    width: 100%;
    height: auto;
    display: flex;
}

.user {
    text-transform: capitalize;
}


/* start of section 1 styles  */

.wrapper .sec-1 {
    width: 350px;
    min-height: 100vh;
    background-color: var(--primary-color);
    position: fixed;
    text-align: center;
}

.wrapper .sec-1 .logo {
    width: 40%;
    margin: 3em auto;
}

.wrapper .sec-1>span {
    display: grid;
    align-content: center !important;
    justify-content: center;
    height: auto;
    min-height: 50vh;
}

.wrapper .sec-1 .book {
    height: auto;
    width: 100%;
    position: relative;
    transform: rotateZ(30deg);
    margin: 0 auto;
    margin-top: 5rem;
}

.wrapper .sec-1 p {
    color: var(--white);
    padding: 3rem;
    font-size: 1.3em;
}

.wrapper .sec-1 .abstract-bg {
    bottom: 0;
    left: 0;
}


/* start of sec-2 styles  */

.wrapper .sec-2 {
    width: calc(100% - 350px);
    position: absolute;
    display: grid;
    align-content: space-between;
    justify-content: center;
    text-align: center;
    left: 350px;
}

.wrapper .sec-2 .content {
    min-height: 94vh;
    margin-top: 3em;
    position: relative;
    z-index: 2;
    display: grid;
    align-content: center;
}

.wrapper .sec-2 .page-number {
    width: 35px;
    height: 35px;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.3em;
    margin-bottom: 3em;
}

.wrapper .sec-2 .question-con {
    width: auto;
    height: auto;
    margin-top: 2em;
}

.wrapper .sec-2 .question {
    font-size: 2em;
    font-weight: 600;
    font-family: 'Mulish', sans-serif;
    text-align: center;
}

.wrapper .sec-2 .hint {
    font-size: 1.2em;
    font-weight: 300;
    margin-top: .3rem;
    font-family: 'Mulish', sans-serif;
}

.wrapper .sec-2 .illustration {
    width: 300px;
    height: 200px;
    margin: 0 auto;
    margin-bottom: 5em;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
}

.wrapper .sec-2 .illustration img {
    height: 70%;
    width: auto;
}

form {
    width: 400px;
    margin: 0;
    margin: 2em auto;
}

form input,
form select {
    width: 100%;
    height: 50px;
    padding: 0 1rem;
    font-size: 1em;
    background-color: var(--bg-light);
    border-bottom: 1px solid #000;
    color: #000;
    margin-bottom: 1em;
}

form.question-form input[type="radio"] {
    width: 20px;
    height: 20px;
    display: none;
}

.btn-continue {
    width: 300px;
    height: 50px;
    color: var(--white);
    padding: 0 2em;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primary-color);
    font-size: 1.2em;
    margin: 0 auto;
    margin-top: 1em;
    cursor: pointer;
    text-decoration: none;
}

.btn-continue:hover {
    background-color: var(--primary-dark);
    text-decoration: none;
    color: var(--white);
}

.btn-continue img {
    width: 30px;
    margin-right: 1em;
}

.wrapper .sec-2 .answer {
    width: fit-content;
    height: fit-content;
    display: flex;
    margin: 0 auto;
    margin-top: 1em;
    margin-bottom: 3em;
}

.wrapper .sec-2 .answer .answer-btn {
    width: fit-content;
    height: 60px;
    padding: 0 2em;
    color: #000;
    font-size: 1.3em;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.wrapper .sec-2 .answer .answer-btn img {
    width: 25px;
    margin-right: 1rem;
}

.wrapper .sec-2 .answer .answer-btn.btn-yes {
    background-color: #02a23a2b;
}

form.question-form input[type="radio"]:checked+label .answer-btn.btn-yes,
form.question-form input[type="radio"]:checked+label .answer-btn.btn-yes:hover {
    background-color: #02742a;
}

.wrapper .sec-2 .answer .answer-btn.btn-yes:hover {
    background-color: #029f3996;
}

.wrapper .sec-2 .answer .answer-btn.btn-no {
    background-color: #ff00002b;
}

form.question-form input[type="radio"]:checked+label .answer-btn.btn-no,
form.question-form input[type="radio"]:checked+label .answer-btn.btn-no:hover {
    background-color: #ff0000de;
}

.wrapper .sec-2 .answer .answer-btn.btn-no:hover {
    background-color: #ff000086;
}

.wrapper .sec-2 .progress-section {
    width: 400px;
    margin: 0 auto;
    margin-top: 5em;
    position: relative;
    z-index: 2;
}

.wrapper .sec-2 .progress-bar {
    width: 100%;
    height: 10px;
    background-color: #c4c4c4;
    border-radius: 5px;
    position: relative;
}

.wrapper .sec-2 .progress-value {
    position: absolute;
    bottom: 100%;
    transform: translateX(-50%);
}

.wrapper .sec-2 .progress {
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 5px;
}

.wrapper .sec-2 .actions {
    width: 100%;
    height: 40px;
    margin-top: 2em;
    display: flex;
    justify-content: space-between;
}

.wrapper .sec-2 .actions>span {
    display: flex;
    width: fit-content;
}

.wrapper .sec-2 .actions button {
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wrapper .sec-2 .actions button img {
    width: 30px;
}

.wrapper .sec-2 .actions .backward,
.wrapper .sec-2 .actions .forward {
    width: 40px;
    height: 40px;
    background-color: transparent;
    border-radius: 50%;
    cursor: pointer;
}

.wrapper .sec-2 .actions .backward:hover,
.wrapper .sec-2 .actions .forward:hover {
    background-color: var(--primary-color);
}

.wrapper .sec-2 .actions .previous,
.wrapper .sec-2 .actions .next {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1em;
    text-transform: capitalize;
    cursor: pointer;
    padding: 0 .5em;
    margin: 0 .5em;
}

.wrapper .sec-2 .actions .previous:hover,
.wrapper .sec-2 .actions .next:hover {
    background-color: var(--bg-light);
}

.wrapper .sec-2 .shield {
    left: 0;
    top: 0;
}

.wrapper .sec-2 .voodoo {
    right: 2em;
    top: 2em;
}

.wrapper .sec-2 .tree {
    bottom: 0;
    left: 4em;
}

.wrapper .sec-2 .elephant {
    height: 45vh;
    right: 0;
    bottom: 0;
}


/* start of the mobile header styles  */

header {
    width: 100%;
    height: 50px;
    background-color: var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1em;
    display: none;
}

header>img.logo {
    height: 70%;
    /* display: none; */
}

header button {
    width: 35px;
    height: 35px;
    background-color: transparent;
    cursor: pointer;
}

header button:hover {
    background-color: #ffffff2c;
}

header button img {
    width: 100%;
}

@media screen and (max-width: 800px) {
    p {
        font-size: 1.3em;
    }
    img.abstract-bg {
        position: absolute;
    }
    .wrapper {
        width: 100%;
        height: auto;
        display: flex;
    }
    /* start of section 1 styles  */
    .wrapper .sec-1 {
        width: 100%;
        min-height: 0;
        height: 0;
        top: 50px;
        background-color: var(--primary-color);
        position: fixed;
        z-index: 3;
        overflow: hidden;
    }
    .wrapper .sec-1.show {
        height: calc(100vh - 50px);
    }
    .wrapper .sec-1 .logo {
        width: 25%;
        margin: 1em auto;
    }
    .wrapper .sec-1 .book {
        height: auto;
        width: 70%;
        max-width: 300px;
        margin-top: 3rem;
    }
    .wrapper .sec-1 p {
        padding: 2rem;
    }
    .wrapper .sec-1 .abstract-bg {
        width: 40%;
    }
    /* start of sec-2 styles  */
    .wrapper .sec-2 {
        margin-top: 60px;
        width: 100%;
        padding: 0 1em;
        left: 0;
    }
    .wrapper .sec-2 .content {
        margin-top: 1em;
        width: 100%;
    }
    .wrapper .sec-2 .question-con {
        margin-top: 2em;
        width: 100%;
        text-align: center;
        margin-bottom: 1em;
    }
    .wrapper .sec-2 .question {
        font-size: 1.8em;
    }
    .wrapper .sec-2 .hint {
        font-size: 1.2em;
    }
    .wrapper .sec-2 .illustration {
        width: 60%;
        height: 130px;
    }
    form {
        width: 100%;
    }
    form input,
    form select {
        margin-bottom: 1em;
    }
    .btn-continue {
        width: 90%;
        margin-top: 0;
    }
    .wrapper .sec-2 .answer {
        margin-top: 0;
    }
    .wrapper .sec-2 .answer button {
        padding: 0 1em;
    }
    .wrapper .sec-2 .answer button img {
        width: 20px;
    }
    .wrapper .sec-2 .progress-section {
        width: 100%;
        margin-bottom: 1em;
        margin-top: 1em;
    }
    .wrapper .sec-2 .actions {
        width: 100%;
        height: 35px;
    }
    .wrapper .sec-2 .actions button img {
        width: 25px;
    }
    .wrapper .sec-2 .actions .backward,
    .wrapper .sec-2 .actions .forward {
        width: 35px;
        height: 35px;
    }
    .wrapper .sec-2 .shield {
        left: 0;
        top: 0;
        width: 25vw;
    }
    .wrapper .sec-2 .voodoo {
        right: 1em;
        top: 1em;
        width: 25vw;
    }
    .wrapper .sec-2 .tree {
        bottom: 0;
        left: 1em;
        width: 35vw;
    }
    .wrapper .sec-2 .elephant {
        height: auto;
        width: 35vw;
        right: 0;
        bottom: 0;
    }
    /* start of the mobile header styles  */
    header {
        position: fixed;
        left: 0;
        top: 0;
        z-index: 4;
        display: flex;
    }
    header button img {
        position: relative;
    }
    header button.show img {
        transform: rotateZ(180deg);
    }
}

.alert {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}