html {
	font-family: Ubuntu, Arial, sans-serif;
	font-weight: 400;
}

*,
*::before,
*::after {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

body {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	min-width: 375px;
	min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
	margin: 0;
}

a {
	text-decoration: none;
}

img {
	max-width: 100%;
	height: auto;
	-o-object-fit: cover;
	object-fit: cover;
}

a,
button {
	outline: none;
}

.container {
	max-width: 1250px;
	padding: 0 15px;
	margin: 0 auto;
}

.text {
	font-weight: 400;
	font-size: 16px;
	line-height: 1.3;
	color: #535755;
}

.button {
	display: inline-block;
	padding: 19px 32px;
	background-color: #3596ed;
	font-weight: 500;
	font-size: 15px;
	line-height: 1.3;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	text-align: center;
	color: #fff;
	-webkit-transition: opacity 0.2s, background-color 0.2s;
	-o-transition: opacity 0.2s, background-color 0.2s;
	transition: opacity 0.2s, background-color 0.2s;
}

.button:hover {
	opacity: 0.85;
}

.button:not(:disabled):active {
	background-color: #2d82cd;
}

button.button:disabled {
	opacity: 0.65;
	cursor: default;
}

.section {
	margin-bottom: 140px;
}

.title-large {
	max-width: 596px;
	margin-bottom: 40px;
	font-family: "Oswald", sans-serif;
	font-weight: 600;
	font-size: 48px;
	line-height: 1.15;
	text-transform: uppercase;
	color: #2c332f;
}

.title-medium {
	font-family: "Oswald", sans-serif;
	font-weight: 500;
	font-size: 24px;
	line-height: 1.15;
	text-transform: uppercase;
	color: #2c332f;
}

.text-sub {
	font-weight: 300;
	font-size: 14px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-align: right;
	color: #858e8a;
}

.decor::before {
	content: "";
	position: absolute;
	z-index: -1;
	width: calc(50% - 250px);
	height: 48px;
	background: url(../img/decor-icon.svg) repeat-x;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
	outline: 2px solid #3596ed;
	outline-offset: 1px;
}

/* ================================================== */
/* ================================================== */
/* ================================================== */

/* 
1200px
992px
768px
576px
375px
320px
*/

@media (width <= 992px) {
	.container {
		max-width: 768px;
	}
}

@media (width <= 768px) {
	.container {
		max-width: 576px;
	}

	.title-large {
		font-size: 40px;
		margin-bottom: 30px;
	}

	.home-page .title-large {
		max-width: inherit;
		text-align: center;
	}

	.title-medium {
		font-size: 22px;
	}
}

@media (width <= 576px) {
	.section {
		margin-bottom: 80px;
	}

	.title-large {
		font-size: 32px;
	}

	.title-medium {
		font-size: 18px;
	}
}
