
@import url('./style-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;

}


body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

header {
    color: white;
    background-color: black;
}

header h1 {
    font-size: 35px !important;
}

.header_wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1vw;
}

.header_links {
    display: flex;
}

.header_links a {
    font-size: 1vw;
    text-decoration: none;
    text-align: center;
    color: white;
    padding: 2vh 4vh;
    border: solid 0.13vw;
    border-radius: 100vw;
    width: 10vw;
    margin-left: 2vw;
    transition: all 0.15s;
}

.header_links a:hover {
    transition: all 0.3s;
    background-color: white;
    color: black;
}

.main_wrap {
    display: flex;
}

.text_wrap {
    padding-top: 25px;
    margin-bottom: 25px;
    margin-left: 70px;
}

.welcome_text{
    font-size: 3vh;
}

.question_wrap {
    width: 90%;
}

.buttons_box {
    display: flex;
    justify-content: space-around;
}

.question_wrap button {
    font-size: 60px;
    font-weight: 900;
    padding: 50px;
    margin-bottom: 20px;
    border-radius: 25px;
    border: 0px;
    cursor: pointer;
    transition: all 0.3s;
    width: 210px;
    height: 170px;

    position: relative;
}

.very_easy_questions button{
    background-color: rgb(171, 219, 243);
    color: rgb(51, 102, 136);
}

.very_easy_questions button:hover{
    box-shadow: 0px 0px 23px 11px rgba(171, 219, 243, 0.55);
    transition: all 0.3s;
}

.easy_questions button{
    background-color: rgb(60, 186, 148);
    color: rgb(250, 250, 250);
}

.easy_questions button:hover{
    box-shadow: 0px 0px 23px 11px rgba(60, 186, 148, 0.35);
    transition: all 0.3s;
}

.middle_questions button{
    background-color: rgb(51, 102, 136);
    color: rgb(250, 250, 250);
}

.middle_questions button:hover{
    box-shadow: 0px 0px 23px 11px rgba(51, 102, 136, 0.35);
    transition: all 0.3s;
}

.middle_hard_questions button{
    background-color: rgb(2, 94, 161);
    color: rgb(250, 250, 250);
}

.middle_hard_questions button:hover{
    box-shadow: 0px 0px 23px 11px rgba(2, 94, 161, 0.35);
    transition: all 0.3s;
}

.hard_questions button{
    background-color: rgb(93, 15, 104);
    color: rgb(250, 250, 250);
}

.hard_questions button:hover{
    box-shadow: 0px 0px 23px 11px rgba(143, 3, 236, 0.35);
    transition: all 0.3s;
}

.logo_wrap {
    margin-left: auto;
}

.logo_wrap img{
    padding: 25px !important;
    height: 90% !important;
    width: 80px !important;
}

.score_wrap {
    display: flex;
    margin-left: 150px;
    margin-top: 20px;
    margin-bottom: 20px;
    justify-content: center;
}

.score_wrap div{
    display: flex;
    margin-right: 40px;
    align-items: center;
}
.score_wrap p{
    font-size: 1.3vw;
    margin-right: 40px;
}

.points, .tryes {
    background-color: rgb(217, 217, 217);
    padding: 5px;
    padding-left: 35px;
    padding-right: 35px;
    border-radius: 15px;
}

.state_marker {
    position: absolute;
    
    top: -5px;
    right: 5px;
}

.state_marker img {
    width: 50px;
    
    background-color: white;
    border-radius: 100%;
}

.button_results{
    color: white;
    background-color: rgb(0, 114, 192);
    padding: .8vw;
    border-radius: .8vw;
    border: none;
    font-size: 1.1vw;
    cursor: pointer;
    transition: all 0.3s;
}
.button_results:hover{
    box-shadow: 0px 0px 23px 11px rgba(51, 102, 136, 0.35);
    transition: all 0.3s;
}

.btn_closed{
    display: none;
}

@media (width <= 1280px) {
    header h1 {
        font-size: 30px !important;
    }

    .header_links a {
        font-size: 20px;
        padding: 12px;
        padding-left: 25px;
        padding-right: 25px;
        width: 150px;
        margin-left: 20px;
    }

    .question_wrap button {
        font-size: 30px;
        padding: 10px;
        margin-bottom: 10px;
        width: 150px;
        height: 130px;
    }

    .text_wrap {
        padding-top: 40px;
        margin-bottom: 40px;
        margin-left: 35px;
    }
    
    .welcome_text{
        font-size: 3vh;
    }

    .logo_wrap img{
        padding-top: 40px;
        height: 600px;
        width: 75px;
    }
    
    .score_wrap {
        margin-left: 55px;
        margin-top: 15px;
        margin-bottom: 20px;
    }
    
    .score_wrap div{
        margin-right: 30px;
    }
    .score_wrap p{
        font-size: 1.3vw;
        margin-right: 20px;
    }
    
    .points, .tryes {
        padding-left: 25px;
        padding-right: 25px;
        border-radius: 13px;
    }

    .state_marker {
        
        top: 3px;
    }
    
    .state_marker img {
        width: 35px;
    }
}

@media (width <= 1000px) {
    header h1 {
        font-size: 25px;
    }
    .question_wrap button {
        font-size: 25px;
        width: 120px;
        height: 130px;
    }

    .text_wrap {
        padding-top: 60px;
        margin-bottom: 100px;
        margin-left: 35px;
    }

    .welcome_text {
        font-size: 3vh;
    }

    .logo_wrap img{
        padding-top: 45px;
        height: 950px;
        width: 100px;
    }

    .score_wrap {
        padding-top: 50px;
        font-size: 1.3vw;
    }

    .state_marker {
        top: 5px;
        left: 4px;
    }
    
    .state_marker img {
        width: 30px;
    }
}

/* Камень я не дам */

.logo_wrap img{
    padding: 25px !important;
    height: 90% !important;
    width: 80px !important;
}

@media (max-width: 1180px){
    .question_wrap button{
        padding: 0px !important;
    }

    *{
        -webkit-appearance: none !important;
        -moz-appearance:    none !important;
        appearance:         none !important;
    }

    .popup_question p{
        font-size: 2.25vh !important;
    }

    .question_type_0_answers div{
        height: 10vh;
    }

    .question_type_0_answers input{
        height: clamp(24px,1vh,25px) !important;
        width: clamp(24px,1vh,25px) !important;
    }

    .question_type_0_answers p{
        font-size: inherit;
    }

    .question_type_1_answers{
        justify-content: space-between;
    }

    .place_of_custom_dropdown{
        font-size: 15px !important;
    }
    
    .question_type_1_answers p{
        font-size: 10px;
    }
    .question_type_1_answers input{
        height: clamp(24px,1vh,25px) !important;
        width: clamp(24px,1vh,25px) !important;
    }

    .custom-dropdown-input{
        min-width: 100px;
        margin: 1px !important;
        padding: 2px !important;
    }

    .question_type_1_answers div{
        height: 6vh;
        margin: 10px;
    }

    .question_type_3_drag{
        font-size: 7px !important;
    }

    .question_type_4_answer{
        margin: 2px !important;
        font-size: 10px !important;
        min-height: 30px !important;
        width: 100px !important;
        padding: 10px !important;
    }

    .question_type_4_tables{
        justify-content: center !important;
    }

    .question_type_4_table_name{
        margin: 5px !important;
    }

    .question_type_4_answer_drop_zone{
        margin: 5px !important;
    }

    .question_type_5_answers{
        width: 50% !important; 
    }

    .question_type_5_dropdown_block{
        align-items: center;
    }

    .custom-dropdown-select{
        font-size: 15px !important;
    }
    
    .custom-dropdown-select div{
        font-size: 15px !important;
    }

    .custom-dropdown-input-placeholder{
        font-size: 15px !important;
    }

    .state_marker img{
        height: 20px !important;
        width: 20px !important;
    }

    .welcome_text{
        font-size: 20px !important;
        margin-bottom: 10px;
    }

    .text_wrap{
        margin-left: 0;
        padding: 25px;
        margin-bottom: 50px;
    }

    .question button{
        font-size: 40px;
        border-radius: 15px;
        margin: 1px !important;
        width: 130px;
        height: 130px;
    }

    .questions_btns{
        flex-wrap: wrap;
    }

    .score_wrap p{
        font-size: 20px;
    }

    .state_marker{

        top: 1px;
        right: 5px;
    }

    .header_links a {
        font-size: clamp(15px, 0.5vh , 25px);
        padding: 1vh 1vh;
        margin-left: 2vw;
    }
}


@media (max-width: 850px){
    .question_wrap button{
        padding: 0px !important;
    }
    .state_marker img{
        height: 20px !important;
        width: 20px !important;
    }
    .question button{
        font-size: 30px;
        padding: 10px !important;
        border-radius: 15px;
        margin: 1px !important;
        width: 110px;
        height: 110px;
    }

    .header_links a {
        font-size: clamp(15px, 0.5vh , 25px);
        padding: 1vh 1vh;
        margin-left: 2vw;
    }

    .score_wrap{
        padding: 25px !important;
        padding-top: 50px !important;
        margin: 0 !important;
    }

    .score_wrap p{
        font-size: 15px;
    }
    
    .logo_wrap{
        display: none;
    }
    .question_wrap{
        width: 100%;
    }

    .state_marker{
        top: 1px;
        right: 5px;
    }
}

@media (max-width: 565px){
    .question button{
        font-size: 30px;
        border-radius: 15px;
        margin: 1px !important;
        width: 95px;
        height: 110px;
    }
}