
   html {
        box-sizing: border-box;
      }
      *, *:before, *:after {
        box-sizing: inherit;
      }
      body {
        margin: 0;
        background: #37b1cb;
		font-family: Arial, sans-serif;
      }
   
  #links {
	position: absolute;
	left: 0px;
	bottom: 0px;
	list-style: none;
	background-color: #eee;
	border-top-right-radius: 5px;
}
#links ul {
	list-style-type: none;
	margin: 0;
	font-weight: bold;		
	padding-inline-start: 0;
}
#links ul li {
	display: inline;
}
#links ul li a, #links ul li p {
	color: #000;
	display: inline-block;
	margin: 5px;
	padding: 5px;
	cursor: pointer;
}
#popupAboutGame{
	height: 100vh;
	overflow-y: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
}
#popupAboutGame::-webkit-scrollbar{
width:10px;
height:5px;
}
#popupAboutGame::-webkit-scrollbar-thumb{
	background:#555;
	border-radius:10px;
}
#popupAboutGame::-webkit-scrollbar-track{
	background:0 0;
}			

.container-popup-aboutgame{
	visibility: hidden;
	position: fixed;
	top: 0px;
	right: 0px;
	bottom: 0px;
	left: 0px;
	z-index: 100;
	overflow-y: auto;
	background: rgba(0,0,0,.8);
	cursor: pointer;
	transition: transform .2s ease,-webkit-transform .2s ease;
}

.content-popup-aboutgame{
	display: flex;
	justify-content: center;
	align-items: center;

}

.btn-close-popup{
position: absolute;
top: 10px;
right: 28px;
z-index: 101;
width: 80px;
height: 80px;
background-color: transparent;
color: #f0f0f0;
font-family: monospace;
cursor: pointer;
display: flex;
justify-content: center;
border: none;
}

.btn-close-popup .btn-icon{
	font-size: 60px;
}

.btn-close-popup .btn-text{
	font-size: 24px;
		padding-top: 5px;
}

.set-scale{
	visibility: visible;
}
.set-scale .popup-aboutgame{
	transform: scale(1);
}

.popup-aboutgame{
	position: relative;
	flex-shrink: 0;
	width: 60%;
	border-radius: 4px;
	background-color: #fff;
	opacity: 1;
	cursor: auto;
	transition: transform 0.3s cubic-bezier(.175,.885,.32,1.275),-webkit-transform 0.3s cubic-bezier(.175,.885,.32,1.275);
	transform: scale(.8);  
}


.popup-content{
	padding: 48px;
}
.btn-text{
	display: none;
}

@media (max-width:1000px){
	.content-popup-aboutgame{
		padding-top: 50px;
		height: auto;
	}
}

@media (max-width:540px){
	.btn-close-popup{
		top:0;
		left: 0;
		right:0;
		width:100%;
		height: 60px;
		background-color: #2c3e50;
		line-height: 55px;

	}
	.popup-aboutgame{
		width:100%;
	}
	.btn-text{
		display: block;
	}
	.btn-close-popup .btn-icon{
		margin-right: 10px
	}
}