@import url('normalize.css');

@media (max-width: 1600px) {
    .content{
        justify-content: center;
    }
    .frame{
        margin: 10px;
    }
    .video_and_quiz{
        height: auto;
        width: 100%;
        max-width: 1600px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        margin-bottom: 50px;
    }
}

body{
    font-family: 'Ubuntu', sans-serif;
}

header{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 100px;
    background: #9bc698;
}

header h1{
    color:#49874e;
    font-weight: 700;
    font-size: 34px;
}

header img{
    padding: 10px;
}

footer{
    border-top: 2px solid #49874e;
    background: #9bc698;
}

footer img{
    max-width: 1920px;
    width: 100%;
    height: auto;
}

main{
    max-width: 100%;
    min-height: 90vh;
    height: auto;
    max-height: 100%;
    background: #9bc698;
    display: flex;
    flex-direction: row;
}

.content{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.modal{
    position:fixed;
    left: 0;
    top:0;
    width: 100%;
    height: 100vh;
    z-index: 99998;
    background-color: rgba(0,0,0,.5);
    display: grid;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transition: 500ms;
}

.row_with_title{
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #c8e4cc;
    color: #49874e;
    text-align: center;
    margin: 0;
}

.modal_box h3{
    margin: 0;
}

.modal.open{
    visibility: visible;
    opacity: 1;
}

#close_modal_btn{
    border: none;
    background: transparent;
    padding: 5px;
    width: 30px;
    height: 30px;
    align-self: flex-end;
}

#close_modal_btn img{
    height: 30px;
    width: 30px;
    transition: 300ms;
}

#close_modal_btn img:hover{
    transform: rotate(180deg);
}

.back_btn{
    margin: 40px;
    width: 200px;
    height: 50px;
    background: #c8e4cc;
    color: #fff;
    border: none;
    text-align: center;
    border-radius: 25px;
    transition: 200ms;
}

.back_btn:hover{
    transform: scale(1.1);
    background: #b8e1be;
}

.back_btn a{
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 20px;
}

.video_and_quiz{
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.frame{
    width: 640px;
    height: 360px;
    background: #49874e;
    margin: 10px 50px;
}

.quiz_wrppaper{
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 50px;
}

#answer_buttons{
    display: flex;
    flex-direction: column;
}

#question_name{
    color:#49874e;  
    font-weight: 400;
}

.ans_btn{
    min-width: 600px;
    width: 100%;
    height: 90px;
    font-size: 20px;
    background: #c8e4cc;
    padding: 5px 10px;
    margin: 5px 0px;
    border: 2px solid #49874e;
    border-radius: 4px;
    transition: 300ms;
}

.ans_btn:hover:not([disabled]){
    background: rgb(179, 227, 175);
    color:#000;
}

.ans_btn:disabled{
    color: #000;
    cursor: no-drop;

}

.pic_btn{
    min-width: 200px;
    height: 50px;
    font-size: 20px;
    background: #c8e4cc;
    padding: 5px 10px;
    margin: 5px 0px;
    border: 2px solid #49874e;
    border-radius: 4px;
    transition: 300ms;
    margin: 10px;
}

.pic_btn:hover:not([disabled]){
    background: rgb(179, 227, 175);
    color:#000;
}

.pic_btn:disabled{
    color: #000;
    cursor: no-drop;

}

#next_button{
    background: #49874e;
    padding: 10px 20px;
    margin-top: 15px;
    font-weight: 500;
    color: #fff;
    border: 3px solid #9bc698;
    border-radius: 4px;
    transition: 300ms;
}

#next_button:hover{
    transform: scale(1.1);
}

.correct{
    background: #16da6b;
}

.incorrect{
    background: #ff9393;
}

.pic_in_quiz{
    margin: 10px;
    width: 200px;
    height: 200px;
    display: flex;
    flex-direction: column;
    transition: 500ms;
}

#pic_quiz{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.quiz_container{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.focus_img{
    border: solid 2px #000;
    width: 300px;
    height: 300px;
    transition: 500ms;
}

.input_quiz{
    display: flex;
    justify-content: center;
    align-items: center;
}