@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@500&display=swap');

*,
*::before,
*::after {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

body {
	height: 100vh;
	font-family: 'Nunito', sans-serif;
	background: linear-gradient(to left, #f11717, #0a0808);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.container {
	height: fit-content;
	max-width: 760px;
	background-color: #332626d7;
	padding: 4rem 1rem;
	display: flex;
	justify-content: space-between;
	overflow: hidden;
	border-radius: 15px;
}

.container .img {
	width: 60%;
	height: 100%;
	position: relative;
	left: -50px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.container img {
	max-width: 350px;
}

.container .questions {
	width: 100%;
	margin-right: 4rem;
}

.container .questions h1 {
	font-size: 2rem;
	margin-bottom: 1.5rem;
	color: #fff;
}

.container .questions h3 {
	font-size: 13px;
	margin: 10px 0;
	color: #fff;
	display: flex;
	font-weight: 600;
	justify-content: space-between;
	align-items: center;
}

.container .questions h3:hover {
	color: crimson;
	cursor: pointer;
}

.container .questions h3 img {
	margin-left: 4rem;
	height: 7px;
	cursor: pointer;
	transition: transform 300ms ease-in;
}

.container .questions p {
	font-size: 12px;
	margin-bottom: 10px;
	font-weight: 400;
	color: #fff;
}

@media only screen and (max-width: 760px) {
	.container {
		max-width: 350px;
		padding: 1rem;
		display: block;
		flex-direction: column;
		justify-content: space-between;
		overflow: visible;
		height: fit-content;
	}

	.container .img {
		width: 60%;
		height: fit-content;
		left: 50%;
		transform: translateX(-50%) translateY(-125px);
	}

	.container img {
		max-width: 250px;
	}

	.container .questions {
		width: 100%;
		margin-right: 0;
		position: relative;
		top: -90px;
	}

	.container .questions h1 {
		text-align: center;
	}
}