@import "normalize.css";

h1,
h2,
h3,
h4,
h5,
h6,
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 #8BD74B;
  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: #8BD74B url("assets/icons/Content.svg") 12px center no-repeat;
  border-bottom-right-radius: 16px;
}

.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-description p:not(:last-child),
.card-description ul:not(:last-child) {
  margin-bottom: 12px;
}

.card-description strong {
  font-weight: 600;
  font-size: 18px;
}

.card-description ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.card-description ul li {
  position: relative;
  padding-left: 12px;
}

.card-description ul li::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #8BD74B;
}

.card-description ul li:not(:last-child) {
  margin-bottom: 8px;
}

.card-image-wrapper {
  flex-shrink: 0;
  margin-left: 40px;
  width: 260px;
  padding: 30px 30px 0;
}

.card-image {
  display: block;
  height: auto;
  border-radius: 50%;
  width: 100%;
  max-width: 175px;
}

.card_xl .card-image-wrapper {
  width: 300px;
}

.flex-end {
  display: flex;
  justify-content: end;
}

/*************** Topics ***************/

.topics-wrapper {
  position: relative;
  padding: 40px 32px 0px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(121, 140, 157, 0.16);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

.topics-wrapper-space{
  height: 40px;
}

/*************** Badge ***************/
.badge {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-block;
  padding: 8px 16px 8px 12px;
  border-bottom-right-radius: 16px;
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  background: #8BD74B;
  color: #FFFFFF;
}


/*************** Verse ***************/
.verse {
  display: flex;
  flex-direction: column;
  gap: 42px;
}

.verse-text {
  max-width: 182px;
  width: 100%;

  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #183B59;
}

.verse-author {
  font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #8BD74B;
}

.gap-10{
  gap: 10px;
}

/*************** Text-column ***************/

.text-column{
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;

  align-items: center;

  gap: 60px;

  padding: 40px 32px;
}

.img-radius{
  border-radius: 50%;
}

/*************** Response ***************/

@media all and (max-width: 1487px) {

  .eom-wrapper,
  .eom-body {
    padding: 16px;
  }

  .card {
    padding: 48px 30px 40px 24px;
    margin-bottom: 24px;
  }

  .card-image {
    width: 160px !important;
    height: 160px !important;
  }

  .card-image-wrapper {
    padding: 20px 0 0;
    width: 160px !important;
    margin-left: 46px;
  }

  .topics-wrapper-space{
    height: 24px;
  }

  .text-width {
    max-width: 648px;
  }

  .footer-eom-body-padding {
    height: 56px;
  }

  .footer-eom {
    margin: 0 -16px -16px;
  }

}

@media all and (max-width: 1024px) {
  .card-image-wrapper {
    width: 100px !important;
  }

  .card-image {
    width: 100px !important;
    height: 100px !important;
  }

  .text-column {
    gap: 24px;
  }

  .text-width {
    max-width: 100%;
  }

  .img1 {
    width: 201px;
  }

  .img2 {
    width: 176px;
  }
  
  .text-column-wrap {
    padding-left:0;
    padding-right: 0;
  }
}

  /* ЭТОТ КУСОК КОДА БЫЛ ДОБАВЛЕН АВТОМАТИЧЕСКИ ДЛЯ ПОДДЕРЖКИ СУРЦОК, НЕ УДАЛЯТЬ */

  .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;
  }
}
