

@font-face {
	font-family: myFirstFont;
	src: url(./assets/fonts/font.TTF);
}


* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: myFirstFont;
	height: 100vh;
	width: 100vw;
}

.glass {
	border-radius: 1em;
	backdrop-filter: blur(10px);
	box-shadow: 10px 10px 50px rgba(0, 0, 0, 0.3);
	border-top: 1px solid rgba(255, 255, 255, 0.5);
	border-left: 1px solid rgba(255, 255, 255, 0.5);
}

.shadow {
	box-shadow: 10px 10px 50px rgba(0, 0, 0, 0.3);
	border-top: 1px solid rgba(255, 255, 255, 0.5);
	border-left: 1px solid rgba(255, 255, 255, 0.5);
}

.title-game {
	text-align: center;
	margin: 10px;
}

.title-game h1 {
	text-align: center;
	margin-bottom: 70px;
	font-size: 50px;
	font-family: "Raleway", sans-serif;
}


body {
	height: 100vh;
	width: 100vw;
	background-position: center;
	background-size: cover;
	/*background-repeat: no-repeat;*/
	transition: ease-in-out 0.5s;
	background-image: url("./assets/img/bg.png");
	overflow-x: hidden;
}

/*https://codepen.io/cblake05/pen/yLKgBxM */
body .card-container {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 3em;
	flex-direction: row;
	flex-wrap: wrap;
	padding: 50px;
}
body .card-container .card {
	text-align: center;
	height: 20em;
	width: 40em;
	display: flex;
	align-items: center;
	justify-content: space-around;
	transition: ease-in-out 0.2s;
}
body .card-container .card .image {
	position: absolute;
	background-color: #778899;
	border-radius: 10px;
	opacity: 0;
	transition: ease-in-out 0.5s;
}
body .card-container .card:hover {
	width: 40em;
	text-align: left;
	transition: ease-in-out 0.2s;
}
body .card-container .card:hover .image {
	display: block;
	position: relative;
	opacity: 1;
	width: 15em;
	height: 25em;
	background-position: center;
	background-size: cover;
}
body .card-container .card .card-content {
	padding: 20px;
}
body .card-container .card .card-content h2 {
	font-size: 40px;
}
body .card-container .card .card-content p {
	font-size: 20px;
	width: 10em;
}
body .card-container .card .card-content button {
	font-size: 20px;
	font-weight: 100;
	border: 0;
	border-radius: 5px;
	background-color: black;
	padding: 4px 10px 4px 10px;
	color: white;
	margin-top: 20px;
}

body .card-container .card .card-content button:hover {
	cursor: pointer;
}




.background {
	height: 100vh;
	width: 100vw;
	background-color: skyblue;
	background-image: url("./assets/img/bg.png");
	background-size: contain;
}

.bird {
	height: 100px;
	position: fixed;
	top: 40vh;
	left: 30vw;
	z-index: 100;
	border: 5px dotted red;
}

.pipe_sprite {
	position: fixed;
	top: 40vh;
	left: 100vw;
	height: 69vh;
	width: 6vw;
	background-image: url("./assets/img/pipe.png");
	background-size: contain;
	background-position: top;
	background-repeat: repeat;
}

.message {
	position: fixed;
	z-index: 10;
	height: 10vh;
	font-size: 10vh;
	font-weight: 100;
	color: black;
	top: 20vh;
	left: 0;
	right: 0;
	text-align: center;
}

.message h1 {
	font-size: 80px;
}

.message h2 {
	font-family: "Raleway", sans-serif;
	font-size: 50px;
}


.score {
	position: fixed;
	z-index: 10;
	height: 10vh;
	font-size: 10vh;
	font-weight: 100;
	color: goldenrod;
	top: 40px;
	left: 0;
	right: 0;
	text-align: center;
}

.score_val {
	color: gold;
	display: block;
	text-align: center;
}

.easter_egg {
	display: none;
	position: fixed;
	top: 0;
	z-index: 999;
	width: 100%;
	height: 100vh;
}

.easter_egg img{
	height: 100vh;
	width: 100%;
}