/* @import url('https://fonts.cdnfonts.com/css/gilroy-bold'); */
/* 
font-family: 'Gilroy-Bold', sans-serif;
font-family: 'Gilroy-Heavy', sans-serif;
font-family: 'Gilroy-Light', sans-serif;
font-family: 'Gilroy-Medium', sans-serif;
font-family: 'Gilroy-Regular', sans-serif;
 */

*{
    outline: none;
    border: none;
    appearance: none;
    margin: 0;
    padding: 0;
    color: black;
    font-family: 'Gilroy-Medium', sans-serif;
    box-sizing: border-box;
    list-style: none;
    font-weight: 400;
}
body{
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow-x: hidden;
}
header{
    align-self: center;
    display: flex;
    width: 680px;
    justify-content: space-between;
    margin-top: 44px;
    
}   
header img{
    width: 150px;
    height: 170px;
    
}
header h1{
    margin-top: 25px;
    color: #BA0000;
    font-size: 48px;
    font-family: 'Gilroy-Bold', sans-serif;
}

.form1{
    width: 378px;
    height: 318px;
    border: solid #BA0000 1px;
    border-radius: 7px;
    margin-top: 27px;
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.form1 h1{
    font-family: 'Gilroy-Bold', sans-serif;
    font-size: 48px;
    text-align: center;
    margin-top: 18px;    
    margin-bottom: 29px;
}
.form1 input{
    width: 212px;
    height: 40px;
    border-radius: 4px;
    background-color: #e4ecff;
    padding-left: 18px;
    font-size: 22px;
    font-family: 'Gilroy-Regular', sans-serif;
}

.form1 input[type="password"]
{
    margin-top: 10px;
    margin-bottom: 41px;
}
.form1 input[type="submit"]
{
    width: 138px;
    text-align: center;
    padding: 0;
    cursor: pointer;
}

main{
    width: 100%;
    height: 1275px;
    /* background: url(/img/choose.png); */
    position: relative;
    padding-top: 181px;
}
.form2{
    margin: 0;
    display: flex;
    flex-direction: column;
    height: 950px;
    flex-wrap: wrap;
}
.usluga{
    width: 562px;
    display: flex;
    flex-direction: column;
    margin-top: 0px;
    margin-left: 149px;
    margin-bottom: 26px;
}
.usluga .top{
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
    background-color: #BA0000;
    display: flex;
    width: 562px;
    height: 82px;
}
.top input{
    border: white 1px solid;
    width: 30px;
    height: 30px;
    margin-left: 16px;
    margin-top: 26px;
    border-radius: 4px;
}
.top h1{
    color: white;
    font-size: 38px;
    font-family: 'Gilroy-Bold', sans-serif;
    margin-left: 106px;
    margin-top: 18px;
}
.bottom{
    display: none;
    height: 0;
    border-top: white 1px solid;
    padding-top: 31px;
    flex-direction: column;
    align-items: center;
    background-color: #BA0000;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}
.bottom input[type="number"]{
    margin-bottom: 25px;
    width: 278px;
    height: 40px;
    border-radius: 4px;
    background-color: #EDF2FF;
    padding-left: 10px;
    font-size: 18px;
    font-family: 'Gilroy-Medium', sans-serif;
}
.bottom select{
    border-radius: 4px;
    width: 278px;
    height: 40px;
    padding-left: 10px;
    font-size: 18px;
    font-family: 'Gilroy-Medium', sans-serif;
    margin-bottom: 25px;
    background: url(img/down.svg), linear-gradient(#EDF2FF, #EDF2FF);
    background-repeat: no-repeat;
    background-position: center right;

}
#grade{
    margin-bottom: 12px;
}
.bottom h2{
    align-self: flex-start;
    color: white;
    font-size: 13px;
    margin-left: 10px;
    margin-bottom: 6px;
}
.checks{
    margin-left: 20px;
    height: 80px;
    display: flex;
    flex-direction: column;
    
    width: 100%;
    flex-wrap: wrap;
}
.checks li{
    display: flex;
    margin-bottom: 4px;
    font-size: 10px;
    
}
li p{
    color: white;
    font-size: 10px;
    margin-left: 6px;
}
li input{
    width: 10px;
    height: 10px;
    border: 1px solid white;
    border-radius: 1px;
   
}
input:checked{
    background: url(img/checked.svg);
    background-repeat: no-repeat;
    background-position: center center;
    
}
li input:checked
{   
    background: url(img/checked.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 10px 10px; 
}
.main{
    margin-bottom: 26px;
}
#ready{
    width: 309px;
    height: 70px;
    font-size: 33px;
    border-radius: 4px;
    background-color: #BA0000;
    color: white;
    margin-top: 20px;
    margin-left: 149px;
}
.cont{
    align-self: center;
    width: 1440px;
    padding-left: 333px;
    margin-top: 86px;
}
.cont h1{
    color: #BA0000;
    font-size: 32px;
    font-family: 'Gilroy-Bold';
    margin-bottom: 7px;
}
.spec{
    text-align: center;
}
.spec th{
    width: 363px;
    height: 50px;
}
table {
    border-collapse: collapse;
    text-align: center;
}
th{
    font-family: 'Gilroy-Bold';
    color: black;
    font-size: 16px;
    border: 1px solid #BA0000;
}
td{
    color: black;
    font-size: 16px;
    border: 1px solid #BA0000;
}

#first{
    width: 304px; 
    height: 50px;
}
.table1 th{
    width: 62px;
    height: 50px;
}
.table1 td{
    width: 62px;
    height: 50px;
}
.total{
    margin-top: 15px;
    margin-bottom: 33px;
}

.total th{
    width: 124px;
    height: 50px;
}
#second{
    width: 304px;
    height: 50px;
}
.container{
    align-self: center;
    width: 1440px;
    padding-left: 333px;
}
#finalSend{
    width: 309px;
    height: 70px;
    border-radius: 4px;
    background-color: #BA0000;
    font-size: 33px;
    font-family: 'Gilroy-Bold';
    margin-top: 56px;
    margin-bottom: 80px;
    color: white;
    cursor: pointer;
}
.radios{
    display: flex;
    flex-direction: column;
    background-color: rgb(185, 184, 184);
    width: 300px;
    padding: 10px;
    margin-left: 149px;
    border-radius: 4px;
}
.radios h2{
    font-size: 20px;       
}
.radios input{
    width: 15px;
    border: white 1px solid;
    height: 15px;
    border-radius: 2px;
}
.radios input{
    background-size: 10px 10px;
}
.menu{
    background-color: #BA0000;
    border-radius: 4px;
    width: 400px;
    padding: 5px;
    margin-left: 149px;
    margin-bottom: 20px;
    cursor: pointer;
}
.menu h3{
    text-align: center;
    color: white;
}
.mbottom{
    padding-left: 20px;
    padding-top: 10px;
    display: none;
}
.mbottom p{
    color: white;
    margin-bottom: 3px;
    
}
.count_inputs{
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
    margin-left: 20px;
}
.count_inputs .input_block{
    display: flex;
    flex-direction: column;
    width: auto;
}
.count_inputs .input_block span{
    color: white;
    width: max-content;
}
.count_inputs .input_block input{
    width: auto;
    text-align: center;
}
.show{
    transition: .3s;
    display: flex !important;
    height: auto !important;
}
.dopText{
    /* text-align: justify;
    max-width: 50%;
    margin-left: auto; */
}
@media only screen and (max-width: 480px) {
    .menu{
        background-color: #BA0000;
        border-radius: 4px;
        width: 175px;
        padding: 5px;
        margin-left: 0px;
        margin-bottom: 20px;
        cursor: pointer;
    }
    .menu h3{
        text-align: center;
        color: white;
        font-size: 10px;
    }
    .mbottom{
        padding-left: 20px;
        padding-top: 10px;
        display: none;
    }
    .mbottom p{
        color: white;
        margin-bottom: 3px;
        font-size: 10px ;
    }
    .radios{
        width: 150px;
        padding: 10px;
        border-radius: 4px;
        font-size: 10px;
        margin-left: 0;
    }
    .radios h2{
        font-size: 10px;
    }
    .radios input{
        width: 10px;
        border: white 1px solid;
        height: 10px;
        border-radius: 2px;
    }
    .radios input{
        background-size: 10px 10px;
    }
    header{
        align-self: start;
        width: 291px;
        margin-top: 9px;
        margin-left: 19px;
        margin-bottom: 19px;
    }
    header img{
        width: 75px;
        height: 85px;
    }
    header h1{
        margin-top: 18px;
        color: #BA0000;
        font-size: 20px;
        font-family: 'Gilroy-Bold', sans-serif;
    }
    form{
        width: auto;
        height: auto;
        margin-top: 25px;
    }
    form h1{
        font-size: 32px;
        margin-top: 17px;    
        margin-bottom: 55px;
    }
    form input{
        width: 166px;
        height: 28px;
        padding-left: 6px;
        font-size: 16px;
    }
    form input[type="password"]
    {
        margin-bottom: 26px;
    }
    form input[type="button"]
    {
        width: 96px;
        height: 28px;
    }
    /*  */
    main{
        width: 100%;
        display: flex;
        flex-direction: column;
        height: auto;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: 160%;
        flex-wrap: wrap;
        padding-top: 20px;
        padding-left: 21px;
        
    }
    .form2{
        margin: 0;
        display: flex;
        flex-direction: column;
        height: 500px;
        flex-wrap: wrap;
    }
    .usluga{
        margin: 0;
        width: 80%;
    }
    .usluga .top{
        width: 100%;
        height: 26px;
    }
    .top input{
        width: 15px;
        height: 15px;
        margin-left: 9px;
        margin-top: 5px;
        border-radius: 3px;
    }
    .top h1{
        font-size: 15px;
        margin-left: 13px;
        margin-top: 4px;
    }
    .bottom{
        padding-top: 8px;
    }
    .bottom select{
        width: 165px;
        height: 21px;
        padding-left: 6px;
        font-size: 10px;
        margin-bottom: 10px;
        background-size: 10px 10px;
        background-color: #EDF2FF;
    
    }
    .bottom input[type="number"]
    {
        width: 165px;
        height: 21px;
        padding-left: 6px;
        font-size: 10px;
        margin-bottom: 10px;
    }
    #grade{
        margin-bottom: 9px;
    }
    .bottom h2{
        font-size: 10px;
        margin-left: 5px;
        margin-bottom: 7px;
    }
    .checks{
        height: auto;
        width: auto;
        margin-left: 5px;
    }
    li input{
        width: 10px;
        height: 10px;
        border-radius: 2px;
       
    }
    .main{
        margin: 0; 
        margin-bottom: 15px;
    }
    #ready{
        width: 100px;
        height: 22px;
        font-size: 10px;
        margin: 0;    
        margin-top: 20px;
    }
    .cont{
        align-self: center;
        width: 100%;
        padding-left: 20px;
        margin-top: 28px;
    }
    th{
        font-size: 12px;
    }
    td{
        font-size: 12px;
    }
    .cont h1{
        font-size: 24px;
        margin-bottom: 5px;
    }
    .spec th{
        width: 187px;
        height: 50px;
    }    
    #first{
        width: 209px; 
        height: 22px;
    }
    .table1 th{
        width: 43px;
        height: 22px;
    }
    .table1 td{
        width: 43px;
        height: 22px;
    }
    .total{
        margin-top: 15px;
        margin-bottom: 20px;
    }
    
    .total th{
        width: 68Spx;
        height: 22px;
    }
    #second{
        width: 209px;
        height: 22px;
    }
    .container{
        align-self: center;
        width: 100%;
        padding-left: 20px;
    }
    #finalSend{
        width: 100px;
        height: 22px;
        font-size: 10px;
        margin-top: 37px;
        margin-bottom: 20px;
        margin-left: 137px;
    }

    .count_inputs{
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        width: 100%;
        margin-left: 5px;
    }
    .count_inputs .input_block{
        display: flex;
        flex-direction: column;
        width: auto;
    }
    .count_inputs .input_block span{
        font-size: 13px;
        color: white;
        width: max-content;
    }
    .count_inputs .input_block input{
        width: auto;
        text-align: center;
    }
}