@import url('https://fonts.googleapis.com/css2?family=Ubuntu&display=swap');
body{
	margin:0;
	font-family: 'Ubuntu', sans-serif;
}
#logInBox{
	top: 0;
	position: absolute;
	width: 100%;
	height: 100%;
	display:flex;
	justify-content: center;
	align-items: center;
	z-index: 4;	
	backdrop-filter: blur(5px);
}
#loginInput{
	text-align: center;
	font-size: 40px;
	width: 80%;
	height: 60%;
}
#logIn{
	z-index: 4;
	width: 600px;
	height: 30%;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #808080;
	flex-direction: column;
}
#logInForm{
	font-family: 'Courier New', Courier, monospace;
	width: 100%;
	height: 70%;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0;
	flex-direction: column;
}
#toLogIn{
	margin-top: 5%;
	height: 30%;
	width: 40%;
	font-size: 40px;
}
#nav{
	color: black;
	height: 100%;
	width: 20%;
	background-color: black;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
.navButton{
	font-size: 27px;
	margin: 15px;
	text-align: center;
	height: 100px;
	width: 80%;
	background-color: rgb(148, 253, 231);
	padding-top: 15px;
	cursor: default;
}
.navButton:hover{
	background-color: rgb(59, 253, 211);
}
#ranking{
	height:430px;
}

.rankPos{
	display: flex;
	flex-direction: row;
}
.nick{
	width: 70%;
	text-align: left;
	padding-left: 5%;
}
.score{
	padding-right: 5%;
	width: 30%;
	text-align: right;
}
#rankingNav{
	text-align: center;
	font-weight: bold;
	margin-top: 0;
}
.navButton:first-child{
	margin-top: 45px;
}
#newGame, #tryAgain{
	padding: 0;
	display: flex;
	justify-content: center;
	align-items: center;
}
#main{
	display: flex;
	flex-direction:row;
	height:100%;
	width:100%;

}
#memoryContainer{
	height: 100%;
	width: 80%;
	background-color:#4A7F74;
	display:flex;
	justify-content: center;
	align-items: center;
}
.tab{
	display:flex;
	justify-content: center;
	align-items: center;
	position: relative;
	top: -100;
	left: 0;
	width: 50%;
	height: 100px;
	background-color: black;
	font-size: 40px;
}
#gameBoard{
	margin-top: 100px;
	color: white;
	height: 800px;
	width: 800px;
	display:flex;
	flex-wrap: wrap;
	justify-content: center;
	background-color: black;
}
.memoryElement{
	position: relative;
	top: -100;
	height: 150px;
	width: 150px;
	margin: 20px;
	background-color: transparent;
	perspective: 500px;
}
.memoryElementBack:hover{
	background-color: rgb(59, 253, 211);
}
img{
	height: 100px;
	width: 100px;
	margin: 5px;
}
.memoryElementInner{
	position: relative;
	transition: transform 1s;
	transform-style: preserve-3d;
	width: 100%;
	height: 100%;
	background-color: white;
	border-radius: 5%;
	box-shadow: 5px 10px 10px #0c4e4e;

}
.memoryElementInner.memoryElementFlip{
	transform: rotateY(180deg);
}
.memoryElementFront{
	position: absolute;
	width: 100%;
	height: 100%;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	transform: rotateY(180deg);
	border-radius: 5%;
	display:flex;
	justify-content: center;
	align-items: center;
}
.memoryElementBack{
	position: absolute;
	width: 100%;
	height: 100%;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	background-color: rgb(148, 253, 231);
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 5%;
}

