@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600&display=swap');

* {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	text-decoration: none;
	box-sizing: border-box;
	list-style: none;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

:root {
	--mainColor: #31887c;
	--secColor: #9c9ca4;
	--bg-color: #111314;
	--textColor: #f9f9f9;
}

body {
	background-color: var(--bg-color);
	color: var(--textColor);
	font-family: 'Cairo', sans-serif;
}

.container {
	margin-left: auto;
	margin-right: auto;
	width: 85%;
	max-width: 1640px;
}

@media (max-width: 1400px) {
	.container {
		width: 90%;
		max-width: 1320px;
	}
}

@media (max-width: 1200px) {
	.container {
		width: 92%;
		max-width: 1140px;
	}
}

@media (max-width: 992px) {
	.container {
		width: 92%;
		max-width: 960px;
	}
}

@media (max-width: 768px) {
	.container {
		max-width: 720px;
	}
}

@media (max-width: 576px) {
	.container {
		width: auto;
		margin-left: 15px;
		margin-right: 15px;
	}
}

header {
	margin-top: 1.75em;
}

.nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-basis: 15%;
}

.logo a {
	line-height: 0;
	width: 100%;
	max-height: 45px;
}

.logo img {
	width: 80%;
	max-width: 180px;
	min-width: 140px;
}

.menu-btn {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	font-size: clamp(1rem, 1.5vw, 1.25rem);
	flex-basis: 15%;
}

.menu-btn button {
	display: flex;
	background-color: transparent;
	flex-basis: 15%;
	cursor: pointer;
}

.menu-btn button img {
	width: 90%;
	max-width: 36px;
	min-width: 28px;
}

/* ------------------------- */

main {
	height: calc(100dvh - 70px);
	display: flex;
	justify-content: center;
	align-items: center;
	background-image: url('../imgs/bg.svg');
	background-position: right 50%;
	background-repeat: no-repeat;
	background-size: 35%;
}

main .maintain-section {
	display: flex;
	justify-content: center;
	align-items: center;
}

main .maintain-section .card {
	max-width: 90%;
	max-height: 70%;
	background-color: var(--textColor);
	border-radius: 60px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	padding: 2rem;
}

main .maintain-section .card h2 {
	color: var(--bg-color);
	text-align: center;
	font-weight: 600;
	direction: rtl;
	font-size: clamp(1.5rem, 2vw, 1.75rem);
}

main .maintain-section .card > h2{
	margin-bottom: 10px;
}

main .card > img {
	width: 100%;
	margin-bottom: 7%;
}

main .contacts {
	display: flex;
	gap: 10px;
	justify-content: center;
	align-items: center;
  flex-direction: row-reverse;
}

main .contacts .icons {
	display: flex;
	gap: 3px;
	justify-content: center;
	align-items: center;
}

main .contacts .icons img {
	width: 30px;
	max-width: 2rem;
}

@media (max-width: 992px) {
	main .maintain-section .card {
		width: 80%;
		max-width: none;
		min-width: none;
	}
}

@media (max-width: 768px) {
	main .contacts {
		flex-direction: column;
	}
}

@media (max-width: 576px) {
	main .maintain-section .card {
		max-width: 98%;
	}
}
