/* custom fonts */
@font-face {
    font-family: "Nunito-Semibold";
    src: url("../fonts/Nunito-SemiBold.woff2");
}

@font-face {
    font-family: "Nunito-Regular";
    src: url("../fonts/Nunito-Regular.woff2");
}

@font-face {
    font-family: "Roboto-Regular";
    src: url("../fonts/Roboto-Regular.woff2");
}

@font-face {
    font-family: "Dosis-Regular";
    src: url("../fonts/Dosis-Regular.woff2");
}

@font-face {
    font-family: "Dosis-ExtraBold";
    src: url("../fonts/Dosis-ExtraBold.woff2");
}

/* window dimensions: SLS preview frame window on Mobile */
/* web fonts */

:root {
    --pink: #FF0082;
    --blue: #578FFE;
    --dark: #5B5B5B;
}

body {
    height: 100vh;
    overflow: hidden;
    margin: 0 auto;
}

#_topFrame {
    height: 100%;
    display: flex;
    container-type: inline-size !important;
    flex-direction: column;
    justify-content: center;
    margin: 0 20px;
}

#cover {
    flex-direction: column;
    gap: 6vh;
    width: 100%;
    z-index: 3;
}

#cover>#mobile {
    width: 100%;
}

#cover>#mobile>svg {
    width: 85vw;
    height: 75vh;
}

#cover>#desktop>svg {
    width: 85vw;
    max-width: 621px;
    height: 80vh;
}

#cTitle>svg {
    height: fit-content;
    width: 72vw;
    max-width: 621px;
}

#cIntro>svg {
    height: fit-content;
    width: 80vw;
    max-width: 621px;
}

#cStartBtn>svg {
    max-width: 75px;
}

#futureselfquiz {
    font-family: 'Nunito-Semibold';
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    color: var(--dark);
}

#metadata {
    display: none !important;
}

#futureselfquiz {
    font-size: 1.6rem;
    padding: 0;
}

.question {
    display: flex !important;
    align-items: center;
    gap: 1.55vw;
    flex-direction: column;
    margin: 1.5vw auto 1.6875rem !important;
}

.question fieldset {
    display: flex !important;
    align-items: center;
    padding: 0;
}

.options {
    display: flex !important;
    width: 50%;
    gap: 0.3rem;
    justify-content: space-between;
}

.answer {
    display: flex !important;
    align-items: center;
    gap: 1.8vw;
    width: 100%;
    justify-content: space-between;
}

.agreement>input {
    display: none
}

.disagreement>input {
    display: none
}

.agreement>input:checked+label {
    background-color: var(--blue);
}

.disagreement>input:checked+label {
    background-color: var(--pink);
}

/* for resolving issue of radio buttons being oversied in mobile */
.agreement>label,
.disagreement>label {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    border: 0.15rem solid white;
    outline-color: var(--blue);
    outline-width: 0.15rem;
    outline-style: solid;
}

.disagreement>label {
    outline-color: var(--pink);
}

.agreement>label {
    outline-color: var(--blue);
}

fieldset:nth-of-type(2)>label,
fieldset:nth-of-type(5)>label {
    height: 0.5rem;
    width: 0.5rem;
    border: 0.15rem solid white;
    outline-width: 0.15rem;
}

fieldset:nth-of-type(3)>label,
fieldset:nth-of-type(4)>label {
    height: 0.4rem;
    width: 0.4rem;
    border: 0.15rem solid white;
    outline-width: 0.125rem;
}

.answer-label {
    font-size: .75rem;
    font-family: 'Nunito-Regular';
    padding: 0;
}

.question>button {
    font-size: .9rem;
    font-family: 'Nunito-Regular';
    color: var(--dark);
}

.answer-label:first-child {
    color: var(--pink)
}

.answer-label:last-child {
    color: var(--blue)
}

#control {
    overflow: scroll;
    height: 65%;
    width: 95%;
    position: relative;
    overflow: scroll;
}

#control::-webkit-scrollbar {
    display: none;
}

#progressBar {
    background: white;
    display: flex;
    position: relative;
    height: 15px;
    border: 1px solid var(--dark);
    border-radius: 0.3125rem;
}

#progressLevel {
    height: 100%;
    border-radius: 0.3125rem 0 0 0.3125rem;
    transition: all 0.1s linear 0s;
    margin-bottom: 40px;
    background: #eeb4a3;
    position: absolute;
}

.divider {
    width: 20%;
}

.divider:nth-child(2) {
    border-right: 1px solid var(--dark);
    z-index: 1;
}

.divider:nth-child(3) {
    border-right: 1px solid var(--dark);
    z-index: 1;
}

.divider:nth-child(4) {
    border-right: 1px solid var(--dark);
    z-index: 1;
}

.divider:nth-child(5) {
    border-right: 1px solid var(--dark);
    z-index: 1;
}

.fullbar {
    border-radius: 0.3125rem !important;
}


#percentage {
    display: flex;
    margin-left: 0%;
    transition: all 0.1s linear 0s;
    margin-bottom: .5%;
    font-family: 'Nunito-Regular';
    font-size: .75rem;
}

#navigationbuttons {
    padding: 0px;
    margin: 0px auto;
    text-align: center;
    justify-content: center;
    gap: 21.75vw;
    z-index: 3;
}

#back_button,
#next_button {
    width: 4.5rem;
    height: 2.2rem;
    border-radius: 10px;
    border-width: 1px;
    border-style: solid;
    font-family: 'Roboto-Regular';
    font-style: normal;
    font-weight: 700;
    font-size: .8rem;
    transition: all .2s linear;
}

#back_button {
    /* prevent EJS from disabling pointer events */
    pointer-events: all !important;
    background-color: white;
    border-color: var(--dark);
    color: var(--dark);
}

#back_button:hover {
    background-color: #ADADAD;
    border-color: #ADADAD;
    color: white;
}

#next_button {
    background-color: #ADADAD;
    border-color: #ADADAD;
    color: white;
}

#next_button:hover {
    background-color: white;
    border-color: var(--dark);
    color: var(--dark);
}

.btn-is-disabled {
    opacity: 0.3 !important;
}

#back_button:disabled:hover {
    background-color: white;
    border-color: var(--dark);
    color: var(--dark);
}

#footer {
    display: none !important;
}

@container (min-width: 560px) {
    #footer {
        display: block !important;
        z-index: 2;
        position: absolute;
        bottom: -35px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        background: transparent;
        padding-top: 5px !important;
    }
}

#copyright {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%);
    text-align: center;
    font-family: 'Nunito-Regular';
    font-style: normal;
    font-weight: 600;
    font-size: .7rem;
    line-height: .7rem;
    color: var(--dark);
    height: 39px;
    width: 100%;
    background: white;
    z-index: 1;
    align-items: flex-end;
    justify-content: center;
}

#content-creaters {
    font-family: 'Nunito-Regular';
    font-style: normal;
    font-weight: 600;
    font-size: .75rem;
    line-height: 1rem;
    color: var(--dark);
    text-align: center;
}

#welldone {
    position: absolute;
    top: 46%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

@container (max-width: 480px) {
    #welldone {
        gap: 14px;
    }
}

#welldone-text {
    width: 55%;
}

#welldone-completed {
    width: 75%;
}

#welldone-viewresult {
    width: 160px;
    height: 40px;
    background: var(--blue);
    border-radius: 10px;
    border: 0;
    font-family: 'Roboto-Regular';
    font-style: normal;
    font-weight: 700;
    font-size: 15px;
    color: #F5F5F5;
}

#Results {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95vw;
}

#strengths,
#work-on {
    font-family: 'Nunito-Regular';
    font-size: .9rem;
    font-weight: 700;
}

#strengths {
    color: var(--blue);
}

#work-on {
    color: var(--pink);
}

#Results>#label4 {
    font-size: 7vw;
    font-family: 'NUNITO-REGULAR';
    margin-bottom: 15px;
}

#panel {}

#Left,
#Right {
    font-size: 3.5vw;
    font-family: 'Nunito-Regular';
    color: #F47D61;
    line-height: 5.5vw;
}

#LeftEncourage,
#RightPraise,
#Left,
#Right {
    width: 50%;
}

#LeftEncourage pre,
#RightPraise pre {
    white-space: pre-wrap;
    text-align: center;
    font-family: 'Nunito-Regular';
    font-size: .8rem;
    text-align: center;
}

#instructions {
    color: var(--Grey-01, #5B5B5B);
    font-family: 'Nunito-Regular';
    font-size: 11px;
    margin-top: 8px !important;
    margin-bottom: 8px !important;
    max-width: 540px;
}

/* window dimensions: SLS PREVIEW WINDOW FRAME 
 * large mobile device to Desktop */
@container (width > 450px) {
    #control {
        height: 65%;
    }

    .agreement>label {
        width: 1rem;
        height: 1rem;
        border-radius: 50%;
        border: 0.3rem solid white;
        outline-color: var(--blue);
        outline-width: 0.2rem;
        outline-style: solid;
    }

    /* Reduce the size of subsequent radio buttons */
    fieldset:nth-of-type(2)>label,
    fieldset:nth-of-type(5)>label {
        height: .8rem;
        width: .8rem;
        border: 0.25rem solid white;
        outline-width: 0.2rem;
    }

    fieldset:nth-of-type(3)>label,
    fieldset:nth-of-type(4)>label {
        height: .7rem;
        width: .7rem;
        border: 0.2rem solid white;
        outline-width: 0.2rem;
    }

    .disagreement>label {
        width: 1rem;
        height: 1rem;
        border-radius: 50%;
        border: 0.3rem solid white;
        outline-color: var(--pink);
        outline-width: 0.2rem;
        outline-style: solid;
    }

    #Results>#label4 {
        font-family: 'Nunito-Regular';
        font-style: normal;
        font-weight: 700;
        font-size: 1.5rem;
        line-height: 55px;
        color: #2E4174;
    }

    #Left,
    #Right {
        padding: 0.5em;
        font-size: 0.85rem;
        font-family: 'Nunito-Regular';
        color: #F47D61;
        line-height: 1.3rem;
    }

    #footer {
        display: block;
        gap: 0.5rem;
        height: 15%;
        flex-direction: column;
    }
}

/* window dimensions: Expanded window in a new browser tab (viewports larger than SLS size window in Desktop) */
@media only screen and (min-device-width: 600px) {
    #fullscreen {
        height: fit-content;
    }

    #navigationbuttons {
        padding-top: 25px;
    }

    body {
        max-width: 661px;
    }
}
