html{font-size: 16px;
    scrollbar-color:#272b30 #2b333f ; /* «цвет ползунка» «цвет полосы скроллбара» */
    scrollbar-width: thin;  /* толщина */
 }

body{
   background-color: #323436;
   font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;}

::-webkit-scrollbar {
    width: 12px;               /* width of the entire scrollbar */
  }
  
::-webkit-scrollbar-track {
    background:#2b333f;        /* color of the tracking area */
  }
  
  ::-webkit-scrollbar-thumb {
    background-color:#272b30;    /* color of the scroll thumb */
    border-radius: 20px;       /* roundness of the scroll thumb */
    border: 1px solid #2b333f;  /* creates padding around scroll thumb */
  }
  
.header{
   position: fixed;
   top:0;
   right: 0;
   left: 0;
   z-index: 1;
    background-color: #272b30;
 display: flex;
 justify-content: space-between;
   
}
.headermaintext{
    width: 95%;
}
.headerdiv{
margin-left: 50%;
}

.headerdiv a{
   
    text-decoration: none;
    color: white;

}   
.headerdivtext{
    margin-left: 22%;
    font-size: 1.4rem;
}
.lang{
    list-style: none;
    color: white;
    text-align: center; 
}
.lang ul{
    opacity: 0.7;
list-style: none;
font-size: 0.8rem;
}
.whitetext{
    color: white;
}

.lang a{
    text-decoration: none;}   

    .bigtext{
        font-size: 2rem;
        margin-left: 40%;
    }

.flex{
    display: flex;
   margin-left: 5%;
   margin-right: 5%;
}

.textcenter{
    text-align: center;
    font-weight: 700;
}


.forhover{
    position: relative;
}

.invisible{display: none;
    position: absolute;
    top: 5rem;
    left: 0;
    width: fit-content;
    background-color: #272b30;
    border-radius: 15px;
  
}
.invisible li{
    list-style: none;
    margin-top: 8px;
}
.invisible a{text-decoration: none;
    color:#FFB742;}

.consultmaintop{
    background-color:#272b30;
    border-radius: 150px;
    height: 5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    padding-left: 1rem;
    box-sizing: border-box;
}
.consultmaintopbig{
    background-color:#272b30;
    border-radius: 150px;
    height: 8rem;
    margin-top: 1rem;
    padding-top: 1rem;
    padding-left: 1rem;
    box-sizing: border-box;
}
.consultmaintopmain{
    background-color:#272b30;
    border-radius: 150px;
    height: 5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    padding-left: 1rem;
    box-sizing: border-box;
}

.forhover:hover .invisible{
display: none;
}
.consult{
    background-color:#272b30;
    border-radius: 150px;
    height: 5rem;
    
    margin-top: 1rem;
    padding-top: 1rem;
    padding-left: 1rem;
    box-sizing: border-box;
    

}

.buttonwidth{width: 85%;}

.consultmain{
    background-color:#272b30;
    border-radius: 15px;
    height: 5rem;
 
    margin-top: 1rem;
    padding-top: 1rem;
    padding-left: 1rem;
    box-sizing: border-box;
    font-size: 1rem;
    
   
}
.consultmain a{text-decoration: none;
    color: rgb(201, 193, 193);}

    
.consult a{text-decoration: none;
color: rgb(201, 193, 193);}

.consultmain:hover{
    transform: scale(0.9);
}

.consult:hover{
    transform: scale(0.9);
}
.goldtext{
color: #FFB742;
font-size: 900;
}
.consultant{border-radius: 150px;
margin-top: 3rem;
text-align: center;}
.float{
    text-align: center;
    border-radius: 120px;
    
}

.text{
    width: 95%;
    margin-left: 5rem;
    font-size: 1;
}
.text ul{
    list-style: none;
}
.text p{text-indent: 2rem;
    font-size: 1rem;
text-align: justify;
color: rgb(201, 193, 193);}

.text li{font-size: 1rem;
    font-style:italic;
    color:white;
  text-align: justify; 
margin-top: 0.5rem;}

.text h1{
    text-align: center;
    color: #FFB742;
    font-size: 1.5rem;
}
.text h2{
    text-align: center;
    color: #FFB742;
}
.text h3{
    text-align: center;
    color: #FFB742;
}
.text a{
    color:#FFB742; ;
}
.text span{
    text-decoration: underline;
   font-style: italic;
}
.text td{
 width: 30%;
    border: 1px solid rgb(201, 193, 193);
    font-size: 1rem;
text-align: center;


}
.text th{
    width: 30%;
       border: 1px solid grey;
       font-size: 1rem;
   text-align: center;
   color: rgb(201, 193, 193);
   background-color: #272b30;
   }
   .red{ color:#d2691e ;}
   .blue{color:#00aaff}
.green{ color:#82f04b}
.nocolor{ color:rgb(201, 193, 193 );}
.colorchocolate{height: 10px;
width: 10px;
background-color: chocolate;}

.list{

      margin-top: 8rem;
        position: sticky;
    top: 7rem;
        
    }
    .width{
        width: 70%;
    }
   .scroll{
    height: 75vh;
    overflow-y: scroll;
   } 

.listmain{
overflow-y: scroll;
height: 80vh;
width: 100%;
  margin-top: 5rem;
    position: sticky;
top: 7rem;
    
}
.mainpage a{text-decoration: none;
color:#FFB742;

font-size: 0.8rem;
opacity: 1;}

.mainpage{margin-top: 20px;


;width: fit-content;
position: fixed;
top: 75px;
z-index: 1;}


.footerdiv{
    box-sizing: border-box;
    margin-top: 5%;
    padding-top: 2%;
    display: flex;
    background-color: #272b30;
    justify-content: space-around;
    color: white;
    width: 100%;
    text-align: center;
}

.footerdiv a{
    text-decoration: none;
    color: white;
    
}
.footermes{
    text-align: center;
    background-color: #272b30;
}
.dzherelo{
    color: black;
    background-color: #272b30;
}
.dzherelo a{
text-decoration: none;
color: black;}
/* 
.flexbottom{
    display: flex;
    justify-content: center;
}
.detailstop{text-align: center;
  margin-top: 7rem;
    margin-left: 10%;  
    background-color:#272b30;
border-radius: 20px;
color: white;
width: 20%;
height: 10vh;
box-sizing: border-box;
padding-top: 2%;

}

.detailstop a{ text-decoration: none;
    color: white;
   

} */

.click:hover{
    transform: scale(0.9);
   }
/* for modal */
   .modal_visable {
    box-shadow: 0 4px 12px rgba(0,0,0,0.2), 0 16px 20px rgba(0,0,0,0.2);
    background: #272b30;
    padding: 30px;
    margin: 100px auto;
    border-radius: 60px;
    position: fixed;
    right: 0;
    z-index: 1;
}

.modal {
    display: none;
}
.close_modal {
    color:white;
   margin-left: 80%;
  margin-bottom: 20px;
    font-weight: bold;
    border-radius: 100%;
     border: 1px solid white; 
    width:fit-content;
  
    height:20px;
text-align: right;
  /* box-sizing: content-box; */
cursor: pointer;

}
/* .modalflex{
    text-align: center;
    display: flex;
   flex-direction: column;
    color: white;
    font-size: 1rem;
    margin-bottom: 20px;
} */
.vibermob{display: none;}
.viberPC{display: inline-block;}

   @media screen and (max-width: 1140px) {
.consultmain{display: none;}
.text{
    width: 100%;
    margin-left: 0;
  
}
.bigtext{
    margin-left: 5%;
    text-align: center;
}
.forhover:hover .invisible{
    display: block;
    width: 90vw;
    }
    .invisible{
        font-size: 1.5rem;
        height: 70vh;
       overflow: scroll;
       margin-top: 0px;
       }
    .listmain{
        overflow-y:visible;
     
 }
 .headerdivtext{margin-left: 5%;
    text-align: center;}
.list{display: none;}
.flex{margin-top: 4rem;
}
.consultmaintop{display: none;}
.consultmaintopmain{
    position: fixed;
    top:30%;
    width:10rem;
}
.consult{display: none;}
} 


/* modal for game */
.safemodalclosed{
    background-image: url("/img/safe.png");
    width: 80px;
    height: 80px;
    background-size: 80px 80px;
}

.safemodalopened{
    background-image: url("/img/safe1.png");
    width: 80px;
    height: 80px;
    background-size: 80px 80px;
  
}
.modalforgametexthidden{display: none;}
.modalforgametext{
    
    width: 100px;
    height: 100px;
    color: white;
    text-align: center;
}

.modalforgamehidden{
    display: none;
}
.modalforgameshow{
    
    position: fixed;
    top:0px;
    z-index: 1;
   
}
.X{
    color:#323436;
   margin-left: 80%;
    font-weight: bold;
    border-radius: 100%;
     border: 1px solid #323436 ; 
    width:fit-content;
    height:20px;
text-align: right;
cursor: pointer;
background-color: #323436;

}

@media screen and (max-width: 800px) {
    html{
        font-size: 14px;
    }
    .mainpage{
        margin-top: 85px;
    }
    .headerdiv a{
        text-decoration:underline;
        font-style: italic;}
       
 
    .headerdiv{
        margin-left: 0%;
        text-align: center;
          }
    img:not(.img){width: 90%;}
    .flex {margin-top: 20%;}
  
   
    .footerdiv{display: block;}
/*     
    .modalflex{font-size: 1rem;
        text-align: center;
    flex-direction: column-reverse;} */
     .vibermob{display: block;}
    .viberPC{display: none;} 
    /* .close_modal{font-size: 1.5rem;
    width: 20px;
height: 20px;
margin-bottom: 20px;
margin-left: 20%;} */
.footermes{
    display: flex;
    justify-content: center;
   padding-top: 20px;
}
 .modal_visable {
  top:40%;
display: flex;

}

.close_modal {
    color:white;
    
    margin-left:  0px;
margin-top: 0%;
    width:20px;
    height: 20px;
    box-sizing: border-box;
text-align: right;
  /* box-sizing: content-box; */
 cursor: pointer;

} 
}

 @media screen and (max-width: 500px) {
   

    .lang ul{display: flex;
        justify-content: center;
        }
 
        
    .bigtext
{font-size: 1.5rem;}
.flex{margin-top: 10%;}
.header{display: block;}
.headerdiv{
  margin-left: 20%;
    }
    .lang li{
        margin-left: 5%;
    }
    
 
    .headerdivtext{margin-left: 10%;}
    .bigtext{margin-left: 5%;
    text-align: center;}
    .headerdiv{text-align: center;}
   
        
    }



@media screen and (max-width: 420px) {
    img:not(.img){width: 90%;}
.flex{margin-top: 25%;}
    
.mainpage{
    margin-top: 85px;
}
.headerdivtext{
    font-size: 1rem;
    text-align: center;
}

.consultmaintopmain{
    position: fixed;
    top:30%;
    width:10rem;
}
.consultmaintopmain{
    top:20%;
    left: 0%;

}
}


