.intro-text {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	align-items: center;
}

.intro-text div {
	width: 450px;
	margin-left: 70px;
}

.intro-text h4 {
	font-size: 25px;
	font-weight: 700;
	margin: 0;
	color: var(--main-color);
}

.intro-text p {
	line-height: 1.5;
}

.intro-text img {
	width: 150px;
}

/*---------------------------------------- CONTAINERS*/

.containers {
	height: 70vh;
	max-height: 500px;
	background-position: center;
	background-size: cover;
	position: relative;
	margin: 10px 0;
}

.containers div {
	background-color: rgba(0, 98, 90, 0.9);
	width: 350px;
	border-radius: 8px;
	text-align: center;
	color: white;
	padding: 30px;
	position: relative;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.containers h3 {
	font-size: 45px;
	font-weight: 700;
	margin-bottom: 20px;
	margin-top: 0;
	line-height: 40px;
}

.containers h4 {
	margin: 0;
	font-size: 25px;
	margin-bottom: 5px;
	margin-top: 15px;
}

.containers p {
	margin: 0;
	line-height: 1.5;
}

@media (max-width: 800px) {
	.intro-text div {
		width: calc(100% - 30%);
		margin: 30px 15% 0 15%;
		text-align: center;
	}
}

@media (max-width: 600px) {
	.containers {
		position: static;
		height: auto;
		padding: 10vh 0;
	}

	.containers div {
		position: static;
		transform: none;
		margin: 0 auto;
	}
}

@media (max-width: 450px) {
	.containers {
		padding: 5vh 0;
	}

	.containers div {
		width: calc(90% - 60px);
	}

	.containers h3 {
		font-size: 38px;
	}
}

/*------------------------------------ LIDI*/

.persons-section {
	padding: 0;
}

.persons {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

.persons article {
	border-radius: 8px;
	width: calc(50% - 10px);
	max-width: 400px;
	margin: 5px;
	position: relative;
	overflow: hidden;
	background-position: center;
	background-size: cover;
}

.persons article:hover > div {
	width: calc(100% - 30px);
	height: calc(100% - 30px);
}

.persons article:hover > div section button {
	opacity: 1;
}

.persons article:hover > div section h3 {
	font-size: 35px;
}

.persons article:hover > div section p {
	margin-top: 10px;
	font-size: 18px;
}

.persons div {
	width: 70%;
	height: 60px;
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	color: white;
	background: radial-gradient(circle, rgba(0, 121, 112, 0.8) 0%, rgba(0, 63, 57, 0.8) 100%);
	text-align: center;
	border-radius: 8px;
	padding: 15px;
	transition: all 0.5s;
}

.persons div section {
	width: 100%;
	position: relative;
	top: 50%;
	transform: translateY(-50%);
}

.persons div h3 {
	font-size: 25px;
	font-weight: 700;
	margin: 0;
	transition: font-size 0.5s;
}

.persons div p {
	margin: 0;
	transition: all 0.5s;
}

.persons div button {
	position: absolute;
	font-size: 16px;
	font-weight: 600;
	padding: 5px 15px;
	margin-top: 30px;
	opacity: 0;
	transition: all 0.5s;
	left: 50%;
	transform: translateX(-50%);
	font-size: 18px;
}

@media (max-width: 1700px) {
	.persons-section {
		max-width: 1000px;
		margin: 0 auto;
	}
	.persons article {
		width: calc(50% - 20px);
		margin: 20px;
	}
}

@media (max-width: 1000px) {
	.persons article {
		width: calc(50% - 10px);
		max-width: 300px;
	}

	.persons div {
		width: calc(100% - 40px);
		padding: 20px;
	}
}

@media (max-width: 700px) {
	.persons article {
		width: calc(80% - 10px);
		max-width: none;
	}

	.persons div h3 {
		font-size: 22px;
	}
}

@media (max-width: 500px) {
	.persons article:hover > div section h3 {
		font-size: 24px;
	}
}
