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

* {
	box-sizing: border-box;
}

body {
	font-family: "Muli", sans-serif;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100vh;
	overflow: hidden;
	margin: 0;
}

.container {
	display: flex;
	justify-content: center;
	width: 90vw;
	gap: .6rem;
}

h3 {
	margin-left: 2rem;
	opacity: 0;
}

.panel {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	height: 80vh;
	border-radius: 50px;
	color: white;
	cursor: pointer;
	display: flex;
	align-items: flex-end;
	width: 8%;
	transition: width 0.7s ease-in;
}

.panel:hover {
	box-shadow: rgba(0, 0, 0, 0.65) 0px 5px 15px;
	/* transition: box-shadow 0.6s cubic-bezier(0.25, 0.1, 0.27, 1.3); */
	transform: scale(1.01);
	/* transition: transform 0.2s ease-in; */
}

.panel.active {
	width: 100%;
	transition: width 0.7s ease-in;
}
.panel.active h3 {
	opacity: 1;
	transition: opacity 0.7s ease-in;
}

@media (max-width: 480px) {
	.container {
		flex-direction: column;
		height: 100vh;
	}

	.panel {
		height: 10vw;
		width: 100%;
	}

	.panel.active {
		height: 100vw;
		transition: height 0.7s ease-in-out 0.3s;
	}

	h3 {
		opacity: 1;
	}

}