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

body {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	padding: 10px;
	min-height: 100vh;
	font-family: 'Montserrat', sans-serif;
	color: #ddd;
	background-image: linear-gradient(315deg, #7f5a83 0%, #094d7e 74%);
}
.wrapper {
	display: flex;
	flex-direction: column;
	max-width: 1000px;
}

.answer {
	color: yellow;
	font-weight: bold;
}

.info {
	text-align: center;
	font-size: 20px;
}
h2 {
	padding: 10px 0;
}

.answer {
	padding-top: 10px;
	font-weight: bold;
}

.info h1 {
	margin-bottom: 10px;
	font-size: 36px;
}

.head-img {
	position: relative;
	height: 180px;
}

.head-img img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 150px;
	cursor: pointer;
}

.question-area {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	font-size: 24px;
}

.question-area h2 {
	margin-bottom: 10px;
	font-size: 32px;
	text-transform: uppercase;
}

.question-area input {
	padding: 10px 20px;
	width: 80%;
	font-size: 20px;
	border: 2px solid #333;
	border-radius: 8px;
}

.question-area .answer {
	margin-top: 30px;
}

.question-area .answer span {
	font-weight: bold;
}

.question-area .error {
	font-weight: bold;
	color: #3add8c;
}

a {
	margin-top: 50px;
	color: #fff;
	text-decoration: none;
	font-size: 24px;
	transition: transform 0.3s;
}

a:hover {
	color: #ddd;
	transform: scale(0.9);
}

.shake-animation {
	animation: shake 1s 1;
}

@keyframes shake {
	0% {
		left: 45%;
	}
	20% {
		left: 55%;
	}
	40% {
		left: 45%;
	}
	60% {
		left: 55%;
	}
	80% {
		left: 45%;
	}
	100% {
		left: 50%;
	}
}

@media (min-width: 567px) {
	h1 {
		font-size: 48px;
	}
	h2 {
		font-size: 36px;
	}

	.info {
		font-size: 30px;
	}
	.head-img {
		height: 350px;
	}
	.head-img img {
		width: 300px;
	}
}
