body {
    background-color: #111e27;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.game {/*    font-weight: 700;*/font-size: 1.25rem;text-decoration: none;padding: 1rem;border: 1px solid transparent;background-color: transparent;color: #80e0e6;text-shadow: 0px 0px 12px #23666f, 0px 0px 8px #23666f, 0px 0px 6px #23666f;transition: 0.2s;}
#historyClose {
	font-size: 1rem;
}
.game:hover {
    border: 1px solid #80e0e6;
    box-shadow: 0 0 7px 3px #23666f, inset 0 0 7px 3px #23666f;
}

.game:active {
    /* background: #23666f; */
}

h1 {
    font-family: "Arial Black";

}

.popup, #start {
    transition: all .5s;
	display: flex;
	width: 100%;
	height: 100%;
	position: absolute;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	opacity:0;
}
#start {
	opacity:1;
	width: 300px;
    padding-left: 1rem;
	height: auto;
}
.popup .win, .popup .menu, .popup .history {
	background-image: url(./pic/popup_win.png);
	background-size: contain;
	background-repeat: no-repeat;
	opacity: 0.9;
	/*	margin-left: 2rem;*/
	margin-top: 2rem;
	height: 20rem;
	width: 20rem;
	position: absolute;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.popup .win .text, #start .text {
	text-align: center;
	padding: 2.5rem 1rem 2rem;
	font-family: "Arial";
	font-size: 1.25rem;
	color: #00ff97;
	text-shadow: 0px 0px 12px #236f43;
}
#start .text {
	color: #80e0e6;
	text-shadow: 0px 0px 12px #80e0e6;
}
.popup .history {
	background-image: url(./pic/popup_history.png);
}
.popup .history .text {
	height: inherit;
    overflow-y: auto;
    margin: 1rem;
	line-height: 1.15rem;
	font-family: "Arial";
	font-size: 0.85rem;
	color: #80e0e6;
	text-shadow: 0px 0px 6px #80e0e6;
}
.popup .history .title {
	font-weight: 700;
    font-family: "Arial";
    font-size: 1rem;
    text-align: left;
    margin: 1rem 0px;
    color: #80e0e6;
    text-shadow: 0px 0px 6px #80e0e6;
    padding-right: 3.5rem;
}
@supports (backdrop-filter: blur(0.25rem)) {
  .popup {
    backdrop-filter: blur(0.25rem);
  }
}
@supports not (backdrop-filter: blur(0.25rem)) {
  background-color: rgba(255, 255, 255, 0.5);
}
.popup .history .text::-webkit-scrollbar {
  width: 3px;               /* ширина scrollbar */
}
.popup .history .text::-webkit-scrollbar-track {
  background: #1c3f5c66;        /* цвет дорожки */
}
.popup .history .text::-webkit-scrollbar-thumb {
  background-color: #6ec4cb;    /* цвет плашки */
         /* закругления плашки */
    /* padding вокруг плашки */
}