@import url("https://fonts.googleapis.com/css?family=Muli&display=swap");

* {
	box-sizing: border-box;
}

body {
	background-color: #6969db;
	font-family: "Muli", sans-serif;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	margin: 0;
	overflow-x: hidden;
}

.back {
	font-family: initial;
	position: absolute;
	top: 2vh;
	left: 5vw;
	color: black;
	font-size: 2rem;
}

h1 {
	margin: 10px;
}

.box {
	background-color: rgb(160, 160, 85);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 400px;
	height: 200px;
	margin: 10px;
	border-radius: 10px;
	box-shadow: 2px 4px 5px rgba(0, 0, 0, 0.3);
	transform: translateX(400%);
	transition: transform 0.4s ease;
}

.box:nth-of-type(even) {
	transform: translateX(-400%);
}

.box.show {
	transform: translateX(0);
}

.box h2 {
	font-size: 45px;
}
