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

* {
	box-sizing: border-box;
}

body {
	background-image: linear-gradient(90deg, #9898f0, #8518e2);
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100vh;
	overflow: hidden;
	margin: 0;
}

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

.search {
	position: relative;
	height: 4rem;
}

.search .input {
	background-color: white;
	border: 0;
	font-size: 1.2rem;
	padding: 1rem;
	height: 3rem;
	width: 3rem;
	transition: width 0.3s ease;
}

.btn {
	background-color: white;
	border: 0;
	cursor: pointer;
	font-size: 1.4rem;
	position: absolute;
	top: 0;
	left: 0;
	height: 3rem;
	width: 3rem;
	transition: transform 0.3s ease;
}

.btn:focus,
.input:focus {
	outline: none;
}

.search.active .input {
	width: 12rem;
}

.search.active .btn {
	transform: translateX(11rem);
}
