@import url("https://fonts.googleapis.com/css2?family=Open+Sans&family=Raleway:wght@400;700&display=swap");

/*
======================
GENERAL RESET
======================
*/

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

img {
	display: block;
}

:root {
	/* || BACKGROUND COLORS */
	--BODY-BGCOLOR: hsl(240, 75%, 98%);
	--SECTION-BGCOLOR: hsl(0, 0%, 75%);

	/* BUTTON COLOR */
	--BTN1: hsl(170, 45%, 43%);
	--BTN2: hsl(224, 93%, 58%);

	/* || FOOTER SECTION COLOR */
	--FOOTER-COLOR1: hsl(238, 22%, 44%);
	--FOOTER-COLOR2: hsl(243, 87%, 12%);
}

/*
======================
GENARAL CLASSES
======================
*/
body {
	font-family: "Open Sans", sans-serif;
}

/*
======================
HEADER SECTION
======================
*/

/* HEADER */
.header {
	align-items: center;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	padding: 1rem 0.5rem;
}

@media screen and (min-width: 576px) {
	.header {
		padding: 2em;
	}
}

/* HEADER IMG */
.header img {
	height: auto;
	width: 70px;
}

@media screen and (min-width: 576px) {
	.header img {
		width: 160px;
	}
}

/* HEADER__NAV */
.header__nav ul {
	align-items: flex-end;
	display: flex;
	gap: 0.5em;
	justify-content: space-between;
	list-style-type: none;
	margin-right: 20px;
}

@media screen and (min-width: 576px) {
	.header__nav ul {
		gap: 4em;
		margin-left: auto;
	}
}

.header__nav a,
a:hover,
a:active,
a:visited {
	color: #0000009f;
	font-family: "Raleway", sans-serif;
	font-size: 0.8rem;
	font-weight: bold;
	text-decoration: none;
	transition: all 0.3s;
}

.header__nav a:hover {
	color: var(--FOOTER-COLOR2);
	cursor: grab;
	font-size: 1.3rem;
	text-decoration: underline;
}

@media screen and (min-width: 576px) {
	.header__nav a {
		font-size: 1em;
		font-weight: bolder;
	}
}

/*
======================
MAIN ELEMENT
======================
*/

.main {
	display: flex;
	flex-direction: column;
}

.main__section {
	align-items: center;
	display: flex;
	flex-direction: column-reverse;
	justify-content: center;
	margin-top: 3em;
}

@media screen and (min-width: 576px) {
	.main__section {
		flex-direction: row;
		justify-content: space-between;
		margin: 0 9em 0 3.5em;
		margin-top: 0;
	}
}

.main__section-wrapper-h1 {
	color: #000;
	font-family: "Raleway", sans-serif;
	font-size: 1.3rem;
	font-weight: bolder;
	line-height: 30px;
	margin-top: 10px;
	padding: 1em;
	text-align: center;
}

@media screen and (min-width: 576px) {
	.main__section-wrapper-h1 {
		font-size: 2.5rem;
		line-height: 50px;
		margin-bottom: 1rem;
		margin-top: 0%;
		padding: 0%;
		text-align: left;
		width: 600px;
	}
}

.main__section-wrapper-p {
	font-size: 0.8rem;
	font-weight: bold;
	margin: 0 20px 20px;
	text-align: center;
}

@media screen and (min-width: 576px) {
	.main__section-wrapper-p {
		font-size: 1rem;
		margin: 0%;
		margin-bottom: 15px;
		text-align: left;
		width: 520px;
	}
}

.main__section form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 1em;
}

button,
input {
	border-radius: 3px;
	margin: auto;
	padding: 0.8em;
	width: 90%;
}

@media screen and (min-width: 576px) {
	.main__section form {
		display: flex;
		flex-direction: row;
		padding: 0%;
	}

	input {
		margin: 0%;
		width: 250px;
	}

	button {
		margin: 0%;
		width: 180px;
	}
}
input {
	border: 1px solid #000;
	color: #000;
	opacity: 30%;
}

button {
	background-color: var(--BTN2);
	border: 1px solid var(--BTN2);
	color: #fff;
	padding: 0.5rem;
}

.main__section img {
	height: auto;
	width: 300px;
}

@media screen and (min-width: 576px) {
	.main__section img {
		width: 600px;
	}
}

/* SECOND SECTION */
.main__second-section {
	align-items: center;
	display: flex;
	flex-direction: column-reverse;
	justify-content: center;
	margin-top: 3rem;
	padding: 2rem;
}

@media screen and (min-width: 576px) {
	.main__second-section {
		flex-direction: row;
		justify-content: left;
		margin: 5.2em 0 0 3.5em;
		margin-bottom: 2rem;
		padding: 0%;
	}
}

.main__second-section-h2 {
	font-family: "Raleway", sans-serif;
	font-size: 1rem;
	margin: 5em 0 2em 0;
	text-align: center;
}

@media screen and (min-width: 576px) {
	.main__second-section-h2 {
		font-size: 2rem;
		margin: 20px 0;
		text-align: left;
	}
}

.main__second-section-p1 {
	color: var(--SECTION-BGCOLOR);
	font-size: 0.8rem;
	margin-bottom: 20px;
	text-align: left;
	width: 300px;
}

@media screen and (min-width: 576px) {
	.main__second-section-p1 {
		color: #000;
		font-size: 0.8rem;
		line-height: 20px;
		width: 400px;
	}
}
.main__second-section-p2 {
	color: var(--SECTION-BGCOLOR);
	font-size: 0.8rem;
	margin-bottom: 20px;
	text-align: left;
	width: 300px;
}

@media screen and (min-width: 576px) {
	.main__second-section-p2 {
		color: #000;
		font-size: 0.8rem;
		width: 400px;
	}
}

.main__second-section-wrapper a {
	color: var(--BTN1);
	display: flex;
	gap: 0.4rem;
	justify-content: center;
}

.main__second-section-wrapper {
	margin-top: 5rem;
}

@media screen and (min-width: 576px) {
	.main__second-section-wrapper a {
		font-size: 0.9rem;
		justify-content: left;
	}
}

.main__second-section-div img {
	margin-bottom: 0.5rem;
}

.main__second-section-div {
	background-color: #fff;
	border-radius: 3px;
	box-shadow: 0 0 1px #000;
	color: var(--SECTION-BGCOLOR);
	font-size: 0.8rem;
	height: auto;
	line-height: 1.2rem;
	margin: 40px auto;
	padding: 1.3rem;
	width: 300px;
}

@media screen and (min-width: 576px) {
	.main__second-section-div {
		color: #000;
		margin: 40px 0;
	}
}

.main__second-section-div-div2 {
	margin-top: 15px;
}

.main__second-section-div-div2 img {
	border-radius: 50%;
	float: left;
	height: auto;
	margin-right: 5px;
	width: 30px;
}

.main__2section-p1 {
	color: #000;
	font-weight: bolder;
}

.main__2section-p2 {
	font-size: 0.6rem;
}

.main__second-section img[alt="Illustration 2"] {
	height: auto;
	width: 300px;
}

@media screen and (min-width: 576px) {
	.main__second-section img[alt="Illustration 2"] {
		margin-left: 8rem;
		width: 600px;
	}
}

/* FOOTER SECTION */
.footer__section {
	align-items: center;
	background-color: var(--FOOTER-COLOR1);
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 1rem;
}

@media screen and (min-width: 576px) {
	.footer__section {
		flex-direction: row;
		justify-content: space-between;
		padding: 3em 0 3em 3.5em;
	}
}

.footer__section-h3 {
	font-family: "Raleway", sans-serif;
	font-size: 2rem;
	margin: 30px 0;
	text-align: center;
}

@media screen and (min-width: 576px) {
	.footer__section-h3 {
		text-align: left;
	}
}

.footer__section-p2 {
	font-size: 0.9rem;
	line-height: 25px;
	margin-bottom: 20px;
	text-align: center;
}

@media screen and (min-width: 576px) {
	.footer__section-p2 {
		font-size: 1rem;
		font-size: 1rem;
		text-align: left;
		width: 500px;
	}
}

.footer__section form {
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
	justify-content: center;
	width: 100%;
}

@media screen and (min-width: 576px) {
	.footer__section form {
		margin-left: 15em;
	}
}

.footer__section input {
	margin-left: 19px;
	opacity: unset;
}

@media screen and (min-width: 576px) {
	.footer__section input {
		width: 80%;
		margin-left: 15px;
	}
}

@media screen and (min-width: 576px) {
	.footer__section button {
		margin-left: 14px;
	}
}

/* FOOTER SECTION 2 */
.footer__section2 {
	background-color: var(--FOOTER-COLOR2);
	color: #fff;
	padding: 2rem 1.5rem;
	padding-left: 2rem;
	width: 100vw;
}

@media screen and (min-width: 576px) {
	.footer__section2 {
		display: flex;
		padding: 2em 0 0 3.5em;
	}
}

.logo img {
	filter: invert(100%) sepia(0%) saturate(7496%) hue-rotate(261deg)
		brightness(99%) contrast(98%);
	margin: 30px 0;
}

.phone,
.mail {
	align-items: center;
	color: antiquewhite;
	display: flex;
	gap: 15px;
	margin-bottom: 15px;
}

.mail {
	margin-bottom: 50px;
}

.link1,
.link2 {
	margin-bottom: 3rem;
}

@media screen and (min-width: 576px) {
	.logo img {
		height: auto;
		margin-bottom: 10px;
		width: 90px;
	}
}

.link1 a,
.link2 a {
	color: #fff;
	display: flex;
	font-size: 1.2rem;
	margin-bottom: 1.2rem;
	text-decoration: none;
}

@media screen and (min-width: 576px) {
	.logo-mix {
		align-items: left;
		display: flex;
		flex-direction: column;
		margin-right: 10em;
	}

	.link-wrap {
		display: flex;
		flex-direction: row;
	}

	.phone,
	.mail {
		font-size: 0.8rem;
	}
}

.social-icons {
	align-items: center;
	display: flex;
	gap: 1rem;
	justify-content: center;
	margin-bottom: 3rem;
}

.social-icons img {
	filter: invert(100%) sepia(0%) saturate(7496%) hue-rotate(261deg)
		brightness(99%) contrast(98%);
	height: auto;
	width: 30px;
}

.social-icons img:hover {
	filter: none;
	width: 40px;
}

@media screen and (min-width: 576px) {
	.link-wrap {
		display: flex;
		gap: 15em;
		margin-top: 5em;
	}

	.link1,
	.link2 {
		align-items: left;
		display: flex;
		flex-direction: column;
	}

	.link1 a,
	.link2 a {
		font-size: 0.7rem;
	}

	.link1 a:hover,
	.link2 a:hover {
		font-size: 1rem;
		text-decoration: underline;
	}

	.social-icons {
		align-items: flex-start;
		display: flex;
		flex-direction: row;
	}
}
