/*.header_text { grid-area: header_text; }
.search { grid-area: search; }
.login { grid-area: login; }


.wrap{
  display: grid;
  grid-template-areas:
    'header_text  search search login login'
    'menu main main main right right'
    'menu footer footer footer footer footer';
  grid-gap: 10px;
  background-color: #2196F3;
  padding: 10px;
}

.wrap> div {
  background-color: rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 20px 0;
  font-size: 20px;
}*/

/*.games1 {grid-area: games1}
.games2 {grid-area: games2}
.games3 {grid-area: games3}
.games4 {grid-area: games4}
.games5 {grid-area: games5}
.games6 {grid-area: games6}
.games7 {grid-area: games7}
.games8 {grid-area: games8}
.games9 {grid-area: games9}
.games10 {grid-area: games10}
.games11{grid-area: games11}
.games12 {grid-area: games12}
.games13{grid-area: games13}
.games14{grid-area: games14}
.games15{grid-area: games15}


.wrap{
  display: grid;
  grid-template-areas:
    'header_text  header_text header_text '
    'games1 games2 games3'
    'games4 games5 games6';
	
  grid-gap: 10px;
  background-color: #2196F3;

}

.wrap> div {
  background-color: rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 20px 0;
  font-size: 20px;*/

/*body {
	background-color: black
}*/

/*body{
	background-color: black;
}*/

/*element {
  --color_header_text: white;
}*/

*{
	scroll-behavior: smooth;
}

.preloader {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  /* фоновый цвет */
  background: #e0e0e0;
  z-index: 1001;
}
.preloader__image {
  position: relative;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 70px;
  margin-top: -35px;
  margin-left: -35px;
  text-align: center;
  animation: preloader-rotate 2s infinite linear;
}
@keyframes preloader-rotate {
  100% {
    transform: rotate(360deg);
  }
}
.loaded_hiding .preloader {
  transition: 2s opacity;
  opacity: 0;
}
.loaded .preloader {
  display: none;
}

br{
	clear: both;
}

.header_text{
	color: var(--color_header_text);
	display: block;
	margin-left: 25px;
	font-family: 'Lemonada', cursive !important;

/*	margin: 0;*/
}

.header{
		border-bottom: 1.5px solid black;
}

.search{
	position: absolute;
 	top: 20px;
 	right: 50%;

 }

 .search_input{
 	border-radius: 32px 32px 32px 32px;
 	border: solid black;
 }

/*.login a.text_log{
	display: block;	
	font-size: 28px;
	width: 190px;	
	padding: 8px;	
	color: black;
	font-family: 'Lemonada', cursive;
	position: absolute;
	top: 1%;	
	right: 25px;	
	text-decoration: none;	
	transition: 1s;
}

.login a.text_log:hover{
	background-color: black;
	color: white;
	font-size: 30px;
	border-radius: 	45px 5% 5% 5%;

}*/

.game{

	margin-top: 10%;
	margin-left: 5%;
}

.game div {
	width: 180px;
	height: 180px;
	transition: 1s;
}

ul.menu1>li {

	float: left;
	list-style-type: none;
}

ul.menu2>li {
	float: left;
	list-style-type: none;
	margin: 1px;
}

 ul.menu3>li{
	float: left;
	list-style-type: none;
/*margin-left: -25px;*/
  }

 ul.menu3>li/*>.games11*/{
	float: left;
	list-style-type: none;
/*margin-left: -25px;*/
  }

.game ul{
	text-align: center;
}

.game p {
	margin-top: -150px;
	font-size: 0px;
	opacity: 0;
}

.game a {
	margin-top: -100px;
	font-size: 20px;
	opacity: 1;
}

.game img {
	box-sizing: border-box;
	padding: 15px;
	border-radius: 32px 32px 32px 32px;
	transition: 0.5s;
	overflow: hidden;

}


.game img:hover {

	/*background-color:rgba(0,0,0,.3);*/
	opacity: 0.4;
	
	border: 1px white;
	/*transform: scale(1.2);*/
/*	overflow: hidden;
*/
padding-bottom: 5px;

}




.game img:hover ~ p {
	/*transition: 1s;*/
	opacity: 1;
	color: black;
	padding-right: 10px;
	font-size: 24px;
	font-family: 'Gloria Hallelujah', cursive;

}

/*.game img:hover ~ a {
	/*transition: 1s;*/




#check{
	transition: 1s;
}

#check:active{
	transition: 0.5s;
	transform: rotateY(360deg);
}


.top{
	text-decoration: none;	
	text-align: center;	
	width: 50px;	

	display: block;
	border-radius: 20% 20% 20% 20%;
	background-color: rgba(0, 128, 0, 0.859);
	position: fixed;
	bottom: 25px;
	right: 25px;
}

.top:hover{
		transition: 1s;
	transform: rotateZ(360deg);

}

.top:after{
		transition: 1s;
	transform: rotateZ(360deg);

}

@media screen and (max-width: 700px){
	
	.game{
	margin-left: 5%;}
	.search{

		left: -99999px;
		}

}

.card {
	margin-top: 15px;
	margin-left: 40%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    width: 200px;
}

.card:hover {
    box-shadow: 15px 15px 15px 15px rgba(0,0,0,0.2);
}

.container {
    padding: 2px 15px;
}

img.img_footer{
	width: 25px;
}

.footer{
	margin-left: 45%;
	text-align: center;
	height: 150px;
	width: 100%;
}