@font-face {
    font-family: "segoe";
    src: url("segoeuib.ttf");
}

* {
    margin: 0;
    padding: 0;
    font-family: "segoe";
    outline: none;
    color: #2e3092;
}

::-webkit-scrollbar {
    width: 10px;
}
  
::-webkit-scrollbar-track {
    background: #f1f1f1; 
}
   
::-webkit-scrollbar-thumb {
   background: #7172b4; 
}
  
::-webkit-scrollbar-thumb:hover {
   background: #484ab1; 
}

::-webkit-scrollbar-thumb:active{
    background: #2e3092; 
}

div.content_form::-webkit-scrollbar {
    width: 10px;
}

div.content_form::-webkit-scrollbar-track,
div.content_form::-webkit-scrollbar-thumb{
    border-radius: 10px;
}


body {
    background: url(../image/hraparak1.png);
    /* background-size: cover;
    background-attachment: fixed; */
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: center;
}

header{
    background: rgb(113,114,180,30%);
    width: calc(100% - 100px);
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    align-content: center;
    padding: 0px 50px;
    border-bottom: 1px solid rgb(113,114,180,20%);
}

header h2{
    text-align: center;
    font-size: 18px;
}

select{
    cursor: pointer;
}

.right{
    display: flex;
    align-items: center;
    margin-left: 50px;
}

.right a{
    text-decoration: none;
}

.buttons{
    width:calc(100% - 40px);
    height:calc(100% - 200px);
    display:flex;
    align-items: center;
    justify-content:center;
    padding:0px 20px;
}

.but_form{
    min-width: 340px;
    height: 300px;
    border: 1px solid rgb(113,114,180,70%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    background: rgb(113,114,180,50%);
    margin-right:30px;
    font-family: system-ui;
}

.but_form>h2{
    text-transform: uppercase;
}

.but_form button, .gen-but {
    width: 280px;
    height: 50px;
    border-radius: 15px;
    margin: 20px 0 0;
    background: -webkit-linear-gradient(Top,#7172b4,#2e3092);
    border: none;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    color: #fff;
    font-family: system-ui;
}

.btn-gen{
    width: 155px;
    height: 40px;
    border-radius: 15px;
}


.content_form {
    position:relative;
    flex-basis:100%;
    max-width: 660px;
    max-height: 400px;
    border: 1px solid rgb(255 252 252 / 32%);
    padding-bottom: 20px;
    border-radius: 12px;
    background: rgb(113,114,180,50%);
    overflow-x: auto;
    border: 1px solid rgb(113,114,180,70%);
}

.content_form input,
.content_form select{
    border: 1px solid rgb(113,114,180,70%)!important;
}

.content_form h2{
    text-align: center;
    margin:20px 0px;
}

.form-block{
    width:100%;
    display:flex;
}

.form-block>div{
    flex-basis:100%;
    /* border: 1px solid; */
}

.mek select{
    width: 60%;
    height: 35px;
    border-radius: 8px;
    padding-left: 20px;
    font-size: 15px;
    font-weight: bold;
    margin: 15px 10px 0 20px;
}

.mek option, .erku option  {
    font-size: 15px;
    font-weight: bold;
}

.mek input[type='number'], .erku input[type='number'] {
    width: 50px;
    height: 34px;
    border-radius: 8px;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    border: none;
}

.iks{
    position:absolute;
    top:5px;
    right:20px;
    font-size:40px;
    color:#fff;
    cursor:pointer;
}

.npatak{
    width:calc(100% - 70px);
    padding-left:20px;
    padding-right:50px;
}

.npatak label{
    font-weight: bold;
}

.npatak input{
    width:calc(100% - 2px);
    height: 34px;
    border-radius:8px;
    padding:0px 10px;
    font-weight:bold;
    border:none;
    margin-top:5px;
}

.plus {
    margin: 15px 0px;
    border-radius: 50%;
    border: none;
    font-size: 25px;
    background: #7172b4;
    color: #fff;
    cursor:pointer;
    padding: 0px 9px 4px 9px;
}

.plus-parent {
    width: 84%;
    display: flex;
    justify-content: flex-end;
}

.erku select {
    width: 60%;
    height: 35px;
    border-radius: 8px;
    padding-left: 20px;
    font-size: 15px;
    font-weight: bold;
    margin: 15px 10px 0 20px;
}

.obshy{
    display:flex;
}

.buut{
    display: flex;
    justify-content: flex-start;
    margin-left: 15px;
}


.buut button{
    margin:0px 5px;
}

.buut button:disabled{
    opacity:0.7;    
}

.buut_result{    
    display: flex;
    justify-content: flex-end;
    margin-right: 50px;
    flex-basis: 100%;
}

.buut_result,.banarov_buut{
    /* margin-top:20px; */
    display:none;
}
.ereq select{
    width: 75%;
    height: 35px;
    border-radius: 8px;
    padding-left: 20px;
    font-size: 15px;
    font-weight: bold;
    margin: 15px 10px 0 20px;
    margin-bottom: 30px;
}

.ereq option, .erku option {
    font-size: 15px;
    font-weight: bold;
}

.ereq input[type='number'], .erku input[type='number'] {
    width: 50px;
    height: 34px;
    border-radius: 8px;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    border: none;
}

.form-block1{
    width:100%;
    display:flex;
    justify-content: center;
    flex-wrap: wrap;
}

.form-block1>div{
    width: 75%;
}

.success_result{
    display:none;
    text-align: center;
    width:300px;
    height:200px;
    border-radius:10px;
    background:rgb(255 252 252 / 1);
    position: absolute;
    top:20%;
    left:50%;
    transform:translateX(-50%);
    font-size:35px;
    font-weight: bold;
    color:#484242;
}

@media only screen and (max-width:1000px){
    body {
        background-size: cover;
        background-attachment: fixed;
    }

    .buttons{
        width:100%;
        flex-direction: column;
        padding:20px 0px;
        min-height: calc(100% - 240px);
        height: auto;
    }

    .but_form{
        margin:20px 0px;
    }

    .content_form{
        margin:0px 10px;
        background: rgb(113,114,180,70%);
    }

    .content_form h2{
        font-size: 20px;
        color:#fff;
    }

    .npatak label {
        color: #fff!important;
    }
}

@media only screen and (max-width:870px){
    header h2{
        font-size: 12px;
    }
}

@media only screen and (max-width:550px){
    .plus-parent {
        width:94%;
    }
}

@media only screen and (max-width:610px){
    .obshy {
        width: 90%;
        display: flex;
        justify-content: center;
        margin: auto;
    }

    .buut{
        margin:0px;
    }

    .btn-gen{
        width:140px;
    }

    .buut_result {
        display: none;
        justify-content: flex-start;
        margin-right:0px;
    }
}


footer{
    display: flex;
    align-items: center;
    width: calc(100% - 100px);
    height: 100px;
    background: linear-gradient(90deg, rgb(192 169 143 / 45%) 0%, rgb(192 169 143 / 75%) 100%);
    padding: 0px 50px;
}

.footer-left{
    flex-basis: 90%;
    font-weight: bold;
    font-size: 17px;
    text-align: center;
}

.webex{
    flex-basis:10%;
}

.webex-logo{
    display: flex;
    align-items: flex-end;
}

.webex-logo>img{
    width:55px;
}

.webex-logo>span{
    font-size: 20px;
    font-weight: bold;
    position: relative;
    top:5px;
}

.kes,.comment{
    color:#414348;
}

.myus-kes{
    color: #26716e;
}

.comment{
    text-align: center;
    font-size:9px;
    font-weight: bold;
}

@media only screen and (max-width:1265px){
    .footer-left{
        font-size: 15px;
    }
}

@media only screen and (max-width:770px){
    .footer-left{
        font-size: 13px;
    }
}

@media only screen and (max-width:750px){
    header{
        flex-direction: column;
        height:auto;
        padding: 15px 50px;
    }

    .right{
        margin-left: 0px;
        margin-top: 15px;
    }

    header h2 {
        font-size: 15px;
    }    
}

@media only screen and (max-width:575px){
    .webex{
        margin-left:20px;
    }    
}

button:active{
    background: -webkit-linear-gradient(bottom,#7172b4,#2e3092);
    background: -moz-linear-gradient(bottom,#7172b4,#2e3092);
    background: -o-linear-gradient(bottom,#7172b4,#2e3092);
}