@import url("https://fonts.googleapis.com/css2?family=Hammersmith+One&family=Poppins&display=swap");

.testimonialbody {
	background-color: #d5e1ef;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0;
	width: 100vw;
	height: 80vh;
	padding-top:50px;
}

.testimonialcontainer {
	width: 100%;
	height:700px;
}

.swiper-wrapper {
	height:700px!important;
}

.testimonialcard {
	background-color: #f9fafe;
	width: 550px;
	height: 45%;
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: relative;
	padding: 30px 0 0 0;
	transition: transform 400ms;
	opacity: 0.5;
	box-shadow: none;
}

.quote-icon {
	position: absolute;
	z-index: 0;
	opacity: 0.05;
	left: 3%;
	top: 0;
}

.testimonialavatar {
	width: 120px;
	height: 120px;
	border-radius: 150px;
	border: 5px solid #f9fafe;
	box-shadow: 0 0 50px #ccc;
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-60px, -60px);
	z-index: 1;
}

.testimonialheader {
	margin: 50px 0 0 0;
	text-align: center;
	z-index: 1;
}

.testimonialname {
	font-family: "Hammersmith One", sans-serif;
	text-transform: uppercase;
	font-size: 22px;
	margin: 0;
}

.testimonialtitle {
	font-family: "Hammersmith One", sans-serif;
	text-transform: uppercase;
	font-size: 14px;
	font-weight: 400;
	margin: 5px 0 0 0;
	padding: 0 5px;
	color: #7ccdc5;
}

.quote-container {
	margin: 0;
	height: 100%;
	z-index: 1;
	padding: 15px 30px 30px 30px;
	overflow: hidden;
}

.quote {
	width: 100%;
	height: 95%;
	font-family: "Poppins", sans-serif;
	font-size: 12px;
	text-align: center;
	color: #73808c;
	margin: 0;
}

.swiper {
	width: 100%;
	height: 500px;
}

.swiper-slide {
	display: flex !important;
	justify-content: center;
	align-items: center;
}

.swiper-slide-active {
	z-index: 1;
}

	.swiper-slide-active .card {
		box-shadow: 0 8px 30px -7px #c9dff0;
		opacity: 1;
		transform: scale(1.5);
	}

.swiper {
	margin-left: auto;
	margin-right: auto;
}

.swiper-button-next:focus,
.swiper-button-prev:focus {
	outline: none;
}

@media (max-height: 400px) {
	.header {
		margin: 40px 0 0 0;
	}

	.name {
		font-size: 12px;
	}

	.title {
		font-size: 10px;
	}

	.quote-container {
		padding: 5px 20px 20px 20px;
	}

	.quote-icon {
		width: 75px;
		height: 75px;
	}

	.avatar {
		width: 100px;
		height: 100px;
		transform: translate(-50px, -50px);
	}
}
