@font-face {
    font-family: 'Inter', sans-serif;
    src: url(fonts/Inter-Regular.ttf);
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Inter', sans-serif;
    src: url(fonts/Inter-SemiBold.ttf);
    font-weight: 600;
    font-display: swap;
}

body{
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
}

h1{
    font-size: 40px;
    font-weight: 600;
    line-height: 40px;
    margin: 0;
}

h2{
    font-size: 31px;
    font-weight: 600;
    line-height: 40px;
    margin: 0;
}

h3{
    font-size: 18px;
    font-weight: 600;
    line-height: 18px;
}

h4{
    font-size: 16px;
    font-weight: 600;
    line-height: 16px;
}

a{
    text-decoration: none;
    color: inherit;
}

ul{
    padding: 0;
    margin: 0;
    list-style: none;
}

.header{
    background-color: darkgray;
    margin-bottom: 30px;
    width: 100%;
    
}
.container, .container-headline, .container-account{
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
    
}

.nav{
    display: flex;
    justify-content: space-between;
}
.menu{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-item{
    padding-right: 30px;
    position: relative;
}

.feedback{
    z-index: 0;
}

.games{
    display: none;
    position: absolute;
    top: -10px;
    left: -110px;
    background-color: aqua;
    border: 1px solid #000;
    border-radius: 3px;
    width: 225px;
    height: 250px;
    z-index: 1;
}

.online{
    display: none;
    position: absolute;
    top: -10px;
    left: -92px;
    background-color: aqua;
    border: 1px solid #000;
    border-radius: 3px;
    width: 225px;
    height: 250px;
    z-index: 1;
}

.games-item{
    display: block;
    padding: 5px 10px 5px 10px;
    width: 90%;
    position: relative;
    top: 50px;
    text-align: right;
}

.games-link, .online-link{
    position: relative;
    z-index: 100;
    cursor: pointer;
}

.show-games{
    display: block;
}

.show-online{
    display: block;
}

.menu li:nth-child(2)::after{
    /* color: #F5000B; */
    position: absolute;
    left: 95px;
    top: 3px;
    content: '';
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 12px solid black;
    z-index: 10;
}

.menu li:nth-child(5)::after{
    position: absolute;
    left: 113px;
    top: 3px;
    content: '';
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 12px solid black;
    z-index: 10;
}

.container-headline{
    display: flex;
}

.headline-content{
    padding-right: 30px;
}

.flag{
    width: 29px;
    height: 20px;
    display: block;
    background-position: center;
    background-size: cover;
    border: solid 1px #747474;
    cursor: pointer;
}

.flag-all{
    display: none;
    position: absolute;
    top: 20px;
}

.show{
    display: block;
}

.flag-ru{
    background-image: url(../flags/russia.svg);
}
.flag-arab{
    background-image: url(../flags/arab.svg);
}
.flag-azer{
    background-image: url(../flags/azer3.svg);
}
.flag-de{
    background-image: url(../flags/de.svg);
}
.flag-france{
    background-image: url(../flags/france.svg);
}
.flag-kz{
    background-image: url(../flags/kz.svg);
}
.flag-lt{
    background-image: url(../flags/lt.svg);
}
.flag-pl{
    background-image: url(../flags/pl.svg);
}
.flag-pt{
    background-image: url(../flags/pt.svg);
}
.flag-spain{
    background-image: url(../flags/spain.svg);
}
.flag-tr{
    background-image: url(../flags/tr.svg);
}
.flag-ua{
    background-image: url(../flags/ua.svg);
}
.flag-uk{
    background-image: url(../flags/uk.svg);
}

.menu-item-flags{
    position: relative;
}

.menu-item-flags-mobile{
    display: none;
}



.flag-all span{
    margin: 10px 0;
}
.sandwich{
    display: none;
}

.headline-image{
    max-width: 440px;
    /* height: auto; */
    width: 100%;
    height: 100%;
}

.headline-btn{
    margin-top: 20px;
}

.btn, .btn-sense{
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    background-color: #6e0e13;
    width: 290px;
    text-align: center;
    padding: 10px 10px;
    margin: 0 auto 20px 0;
    border-radius: 10px;
}

.sense, .algorithm, .where, .faq, .account, .demo{
    margin-top: 0px;
}
.container-small{
    max-width: 720px;
    margin: 0 auto;
    padding: 15px;
    display: flex;
    flex-flow: column;
    /* align-items: center; */
    
}

.container-small h1, h2, h3{
    
    margin: 0 0 24px 0;
    text-align: left;
}

.container-small h4{
    
    margin: 0;
    text-align: left;
}

/* .container-small h3{
    max-width: 720px;
    margin: 0 auto 18px;
    text-align: left;
} */

.text{
    max-width: 720px;
    margin: 0 0 16px 0;
    text-align: left;
}

.text-without{
    max-width: 720px;
    margin: 0;
    text-align: left;
}

.text-up{
    max-width: 720px;
    margin: 24px auto 0px;
    text-align: left;
}

.sense-img, .faq-img{
    display: block;
    margin: 0 auto;
    max-width: 720px;
    width: 100%;
    height: 100%;
}

.signature{
    /* max-width: 720px; */
    /* margin: 0 auto 24px; */
    text-align: right;
    
}

.sense-list{
    list-style: disc;
    
}

.sense-list-item{
    
    margin-left: 30px;
    
}

/* .ddd{
    width: 720px;
    margin: 0 auto 24px;
    text-align: left;
    
} */

.btn-sense{
    margin: 0 auto 20px auto;
}

.text-algorithm{
    
    margin: 24px auto 16px;
    text-align: left;
}

.faq-img{
    margin-bottom: 24px;
}

.account-content{
    display:flex;
    justify-content: space-between;
    
}

.text-account{
    padding-right: 30px;
}

.container-account h2{
    
    margin: 0 auto 24px;
    text-align: left;
}

.list-account{
    
}

.text-a{
    
    margin: 0 auto 16px;
    text-align: left;
}

/* .title-account{
    width: 730px;
    margin-bottom: 18px;
} */

.account-img{
    margin-right: 0;
    max-width: 440px;
    width: 100%;
    height: 100%;
}

.demo-img{
    max-width: 720px;
    width: 100%;
    height: auto;
}
.row{
    /* width: 100%;
    display: flex;
    justify-content: space-between; */
}

.table{
    width: 100%;
}

tr{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

td{
    /* display: flex;
    width: 25%; */
    padding: 0;
    margin: 0 5px 20px 5px;
    border: 0;
    align-items: center;
    justify-content: center;
}

.table tbody, .table tr, .table td{
    /* display: block; */
    /* width: 100%; */
}

/* .table-body{
    display: flex;
}

.table-item{
    display: flex;
} */

.footer{
    font-size: 15px;
    text-align: center;
    background-color: darkgrey;
    margin-top: 30px;
    padding: 15px 0 15px px;
}

@media (max-width: 1020px){
    .menu{
        /* display: none; */
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        right: 0;
        background-color: #fff;
        justify-content: flex-start;
        flex-direction: column;
        align-items: flex-start;
        padding-left: 20px;
        padding-right: 30px;
        padding-top: 100px;
        transform: translateY(-100%);
    }
    .menu-open .menu{
        transform: translateY(0%);
    }
    .menu-item{
        padding: 15px 0;
        font-size: 16px;
    }

    .menu li:nth-child(2)::after{
        left: 100px;
        top: 18px;
    }

    .menu li:nth-child(5)::after{
        
        left: 118px;
        top: 17px;
    }

    .games{
        display: none;
        position: static;
        background-color: transparent;
        border: 0px;
        width: 225px;
        height: 150px;
    }

    .online{
        display: none;
        position: static;
        background-color: transparent;
        border: 0px;
        width: 260px;
        height: 100px;
    }

    .games-item{
        display: block;
        padding: 5px 0 5px 10px;
        width: 90%;
        position: relative;
        top: 10px;
        text-align: left;
    }
    
    .show-games{
        display: block;
    }
    
    .show-online{
        display: block;
    }

    .menu-item-flags{
       
    }

    .flag-ru{
        display: none;
    }

    

    .flag-all{
        display: flex;
        position: static;
        flex-wrap: wrap;
    }

    .flag-all a{
        padding-right: 10px;
    }

    .menu-item-flags-mobile{
        display: flex;
        flex-wrap: wrap;

    }

    .menu-item-flags-mobile span{
        margin-right: 10px;
        margin-bottom: 10px;
    }

    .sandwich{
        display: block;
        /* align-items: center; */
        width: 30px;
        height: 30px;
        background-color: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        position: relative;
        z-index: 50;
        margin-top: 10px;
    }
    .logo{
        position: relative;
        z-index: 50;
    }

    .btn-line{
        position: absolute;
        left: 0;
        width: 100%;
        background-color: #000;
        height: 2px;
        transition: .3s ease;
    }
    .btn-line:nth-child(1){
        top: 0;
    }
    .btn-line:nth-child(2){
        top: 10px;
    }
    .btn-line:nth-child(3){
        top: 10px;
    }
    .btn-line:nth-child(4){
        top: 20px;
    }
    .menu-open .btn-line:nth-child(1){
        transform: scaleX(0);
    }
    .menu-open .btn-line:nth-child(2){
        transform: rotate(45deg);
    }
    .menu-open .btn-line:nth-child(3){
        transform: rotate(-45deg);
    }
    .menu-open .btn-line:nth-child(4){
        transform: scaleX(0);
    }

    .container-headline{
        display: flex;
        flex-flow: column-reverse;
        max-width: 720px;
    }
    
    .headline-image{
        max-width: 720px;
        width: 100%;
        height: 100%;
    }

    
    .headline-content{
        padding-right: 0px;
        margin-top: 20px;
    }

    .btn{
        margin: 0 auto 20px auto;
    }


    .account-content{
        display:flex;
        justify-content: space-between;
        flex-flow: column;
        
        
    }

    .container-account{
        max-width: 720px;
        padding: 15px;
    }

    .account-img{
        max-width: 100%;
    }

    .text-account {
        padding-right: 0px;
    }

    .demo-img{
       
        
        height: 100%;
    }

     /*
    .headline-btn{
        margin-top: 20px;
    }

    

    .container-headline{
        max-width: 720px;
    }

    .nav{
        max-width: 720px;
        margin: 0 auto;
        padding: 15px;
    }

   

    .header{
        margin-bottom: 0;
    }

    .headline-content{
        padding-right: 0px;
    }
    
     */


}

@media (max-width: 550px) {
    h1{
        font-size: 30px;
        line-height: 30px;
        margin-bottom: 10px;
    }
    h2{
        font-size: 24px;
        line-height: 23px;
    }
    .container-small h1, h2, h3{
    
        margin: 0 0 18px 0;
        
    }
    
}