/* #region START */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

@font-face {
    font-family: 'Furore';
    src: url('../styles/fonts/Furore.otf');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html,
body {
    position: relative;
    /* overflow-x: hidden; */
}

body {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-align: justify;
    background: linear-gradient(180deg, rgb(95, 150, 216) 0%, rgba(47, 72, 154, 1) 34%);
    /*background: url(../files/2.png) no-repeat center top;*/
    background-size: 81%;
    background-color: #3556a2;
    color: #fff;
}

ul {
    margin-top: auto;
}

main {
    display: flex;
    max-width: 1180px;
    margin: 0 auto;
}


nav {
    flex-basis: 20%;
    box-shadow: -25px 0px 30px rgba(0, 0, 0, 0.3);
    background-color: #0f1835;
    border-right: 3px solid #1a2749;
    font-size: 12px;
}

section {
    flex-basis: 80%;
    box-shadow: 25px 0px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    /* padding: 0 20px; */
    background-color: #0b122c;
    padding-bottom: 50px;
}

.logo_mobile {
    display: none;
}

img {
    vertical-align: bottom;
}

a,
a:visited {
    color: #fff;
    text-decoration: none;
}

/* #endregion */

/* #region BUTTONS */
.btn {
    height: 35px;
    border-radius: 10px;
    cursor: pointer;
    border: 1px solid #afb5ff;
    color: #f8f9fb;
    font-size: 12px;
    width: 100px;
    font-weight: bold;
    font-family: Roboto;
}

.btn:active {
    transform: translateY(2px);
}

.btnBlue {
    height: 30px;
    display: inline;
    text-align: center;
    vertical-align: baseline;
    /* line-height: 30px;    */
    background: linear-gradient(153deg, rgba(91, 104, 245, 1) 0%, rgba(133, 141, 248, 1) 100%);
}

.btnAuth {
    border-radius: 40px;
}

.btnOrange {
    background-color: #ff731c;
    height: 50px;
    border: none;
    width: 120px;
}

.btnRegister {
    width: 140px;
    color: #a1a3a8;
    background: transparent;
}

.btnLang {
    background: transparent;
    position: relative;
}

.btnLang img {
    position: absolute;
    left: 7px;
    top: 4px;
    width: 80px;
}

.block_bestGame1 a .btn,
.block_bestGame2 a .btn,
.block_game a .btn {
    transform: translate(-50%, -50%);
}

.block_bestGame1 a .btn:active,
.block_bestGame2 a .btn:active,
.block_game a .btn:active {
    transform: translate(-50%, -48%);
}

/* #endregion */

/*/////////////////////////////////////////////////////////////////*/

/* #region NAV */
.nav {
    display: flex;
    flex-direction: column;
    align-items: start;
    /* align-items: center; */
    list-style-type: none;
    padding: 0px 10px;
}

.nav__link {
    width: 200px;
    height: 50px;
    background-color: #172242;
    border-radius: 10px;
    border: 2px solid #29385e;
    display: flex;
    justify-content: left;
    align-items: center;
    color: #a6b5de;
    margin-bottom: 4px;
    font-size: 14px;
}

.nav__link a,
.nav__link a:visited {
    text-decoration: none;
    line-height: 30px;
    display: block;
    color: #a6b5de;
}

/* #endregion */

/* #region HEADER */
.header {
    position: relative;
    height: 70px;
    max-width: 100%;
    margin: 0px;
    height: 70px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style-type: none;
    padding: 0px;
}

/* #endregion */

/* #region ACTIONS */
.block_slick {
    max-width: 900px;
    /* width: 100%; */
    width: 900px;
    margin: 0 auto;
    border: none;
    margin-top: 14px;
}

.block_action {
    border-radius: 30px;
    width: 100%;
    height: 270px;
    background-position: 100px 100%;
    background-size: cover;
    position: relative;
}

.block_action_inner {
    width: 100%;
    position: absolute;
    margin-left: 50px;
    margin-top: 30px;
    font-family: Furore;
}

.block_action_inner p {
    font-family: Roboto;
}

/* #endregion */

/* #region TITLE */
.block_title {
    max-width: 900px;
    width: 900px;
    margin: 0 auto;
    margin-top: 14px;
    font-weight: bold;
    font-size: 20px;
    font-family: Furore;
}

/* #endregion */

/* #region block_bestGames */
.block_bestGames {
    max-width: 900px;
    display: flex;
    justify-content: space-between;
    height: 200px;
    gap: 30px;
    padding: 0px 20px 0px 20px;
}

.block_bestGame1 {
    width: 450px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0px 20px 0px 20px;
}

.block_BestGame_inner {
    display: none;
    width: 100%;
    height: 100%;
    background-color: #272d3d;
    opacity: .9;
    position: absolute;
}

.block_bestGame1:hover .block_BestGame_inner,
.block_bestGame1:hover .btnBestGame,
.block_bestGame2:hover .block_BestGame_inner,
.block_bestGame2:hover .btnBestGame {
    display: block;
}

.btnBestGame {
    display: none;
    position: absolute;
}


.block_bestGame2 {
    width: 300px;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* #endregion */

/* description_block */
.description_footer {
    background-color: #3e548d;
}

.content_layer {
    display: flex;
    padding: 10px 10px 30px 10px;
}

.content_layer div {
    width: 100%;
}

.content_layer ul {
    display: flex;
    justify-content: space-around;
    list-style-type: none;
    padding: 0px;
}

.description_footer .big_title {
    padding: 5px 0px 0px 10px;
}

.content_layer figure {
    font-size: 180%;
    margin: 0px;
    color: #b2ff00;
    font-weight: bold;
}

.content_layer li {
    text-align: center;
}

.description_color {
    color: #b2ff00;
    font-weight: bold;
}

/* block_mobile_app */
.mobile_app {
    margin: 20px;
}

.mobile_app h3 {
    color: #59ff00;
}

.mobile_img1 {
    width: 40%;
}

.mobile_text {
    display: flex;
}

.mobile_section {
    display: flex;
    align-items: center;
}

.mobile_section img {
    width: 10%;
}

.mobile_text_table {
    display: flex;
    font-size: 14px;
}

.mobile_text_table ul {
    list-style-type: none;
}

.mobile_text_table li {
    max-width: 500px;
}

.mobile_text_end {
    padding-left: 40px;
    font-size: 14px;
}

.mobile_app_button {
    display: flex;
    align-items: center;
}

.mobile_app_button p {
    max-width: 500px;
    margin-right: 100px;
    margin-left: 40px;
    color: #59ff00;
}



/* all games block */
.allgames_img {
    width: 100%;
}

.allgames_text {
    margin: 20px 20px -10px 20px;
}

.allgames_text h1 {
    color: rgb(255, 0, 238);
}

.allgames_text h3 {
    color: #ff731c;
}

/* #region block_allGames */
.block_allGames {
    max-width: 900px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px 20px 0px 20px;
}

.block_game {
    width: 160px;
    height: 100px;
    background-position: center;
    background-size: cover;
    align-items: end;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.block_game_inner {
    display: none;
    width: 100%;
    height: 100%;
    background-color: #272d3d;
    opacity: .9;
    position: absolute;
}

.block_game:hover .block_game_inner,
.block_game:hover .btnGame {
    display: block;
}

.btnGame {
    display: none;
    position: absolute;
}

/* #endregion */

/*/////////////////////////////////////////////////////////////////*/

/* #region MEDIA */
@media (max-width: 1200px) {
    body .burger {
        display: block;
        z-index: 5;
    }

    body .menu,
    .logo_mobile {
        display: block;
    }

    .header .select-lang {
        top: 20px;
        /* right: 180px; */
    }

    .block_BestGame_inner .gameTitle {
        display: block;
        position: absolute;
        color: #fff;
        left: 0px;
        top: 85px;
    }

    .btnBlue,
    .btnRegister,
    nav {
        display: none;
    }

    .menu {
        position: absolute;
        top: 0;
        background-color: #272d3d;
        width: 350px;
        left: -400px;
        transition: transform .5s;
        z-index: 4;
        display: flex;
        flex-direction: column;
        list-style-type: none;
        padding-top: 30px;
        margin: 0px;
        padding-top: 80px;
        height: 500px;
    }

    .menu li {
        padding: 20px;
        font-size: 26px;
    }

    section {
        flex-basis: 100%;
        flex-direction: column;
        padding: 0px;
        padding-bottom: 50px;
    }

    .block_action {
        background-position: 40px 50%;
    }

    .block_action_inner {
        margin-left: 30px;
    }

    .block_title {
        max-width: 900px;
        width: 100%;
        margin: 0 auto;
        margin-top: 14px;
        padding: 20px;
    }

    .block_slick {
        /* width: 90%; */
        max-width: 340px;
    }

    .block_bestGames {
        flex-wrap: wrap;
        max-width: 400px;
        height: auto;
        margin: 0 auto;
        justify-content: center;
        gap: 20px;
    }

    .block_bestGame1,
    .block_bestGame2,
    .block_game {
        width: 160px;
        height: 100px;
        background-position: center;
    }

    .block_allGames {
        justify-content: center;
        gap: 20px;
        width: 100%;
    }

    body .block_bestGame1 a .btn,
    body .block_bestGame2 a .btn,
    body .block_game a .btn {
        transform: translate(-50%, -50%);
    }

    body .block_bestGame1 a .btn:active,
    body .block_bestGame2 a .btn:active,
    body .block_game a .btn:active {
        transform: translate(-50%, -48%);
    }


    body footer {
        height: 500px;
    }

    body .footer__inner {
        width: 350px;
        height: 400px;
        margin-top: 100px;
    }

    body .footer__logo {
        left: 50%;
        transform: translateX(-50%);
    }

    body .footer__list {
        width: 350px;
        padding: 0px;
        flex-wrap: wrap;
    }

    body .footer__slick {
        width: 350px;
        height: 150px;
        transform: translateY(-30px);
    }

    body .block_info {
        width: auto;
        height: auto;
    }

    /*body .block_game:click .block_game_inner,*/
    /*body .block_game:click .btnGame,*/
    /*body .block_bestGame1:click .block_BestGame_inner,*/
    /*body .block_bestGame1:click .btnBestGame,*/
    /*body .block_bestGame2:click .block_BestGame_inner,*/
    /*body .block_bestGame2:click .btnBestGame {*/
    /*    display: block;*/
    /*        }*/
    /*	*/
    /*body .block_game:click .block_game_inner,*/
    /*body .block_game:click .btnGame,*/
    /*body .block_bestGame1:click .block_BestGame_inner,*/
    /*body .block_bestGame1:click .btnBestGame,*/
    /*body .block_bestGame2:click .block_BestGame_inner,*/
    /*body .block_bestGame2:click .btnBestGame {*/
    /*        display: block;*/
    /*}*/
}

/* #endregion */

/* #region BURGER */
.burger {
    width: 40px;
    height: 40px;
    border: none;
    background-color: transparent;
    position: relative;
    display: none;
}

.menu {
    display: none;
}

.burger span {
    position: absolute;
    width: 30px;
    height: 3px;
    background-color: white;
    left: 5px;
    transition: transform .5s, opacity .5s, background-color .5s;
}

.burger span:nth-child(1) {
    transform: translateY(-10px);
}

.burger span:nth-child(3) {
    transform: translateY(10px);
}

.header.open .burger span:nth-child(2) {
    opacity: 0;
}

.header.open .burger span:nth-child(1) {
    transform: translateY(0) rotate(-45deg);
}

.header.open .burger span:nth-child(3) {
    transform: translateY(0) rotate(45deg);
}

.header.open .menu {
    transform: translateX(100%);
}

/* #endregion */
/* block info */
.accordion_my {
    margin: 0px 20px 20px 20px;
}

.accordion_my .openTEXT {
    background: none;
    color: white;
    border-color: rgb(255, 0, 238);
}

.accordion_my .openTEXT:focus {
    border-color: rgb(0, 211, 88);
    box-shadow: none;
}

.accordion_my .question {
    background: none;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-button {
    color: rgb(255, 0, 238);
    font-weight: bold;
}

.accordion-button:not(.collapsed) {
    color: rgb(255, 0, 238);
}

.info_text {
    margin: 20px;
}

/* gamesIndex block */
.gamesIndex h2 {
    color: #ff731c;
    font-weight: bold;
}

.text_top5 {
    margin: 20px 25px 0px 25px;
}

.text_top5 .royal_color {
    color: rgb(255, 0, 238);
    font-weight: bold;
}

.top5_games {
    color: #ff731c;
    font-weight: bold;
    margin: 20px 25px 0px 25px;
}

.top5_games3 {
    color: #ff731c;
    font-weight: bold;

}

.text_games {
    margin: 20px 25px 0px 25px;
}

.text_down {
    margin: 20px 25px 0px 25px;
}

.top5_games2 {
    font-weight: bold;
}

.top5_games_text {
    color: #f8f9fb;

}

/*/////////////////////////////////////////////////////////////////*/


.block_info {
    width: 260px;
    height: 110px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.block_info h3,
.block_info p {
    margin: 2px;
}

.block_info h3 {
    color: rgb(255, 0, 238);
}

.nav .nav__link .nav__link__href {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: left;
    align-items: center;
    cursor: pointer;
}

.select-lang {
    position: absolute;
    top: 20px;
    right: 51px;
}

.triangle_down {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #fff;
    font-size: 0;
    line-height: 0;
    float: left;
}

.btnLang .flags-shown {
    height: 100%;
}

.btnLang img {
    width: 28px;
}

.btnLang .triangle_down {
    position: absolute;
    right: 10px;
    top: 10px;
}

.flags-hidden {
    top: 5px;
    position: relative;
    width: 100px;
    height: auto;
    z-index: 777;
    border-radius: 10px;
    cursor: pointer;
    border: 1px solid #afb5ff;
    color: #f8f9fb;
    font-size: 12px;
    font-weight: bold;
    font-family: Roboto;
    background: #0b122c;
}

.select-lang .flags-hidden.hide {
    display: none;
}

.flags-hidden .select_flag {
    position: relative;
    height: 35px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.flags-hidden .select_flag img {
    width: 28px;
    position: absolute;
    left: 10px;
    top: 5px;
}

.gamesButtons {
    display: none;
    position: relative;
    top: 0%;
    left: 0%;
}

.gamesButtons a {
    display: block;
    position: relative;
}

.gamesButtons .btnDemo {
    float: right;
    text-align: center;
    line-height: 30px;
    right: 30%;
}

.btnDemo {
    margin: 3px;
    width: 50px;
    height: 30px;
    border: #fff;
    background: #ff731c;
}

.gameTitleSmall {
    display: block;
    position: absolute;
    color: #fff;
    left: 0px;
    top: 85px;
}

.gameTitle {
    display: block;
    position: absolute;
    font-weight: bold;
    color: #fff;
    left: 10px;
    top: 10px;
}

.Demo {
    margin: 20px;
}

.mainFrame {
    display: block;
    position: relative;
    min-width: 100%;
    min-height: 300px;
}

.gameDemoFrame {
    position: relative;
    width: 100%;
    min-height: 300px;
    height: 100%;
}

.block_BestGame_inner .gameTitle {
    display: none;
}

.block_game:hover .gamesButtons,
.gameTitle,
.gameTitleSmall {
    display: block;
}

.block_bestGame1:hover .gamesButtons,
.block_BestGame_inner .gameTitle {
    display: block;
}

.block_bestGame2:hover .gamesButtons,
.block_BestGame_inner .gameTitle {
    display: block;
}

.block_game_inner:hover {
    /*cursor: pointer;*/
    display: block;
}

footer {
    max-width: 1180px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: -25px 0px 30px rgba(0, 0, 0, 0.3), 25px 0px 30px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
    background-color: #0b122c;
    border-top: 3px solid #1a2749;
    position: relative;
}

.footer__logo {
    position: absolute;
    left: 100px;
    top: 34px;
}

.footer__inner {
    width: 1000px;
    margin-top: 100px;
}

.footer__list {
    display: flex;
    list-style-type: none;
    align-items: start;
    gap: 85px;
    justify-content: center;
    line-height: 30px;
}

.footer__slick {
    width: 600px;
    height: 130px;
    transform: translateY(-40px);
}

.block_info {
    width: 500px;
    height: 110px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    line-height: 20px;
    margin-left: 50px;
}

.block_info h3,
.block_info p {
    margin: 2px;
}

.footerSlides {
    position: relative;
    top: 30px
}




/* #endregion */

@media (max-width: 992px) {
    .content_layer ul {
        display: block;

    }

    .big_title {
        text-align: center;
    }

    .content_layer li {
        margin: 10px;
    }
}

@media (max-width: 900px) {
    #app_desktop {
        display: none;
    }

    .mobile_app_button {
        display: block;
        text-align: center;

    }

    .mobile_app_button p {
        margin-left: 0px;
        margin-right: 0px;
        max-width: none;
    }

    
}
@media (max-width: 1200px){
    .block_bestGames {
        max-width: none;
    }
}
@media (min-width: 900px) {
    #app_mobile {
        display: none;
    }
}

@media (max-width: 1160px) {
    .select-lang {
        position: static;
    }
    
}

@media (max-width: 872px) {
    .mobile_text {
        display: block;
        text-align: center;
    }

    .mobile_app p {
        text-align: center;
    }

    .mobile_section {
        display: block;
        text-align: center;
    }

    .mobile_text_table {
        display: block;
        text-align: center;
    }

    .mobile_text_end {
        text-align: center;
    }

    .mobile_text_table ul {
        padding: 0px;
    }

    .mobile_text_end {
        padding: 0px;
    }

    .mobile_text_table li {
        max-width: none;
    }

    .block_bestGames {
        max-width: 70%;
    }

}
@media (max-width: 478px){
.block_bestGame1, .block_bestGame2 {
    width: 100%;
    height: 135px;
}
.block_allGames {
    padding: 0px;
}
}