@import 'normalize.css';

h1,
h2,
h3,
h4,
h5,
h6,
dl,
p {
	margin: 0;
	padding: 0;
}

body {
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	line-height: 24px;
	font-weight: 400;
	color: #183b59;
}

/*************** Eom wrapper ***************/

.eom-wrapper {
	padding: 24px;
	background: #f8fcff;
}

.eom-body {
	padding: 32px;
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 8px 32px rgba(121, 140, 157, 0.12);
}

.eom-container {
	max-width: 1376px;
}

/*************** Card ***************/

.card *,
.card *::before,
.card *::after {
	box-sizing: border-box;
}

.card {
	position: relative;
	padding: 40px 64px;
	border-top: 2px solid #3f8cff;
	border-radius: 0 0 24px 24px;
	background: #f2f2f2;
	color: #183b59;
	font-size: 16px;
	line-height: 24px;
	font-weight: 400;
	margin-bottom: 40px;
}

.card-label {
	position: absolute;
	top: 0;
	left: 0;
	width: 60px;
	height: 40px;
	background: #3f8cff url('assets/icons/menu.svg') center no-repeat;
	border-bottom-right-radius: 16px;
}

.card-label_text {
	background-image: url('assets/icons/text.svg');
}

.card-content {
	display: flex;
	justify-content: space-between;
}

.card-about {
	max-width: 800px;
}

.card-title {
	margin-bottom: 12px;
	font-weight: 600;
	font-size: 32px;
	line-height: 40px;
}

.card-image-wrapper {
	flex-shrink: 0;
	margin-left: 40px;
	width: 180px;
	padding: 30px 30px 0;
}

.card-image {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 50%;
}

.card_blue {
	border-color: #3f8cff;
}

.card_blue .card-label,
.card_blue .text-wrapper ul li::before {
	background-color: #3f8cff;
}

.card_blue .text-wrapper a {
	color: #3f8cff;
}

.card-text {
	margin-bottom: 12px;
}

/*************** Text wrapper ***************/

.text-wrapper {
	font-size: 16px;
	line-height: 24px;
	font-weight: 400;
}

.text-wrapper h1:not(:last-child),
.text-wrapper h2:not(:last-child),
.text-wrapper h3:not(:last-child) {
	margin-bottom: 16px;
}

.text-wrapper h3 {
	font-weight: 600;
	font-size: 24px;
	line-height: 32px;
}

.text-wrapper h5 {
	font-weight: 600;
	font-size: 18px;
}

.text-wrapper h4:not(:last-child),
.text-wrapper h5:not(:last-child),
.text-wrapper h6:not(:last-child),
.text-wrapper p:not(:last-child),
.text-wrapper ul:not(:last-child) {
	margin-bottom: 12px;
}

.text-wrapper strong {
	font-weight: 600;
	font-size: 18px;
}

.text-wrapper ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.text-wrapper ul li {
	position: relative;
	padding-left: 12px;
}

.text-wrapper ul li::before {
	content: '';
	position: absolute;
	top: 10px;
	left: 0;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background-color: #3f8cff;
}

.text-wrapper ul li:not(:last-child) {
	margin-bottom: 8px;
}

.text-wrapper_blue ul li::before {
	background-color: #3f8cff;
}

/*************** Construction card ***************/

.construction-card {
	display: flex;
	border: 1px solid #ebf4fd;
	box-shadow: 0 2px 12px rgba(121, 140, 157, 0.16);
	border-radius: 8px;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	background: #ffffff;
	box-sizing: border-box;
	padding: 32px;
	padding-bottom: 56px;
}

.construction-card-title {
	font-weight: 600;
	font-size: 24px;
	line-height: 32px;
	color: #183b59;
	margin-bottom: 16px;
}

.construction-card-description {
	margin-bottom: 42px;
}

.construction-card-column-text{
	max-width: 800px;
}
.text_p{
	margin-bottom: 32px;
}
.text_p span{
	font-weight: bold;
}
.text_title{
	font-size: 24px;
	line-height: 32px;
	margin-bottom: 16px;
}
/************************************************/
/******************* ADAPTIVE *******************/
/************************************************/

@media (max-width: 1487px) {
	.eom-wrapper {
		padding: 16px;
	}

	.eom-body {
		padding: 16px;
	}

	.eom-container {
		max-width: 100%;
	}

	.card {
		padding: 40px 0 40px 24px;
		margin-bottom: 24px;
	}

	.card-image-wrapper {
		width: 180px;
		margin-left: 16px;
	}

	.card-about {
		padding-top: 8px;
	}

	.construction-card-column{
		flex-direction: column;
		width: 100%;
		margin: 0;
	}

	.construction-card{
		flex-direction: column;
		width: 100%;
		padding-bottom: 32px;
	}
}

  /* ЭТОТ КУСОК КОДА БЫЛ ДОБАВЛЕН АВТОМАТИЧЕСКИ ДЛЯ ПОДДЕРЖКИ СУРЦОК, НЕ УДАЛЯТЬ */

  .eom-body {
    max-width: 1320px;
    margin: 0 auto;
    box-sizing: border-box;
  }

  @media (max-width: 1400px) {
    .eom-body {
      max-width: 1140px;
    }
  }

  @media (max-width: 1200px) {
    .eom-body {
      max-width: 992px;
    }
  }

  @media (max-width: 1024px) {
    .eom-body {
      max-width: 720px;
    }
  }

  /* КУСОК КОДА СВЕРХУ БЫЛ ДОБАВЛЕН АВТОМАТИЧЕСКИ ДЛЯ ПОДДЕРЖКИ СУРЦОК, НЕ УДАЛЯТЬ */


/** Adaptive Overlay **/

.adaptive-overlay {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  background-color: #ffffff;
}

.adaptive-overlay-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 408px;
  height: 270px;
}

.adaptive-overlay-content p {
  text-align: center;
  font-family: 'Inter';
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #183b59;
  margin-top: 24px;
}

@media (min-width: 844px) {
  .adaptive-overlay {
    display: none;
  }
}

@media (max-width: 843px) {
  body {
    overflow: hidden;
  }
}
