/******************************
Questionnaire styles
******************************/
#quiz-container {
    margin-top: 70px;
    margin-bottom: 120px;
    min-width: 100vw;
    min-height: 100vh;
}

#image-container {
    width: 49vw;
    height: 100vh;
    display: inline-block;
    margin: 0;
    padding: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    box-sizing: border-box;
    vertical-align: top;
}

#image-container div {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
}

#question-text {
    color: white;
    font-size: 55px;
    width: 70%;
    margin: 15% auto;
}

/* Questions styles */

#prompt-wrapper {
    float: right;
    display: table;
    width: 48vw;
    height: 100vh;
    background-color: white;
    box-sizing: border-box;
}

.prompt-positioner {
    display: table-cell;
    vertical-align: middle;
}

.prompt-container {
    width: 100%;
    margin: 0 auto;
}

.questions-container {
    width: 63%;
    margin: 0 auto;
}

.selected-question-wrapper {
    background: linear-gradient(to right, #e77538, #f6d672);
}

.question-wrapper {
    box-sizing: border-box;
    width: 100%;
    padding: 15px;
    margin: 25px 0;
    border-radius: 20px;
    font-size: 20px;
    padding: 2px;
    text-decoration: none;
    box-shadow: 0px 0px 20px lightgrey;
    cursor: pointer;
}

.questions-container li div {
    width: 100%;
    border-radius: 20px;
    height: 100%;
    background-color: white;
    padding: 15px;
}

.questions-container li .selected-text {
    color: #f07a30;
    font-weight: 600;
}

.questions-container li p {
    color: black;
    text-align: center;
    width: 80%;
    margin: auto;
    padding: 0;
    font-size: 22px;
}


/* Quiz navigator styles */

.prompt-container nav {
    width: 65%;
    margin: 45px auto 10px auto;
}

.prompt-container nav ul {
    width: 150px;
    margin: 0 auto;
    text-align: center;
}

.prompt-container nav li {
    width: 14px;
    height: 14px;
    border-radius: 7px;
    background-color: lightgrey;
    display: inline-block;
}

.prompt-container nav .active {
    background-color: #f07a30;
}

.prompt-container nav p {
    text-align: center;
    color: #f07a30;
    padding: 0;
}

@media screen and (max-width: 1000px) {
/******************************
Questionnaire styles
******************************/
    #question-text {
        font-size: 40px;
        margin: 15px auto;
    }

    #image-container {
        width: 100vw;
        height: 200px;
        display: block;  
    }

    #prompt-wrapper {
        width: 100vw;
        height: 70vh;
        display: block;
        z-index: 1;
    }

    .prompt-container {
        display: block;
    }

    .prompt-positioner {
        display: block;
    }

    #image-container div {
        padding-top: 25px;
    }
}

@media screen and (max-width: 700px) {
    .question-wrapper {
        margin: 15px 0;
    }

    .questions-container {
        width: 85%;
    }

    .questions-container li p {
        font-size: 14px;
    }

    #image-container {
        height: 150px;
    }

    #question-text {
        margin-top: 5px;
        font-size: 30px;
    }
}
    
@media screen and (max-width: 500px) {
    #question-text {
        font-size: 25px;
    }

    #image-container {
        min-width: 300px;
    }

    #prompt-container nav {
        min-width: 300px;
    }

    .questions-container {
        width: 95%;
        min-width: 300px;
    }

    .prompt-container nav {
        width: 80%;
    }
}

@media screen and (max-height: 525px){
    #quiz-container {
        min-height: 625px;
    }
}

