@import url(./test.css);
@import url(./popup.css);
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap');

*{
    margin: 0;
    padding: 0;
    font-family: 'Montserrat' , sans-serif;
    box-sizing: border-box;
}

a{
    text-decoration: none;
}

body{
    background: #fff;
    height: 100vh;
    width: 100vw;
}

.main_window{
    height: 100%;
    width: 100%;
}

.black_header{
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    background-color: black;
}

.black_header h1{
    width: 60%;
    font-size: clamp(25px,4vw,35px);
}

.black_header a{
    color: white;
    padding: 15px;
    padding-left: 30px;
    padding-right: 30px;
    border: solid 2px;
    border-radius: 35px;
    min-width: 165px;
    width: 300px;
    transition: all 0.3s;
}

.black_header a:hover{
    transition: all 0.3s;
    background-color: white;
    color: black;
}

.content{
    margin-right: 25px;
    border-radius: 50px;
    background-color: rgb(255, 255, 255);
    height: 84%;
}

.answer_buttons{
    display: flex;
    flex-direction: column;
}

.content h2{
    font-size: 30px;
    padding: 25px;
    color: rgb(255, 114, 118);
}

.content h2 span{
    color: #000;
    font-size: 40px;
    font-weight: 900;
    margin-right: 15px;
}

.first_row{
    width: 50%;
}

.answer_buttons{
    margin: 25px;
    height: 55%;
}

.questions{
    margin-top: 5px !important;
    margin-bottom: 5px !important;
}

.questions div p {
    margin-left: 0 !important;
}

p{
    margin-left: 35px !important;
}

.image_with_text{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
}

.image_with_text img{
    width: 25% !important;
    margin-bottom: 25px;
}

.theory_eom img{
    width: 29% !important;
}

.ans_btn{
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-right: 50px;
    min-width: 900px;
    min-height: 90px;
    font-size: 25px;
    padding: 10px;
    border-radius: 15px;
    text-align: start;
    background-color: #fff;
    border: solid 1px #000;
    cursor: pointer;
}

.ans_btn:hover{
    background-color: #f5f5f5;
}

.ans_btn:active{
    border: solid 1px #707070;
    background-color: #b8d8ff;
}

.ans_btn span{
    display: flex;
    align-items: center;
    font-weight: 800;
    height: 80px;
    color: rgb(255, 114, 118);
    margin-right: 50px;
    padding-left: 25px;
    padding-right: 35px;
    font-size: 50px;
    border-right: solid 1px black;
}

.main_buttons_part{
    display: flex;
    flex-direction: row;
    height: 25%;
    align-items: flex-end;
    justify-content: flex-end;
    margin: 15px;
}

.next_button{
    display: flex;
    padding: 10px;
}

#nxt_btn_1{
    margin-right: 25px;
}

#nxt_btn_1 .material-symbols-outlined{
    transform: rotate(180deg);
}

#nxt_btn_2{
    align-items: center;
}

.next_button button{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    padding: 10px;
    width: 200px;
    background-color: #0070c0;
    border-radius: 35px;
    color: white;
    font-weight: 700;
    border: 0;
    transition: all 0.3s;
}

.next_button button:active{
    background-color: #5dabe2;
}

.disabled_button{
    display: none;
}

input:disabled {
    background-color: #000;
    color: #0070c0;
}

.choices_div2 .correct{
    cursor: no-drop;
    transition: all 0.3s;
    background-color: rgb(168, 255, 168);
}

.incorrect{
    cursor: no-drop;
    transition: all 0.3s;
    background: rgb(255, 144, 144);
}

.step_marker_and_buttons{
    display: flex;

    width: 100% !important;
    margin: 0 !important;
    padding: 25px !important;
}

.theory_eom{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.theory_eom p{
    width: 70% !important;
}

.theory_eom img{
    object-fit: contain;
    margin-left: 35px;
    width: 30%;
    aspect-ratio: 1 !important;
}

.theory_eom p{
    margin-top: 10px;
    font-size: clamp(25px, 2vw, 30px);

}

.main_image{
    position: relative;
    height: 500px;
    margin: 40px;
    border-radius: 15px;
}

.theory_eom p{
    color: #000;
    font-weight: 500;
}



@media (max-width: 1180px) {
    body{
        width: 100%;

    }

    
    .theory_eom{
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .image_with_text img{
        width: 60% !important;
        margin-bottom: 25px;
    }

    .theory_eom p {
        margin-top: 10px;
        font-size: clamp(20px, 0.25vw, 25px);
    }

    .image_with_text{
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .image_with_text p{
        margin-bottom: 0 !important;
    }

    .answers_btn form div {
        width: 700px;
    }
    .choices_div2{
        width: 700px;
    }
    .question_part #question {
        padding: 10px;
        margin: 10px;
        margin-top: 10px;
    }
    .button_part {
        margin-top: 5px;
        padding-bottom: 0px;
    }

    .step_marker_and_buttons {
        width: 95vw;
        padding-bottom: 50px;
        
    }

    .main_buttons button {
        width: 130px;
    }

    .theory_eom{
        align-items: flex-start;
        margin-left: 45px;
    }
    .theory_eom p{
        margin: 0 !important;
    }
    .theory_eom img{
        text-align: center;
        margin: auto !important;
        width: 60% !important;
    }
    .black_header h1{
        width: 75%;
    }

    .step_marker_and_buttons{
        display: flex;
    }

    .content{
        margin-right: 0;
    }
    .popup_text img{

        height: 100%;
    }
    .popup_body{
        height: 50vh;
    }
    .popup_content {
        height: 50vh;
    }
    .popup_text{
        display: flex;
        align-items: center;
        height: 500px;
    }
    body{
        width: 100%;
    }

    .answers_btn form {
        width: 700px;
        
    }
    .answers_btn form div {
        width: 700px;

    }
    .choices_div2{
        width: 700px;
    }
    .question_part #question {
        padding: 10px;
        margin: 10px;
        margin-top: 10px;
    }
    .button_part {
        margin-top: 5px;
        padding-bottom: 50px;
    }

    .step_marker_and_buttons {
        width: 90vw;
        padding-bottom: 0px;
        
    }

    .theory_eom p{
        width: 100% !important;
    }

    .answers_btn form div {
        margin: 5px;
    }

    .main_buttons button {
        width: 130px;
    }
    .questions{
        margin: 15px;
    }
    .questions p{
        padding:  10px;
    }
    .answers_btn form {
        margin-bottom: 20px;
    }
}

@media (max-width: 820px) {
    
    p{
        margin-left: 0 !important;
    }
    .image_with_text{
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
    .theory_eom img{
        width: 60%;
        margin: 0;
    }

    .black_header a{
        font-size: 15px;
    }

    .links_black_header{
        min-width: 165px;
    }

    .black_header h1{
        width: 70%;
    }



    .step_marker{
        margin-left: 0;
        margin-bottom: 25px;
    }

    .content{
        margin-right: 0;
    }
    .first{
        flex-direction: column;
    }
    .second{
        flex-direction: column;
    }
}