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

body {
	font-family: 'Playpen Sans', sans-serif;
	background-color: #E0E1DD;
	background-size: cover;
	background-repeat: no-repeat;
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* 
* Header Start
*/

header {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 1rem;
}

.title-backarrow {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
}

.title-backarrow a {
	position: relative;
	top: 4px;
}

.play {
	color: #fff;
	background-color: #7B8DAA;
	text-decoration: none;
	padding: 1rem 2rem 1rem 2rem;
	border-radius: 15px;
	margin: 1rem; 
}

.play:hover {
	color: #fff;
	background-color: #94a9c7;
	text-decoration: none;
	padding: 1rem 2rem 1rem 2rem;
	border-radius: 15px;
	margin: 1rem; 
}

/* 
* Header End
*/

/* 
* Main Start
*/

.main-container {
	border: 2px black solid;
	display: flex;
	width: 80%;
	height: 500px;
	justify-content: space-evenly;
}

.elevator-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.elevator-line {
	position: absolute;
	background-color: black;
	height: 497px;
	width: 2px;
}

.elevator-container {
	position: absolute;
	margin-top: 260px;
	background-color: #fff;
	height: 100px;
	width: 45px;
	display: flex;
	border-radius: 10px;
}

.elevator-left {
	background-color: #101B2A;
	height: 100%;
	width: 21.5px;
	border-top-left-radius: 10px;
	border-bottom-left-radius: 10px;
}

.elevator-left-top {
	position: absolute;
	margin: 5px 0 0 1px;
	background-color: #7B8DAA;
	height: 20%;
	width: 19px;
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
}

.elevator-left-bottom {
	position: absolute;
	margin: 0 0 5px 1px;
	left: 0;
	bottom: 0;
	background-color: #7B8DAA;
	height: 20%;
	width: 19px;
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
}

.elevator-right {
	position: absolute;
	right: 0;
	background-color: #101B2A;
	height: 100%;
	width: 21.5px;
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;
}

.elevator-right-top {
	position: absolute;
	margin: 5px 1px 0 0;
	right: 0;
	background-color: #7B8DAA;
	height: 20%;
	width: 19px;
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
}

.elevator-right-bottom {
	position: absolute;
	margin: 0 1px 5px 0;
	bottom: 0;
	right: 0;
	background-color: #7B8DAA;
	height: 20%;
	width: 19px;
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
}

/*
* Eleveator Animations
*/

@keyframes moveElevator1 {
    0% {
        transform: translateY(80px);
    }
    20% {
        transform: translateY(80px); 
    }
    50% {
        transform: translateY(-120px);
    }
    70% {
        transform: translateY(-120px); 
    }
    100% {
        transform: translateY(80px);
    }
}

@keyframes moveElevator2 {
    0% {
        transform: translateY(30px);
    }
    20% {
        transform: translateY(30px); 
    }
    50% {
        transform: translateY(-165px);
    }
    70% {
        transform: translateY(-165px); 
    }
    100% {
        transform: translateY(30px);
    }
}

@keyframes moveElevator3 {
    0% {
        transform: translateY(56px);
    }
    20% {
        transform: translateY(56px); 
    }
    50% {
        transform: translateY(-200px);
    }
    70% {
        transform: translateY(-200px); 
    }
    100% {
        transform: translateY(56px);
    }
}

@keyframes moveElevator4 {
    0% {
        transform: translateY(80px);
    }
    20% {
        transform: translateY(80px); 
    }
    50% {
        transform: translateY(-250px);
    }
    70% {
        transform: translateY(-250px); 
    }
    100% {
        transform: translateY(80px);
    }
}

#elevator-1 .elevator-container {
    animation: moveElevator1 7s infinite ease-in-out; 
}

#elevator-2 .elevator-container {
    animation: moveElevator2 4s infinite ease-in-out; 
}

#elevator-3 .elevator-container {
    animation: moveElevator3 5s infinite ease-in-out; 
}

#elevator-4 .elevator-container {
    animation: moveElevator4 6s infinite ease-in-out; 
}

#elevator-5 .elevator-container {
    animation: moveElevator1 4s infinite ease-in-out; 
}

#elevator-6 .elevator-container {
    animation: moveElevator3 3s infinite ease-in-out; 
}


/* 
* Main End
*/

/* 
* Footer Start
*/

footer {
	margin-top: 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

footer div {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

footer img {
	position: relative;
	top: 1px;
	height: 25px;
}

/*
* Footer End
*/

/* 
* Media Start
*/

@media only screen and (max-width: 600px) {
	#elevator-4, #elevator-5, #elevator-6 {
		display: none;
	}
}

@media only screen and (max-width: 400px) {
	header h1 {
		font-size: large;
	}
}

/* 
* Media End
*/