li, p {
    line-height: 1.5;
    font-size: 16px;
	font-family: Arial;
}

p {
    display: block;
    margin-top: 10px;
	margin-bottom: 10px;
}

h1 {
    display: block;
    font-size: 34px;
    margin-top: 25px;
    margin-bottom: 20px;
	font-weight: normal;
	font-family: Arial;
}

h2 {
    display: block;
    font-size: 28px;
    margin-top: 20px;
    margin-bottom: 15px;
	font-weight: normal;
	font-family: Arial;
}

h3 {
    display: block;
    font-size: 24px;
    margin-top: 20px;
    margin-bottom: 15px;
	font-weight: normal;
	font-family: Arial;
}

a {
    color: #2b995b;
    cursor: pointer;
    text-decoration: underline;
}

footer {
    margin-top: 20px;
    background: #272727;
	text-align: center;
	padding: 10px 5px;
	color: #fff;
}

footer a {
	color: #8eff8d;
}




.head {
	display: flex;
	Justify-content: space-between;
	border-bottom: 2px solid #ddd;
	border-top: 2px solid #ddd;
	background: #efefef;
}

.logo {
	max-height: 90px;
	display: block;
}


.container{
	width: 950px;
    margin-right: auto;
    margin-left: auto;
}

.button-head {
	display: flex;
	align-items: center;
	margin-right: 50px;
}


a.button-text {
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.08);
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.08);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.08);
color: #fff;
display:block;
text-align: center;
font-family: Arial, Helvetica, sans-serif;
font-size: 22px;
padding: 8px 16px;
margin: 10px auto;
text-decoration: none;
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.075);
-webkit-transition: background-color 0.1s linear;
-moz-transition: background-color 0.1s linear;
-o-transition: background-color 0.1s linear;
transition: background-color 0.1s linear;
max-width: 220px;    
}
a.button-text {
background-color: #2b995b;
border: 1px solid #6d6d6d;
}
        
a.button-text:hover {
opacity: .80;
}


a.button-tg {
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.08);
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.08);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.08);
color: #fff;
display:block;
text-align: center;
font-family: Arial, Helvetica, sans-serif;
font-size: 20px;
padding: 6px 12px;
margin: 0px 4px 2px;
text-decoration: none;
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.075);
-webkit-transition: background-color 0.1s linear;
-moz-transition: background-color 0.1s linear;
-o-transition: background-color 0.1s linear;
transition: background-color 0.1s linear;
max-width: 100%;   
}
a.button-tg {
background-color: #138ccf;
}
        
a.button-tg:hover {
opacity: .80;
}



a.button-undertable {
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.08);
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.08);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.08);
color: #fff;
display:block;
text-align: center;
font-family: Arial, Helvetica, sans-serif;
font-size: 20px;
padding: 8px 15px;
margin: 15px auto;
text-decoration: none;
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.075);
-webkit-transition: background-color 0.1s linear;
-moz-transition: background-color 0.1s linear;
-o-transition: background-color 0.1s linear;
transition: background-color 0.1s linear;
max-width: 220px;  
}
a.button-undertable {
background-color: #138ccf;
}
        
a.button-undertable:hover {
opacity: .80;
}

.faq {
  margin: 0 auto;
}



table {
	border: 2px solid #ddd;
	text-align: center;
	width: 100%
}

th {
	background-color: #272727;
	color: #fff;
	padding: 5px 10px;
	line-height: 1.5;
    font-size: 18px;
    font-family: Arial;
	font-weight: 200;
}

td {
	padding: 5px 10px;
	background-color: #efefef;
    font-size: 17px;
    font-family: Arial;
}

td img {
	max-height: 90px;
	border: 2px solid #ddd;
}

td:nth-child(3) {
  color: #df0404;
  font-weight: 600;
}


.game {
	display: flex;
	padding: 3px;
	background-color: #272727;
}

.game-str {
	display: flex;
	border-radius: 10px;
	background: #e9e9e9;
	margin: 5px;
	padding: 0 10px;
}

.game-str p{
    font-size: 12px;
	line-height: .7;
}

.game-kl {
	flex: 1 1 30%;
	min-width: 200px;
}

.attribute {
	font-weight: 700;
}

.meaning {
	margin-left: auto;
	font-style: italic;
}

.promoword {
	margin-right: 5px;
}

@media  screen and (min-width: 491px) {
a.button-tg{
	display: none;
}
}

@media  screen and (max-width: 490px) {
a.button-undertable{
	display: none;
}
}

@media  screen and (min-width: 831px) {
.promoword {
	display: none;
}
}

/* Кнопка выпадающего списка */
.dropbtn {
	text-align: center;
	border-radius:5px;
	background-color: #138ccf;
  background-color: #4CAF50;
  color: white;
  padding: 14px 26px;
  font-size: 20px;
  border: none;
}

/* Контейнер <div> - необходим для размещения выпадающего содержимого */
.dropdown {
  position: relative;
  display: block;
}

/* Выпадающее содержимое (скрыто по умолчанию) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Ссылки внутри выпадающего списка */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Изменение цвета выпадающих ссылок при наведении курсора */
.dropdown-content a:hover {background-color: #ddd;}

/* Показать выпадающее меню при наведении курсора */
.dropdown:hover .dropdown-content {display: block;}

/* Изменение цвета фона кнопки раскрывающегося списка при отображении содержимого раскрывающегося списка */
.dropdown:hover .dropbtn {background-color: #3e8e41;}


details{
  display:block;
  background: #fff;
  box-shadow: 0 5px 10px 4px rgba(0, 0, 0, 0.08), 0 5px 5px 4px rgba(0, 0, 0, 0.03);
  border-radius: 8px;
  overflow:hidden;
  margin-bottom: 1.1rem;
}
summary::-webkit-details-marker{display:none;}
summary::-moz-list-bullet{list-style-type:none;}
summary::marker{display:none;} 
summary {
   display:block;
   padding: .4em 1.2em .4em .9em;
   border-bottom: 1px solid #e2e8f0;
   font-size:1.4em;
   cursor: pointer;
   position: relative;
   font-family: Arial;
}
summary:before {  
  top: .4em;
  right: .3em;
  color: transparent;
  background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMTYuNTkgOC41OUwxMiAxMy4xNyA3LjQxIDguNTkgNiAxMGw2IDYgNi02eiIvPjxwYXRoIGQ9Ik0wIDBoMjR2MjRIMHoiIGZpbGw9Im5vbmUiLz48L3N2Zz4=") no-repeat 50% 50% / 1em 1em;
  width: 1em;
  height: 1em;  
  content: "";
  position: absolute;
  transition: transform .5s;
}
details[open] > summary:before {
  transform: scale(1,-1);
}
summary ~ * {
   padding: 0 1em 10px 1.4em;
}
details[open] summary ~ *{ 
  animation: sweep .5s ease-in-out;
}
@keyframes sweep {
  0%    {opacity: 0;}
  100%  {opacity: 1;}
}
summary:focus {
  outline:0;
}





 @media  screen and (max-width: 830px) {
    table {
		border: 0px;
		margin-bottom: -15px;
	}
	td img {
		margin-top: 10px;
	}
	
	table thead {
        display: none;
    }
    table tr {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        margin-bottom: 15px;
		border: 2px solid #ddd;
    }
    table td {
        width: 100%;
    }
	.game {
		flex-wrap: wrap;
	}
}
 
 
 
 @media  screen and (max-width: 1200px) {
  .container {
    width: 100%;
}

.main{
	padding-right: 10px;
    padding-left: 10px;
}

.button-head {
    margin-right: 10px;
}

.head {
    border-right: 2px solid #ddd;
    border-left: 2px solid #ddd;
}
}


 @media  screen and (max-width: 680px) {


h1 {
    font-size: 26px;
    margin-top: 15px;
    margin-bottom: 10px;
}

h2 {
    font-size: 24px;
	margin-bottom: 12px;
}

h3 {
    font-size: 22px;
	margin-bottom: 12px;
}

summary {
    font-size: 18px;
}

details p{
    font-size: 14px;
}

footer p{
	font-size: 13px;
    margin-top: 5px;
    margin-bottom: 5px;
}

a.button-enter {
    font-size: 20px;
}

a.button-reg {
    font-size: 20px;
}

a.button-text {
    font-size: 20px;	
}
}


 @media  screen and (max-width: 490px) {
.head {
    display: flex;
	flex-direction: column;
}
.logo {
    border-right: none;
	margin: auto;
	max-width: -webkit-fill-available;
	max-height: none;
}

.button-head {
    margin-right: 8px;
	display: block;
}

.dropbtn {
	padding: 8px 2px;
	width: 100%;
	margin: 0px 4px 2px;
	font-size: 18px;
}

 }


/** styles */
.main {
	position: relative;

	.container {
		.container {
			display: flex;
			align-items: center;
			justify-content: center;

			#header-container {
				background: #000000cf;
				width: 100%;
				height: 100%;
				z-index: 2;
			}

			img {
				max-width: 100%;
				filter: brightness(30%);

			}

			button {
				position: absolute;
				background: #d13041;
				color: #fff;
				box-shadow: none;
				width: 150px;
				font-size: 22px;
				height: 45px;
				border: none;
				z-index: 2;
			}

			button:hover {
				opacity: 0.8;
				cursor: pointer;
			}
		}
	}
}

#gameContainer {
	display: block;
    width: 100%;
}