:root {
	/* T E X T - C O L O R S */
	--navigation-text-color: rgba(149, 225, 211, 1);
	--hover-text-color: rgba(243, 129, 129, 1);
	--titles-color: rgba(51, 51, 51, 1);
	--paragraph-color: rgba(182, 182, 182, 1);
	--footer-description-color: rgba(0, 0, 0, 1);

	/* B G - C O L O R S */
	--background-color: rgba(255, 255, 255, 1);

	/* F O N T S */
	--first-font: 'Montserrat', sans-serif;
	--second-font: 'Roboto', sans-serif;
	--third-font: 'Kaushan Script', sans-serif;
}

* {
	box-sizing: border-box;
}

a {
	text-decoration: none;
}

ul {
	list-style: none;
}

body {
	font-family: var(--first-font);
}

.container {
	width: 1200px;
	margin: 0 auto;
}
.service-subtitle,
.about-subtitle {
	color: var(--titles-color);
	font-family: var(--third-font);
	font-size: 24px;
	text-align: center;
}

.title {
	color: var(--titles-color);
	text-transform: uppercase;
	font-weight: 700;
	font-size: 30px;
	text-align: center;
}
.title::after {
	display: block;
	content: '';
	width: 60px;
	height: 4px;
	background-color: var(--hover-text-color);
}

/* H E A D E R */
.header {
	padding-top: 17px;
}

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

.header-list {
	display: flex;
	gap: 55px;
}

.header-link {
	color: var(--navigation-text-color);
	font-size: 14px;
	text-transform: uppercase;
}

.header-link:hover {
	color: var(--hover-text-color);
	padding-bottom: 10px;
	border-bottom: 3px solid var(--hover-text-color);
}

.header-logo {
	font-size: 30px;
	font-weight: 700;
	color: var(--navigation-text-color);
}

/* S E R V I C E S  */

.service {
	padding-top: 68px;
}

.service-list {
	row-gap: 100px;
	display: flex;
	column-gap: 70px;
	flex-wrap: wrap;
}
.service-item {
	flex-basis: calc((100% - 140px) / 3);
	gap: 20px;
	display: flex;
}
.service-title {
	padding-top: 20px;
}
.service-title::after {
	margin: 40px auto 65px;
}
.service-wrapper-title {
	font-family: var(--first-font);
	padding-bottom: 20px;
	color: var(--titles-color);
	font-size: 14px !important;
	text-transform: uppercase;
}
.service-wrapper-description {
	color: var(--paragraph-color);
	font-size: 15px;
	font-family: var(--second-font);
	line-height: 22px;
}
.service-icon {
	flex-shrink: 0;
	width: 37px;
	fill: var(--navigation-text-color);
	height: 37px;
}

/* A B O U T */
.about {
	text-align: center;
	padding-bottom: 80px;
	padding-top: 100px;
}

.about-title {
	padding-top: 17px;
	font-size: 30px;
	font-weight: 700;
	font-variant: small-caps;
	color: var(--titles-color);
}
.about-title::after {
	margin: 36px auto 45px;
}

.about-description {
	padding: 0 48px 27px;
	color: var(--paragraph-color);
	font-family: var(--second-font);
	font-size: 15px;
}

.about-list {
	display: flex;
	gap: 30px;
}

.about-article {
	position: relative;
}

.about-article-name {
	color: var(--titles-color);
	font-size: 14px;
	font-variant: small-caps;
	padding: 30px 0 11px;
}

.about-article-role {
	font-family: var(--second-font);
	font-size: 15px;
	font-weight: 300;
	font-style: italic;
	color: var(--paragraph-color);
	margin: 0;
}

.about-article-overlay {
	display: none;
	position: absolute;
	top: -10px;
	left: -10px;
	width: 380px;
	height: 470px;
	background-image: linear-gradient(
		to bottom,
		rgba(239, 139, 138, 0.8),
		rgba(229, 207, 130, 0.8)
	);
	z-index: 2;
}

.about-article:hover .about-article-overlay {
	display: block;
}

/* F O O T E R */
.footer {
	padding-bottom: 10px;
}

.footer-container {
	padding-top: 10px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-top: 1px solid var(--paragraph-color);
}

.footer-copyright {
	color: var(--footer-description-color);
	font-size: 14px;
}

.footer-link {
	color: var(--hover-text-color);
	font-size: 14px;
}

.footer-form {
	display: flex;
	font-family: var(--second-font);
}

.footer-button {
	font-variant: small-caps;
	font-weight: 700;
	font-size: 14px;
	color: var(--background-color);
	background-color: var(--navigation-text-color);
	border-width: 0;
	width: 150px;
	height: 40px;
}

.footer-input {
	color: var(--paragraph-color);
	font-family: var(--second-font);
	font-style: italic;
	font-size: 14px;
	font-weight: 300;
	border-width: 1px;
	border-color: var(--paragraph-color);
	border-style: solid;
	padding: 12px 10px 11px 10px;
	width: 230px;
	height: 40px;
	border-right: none;
}

/* I C O N S */
use {
	fill: var(--navigation-text-color);
}
use:hover {
	fill: var(--hover-text-color);
}
