:root {
  --brand-color1: #075b2b;
  --brand-color2: #0c9548;
  --title-size: 64px;
  --subtitle-size: 28px;
  --text-size: 22px;
}

.library-app__title::before,
.library-info__title::before,
.library-info__mail::before,
.library-info__phone::before {
  content: "";
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.wrapper {
  width: 100%;
  background-color: #f6f6fa;
  box-sizing: border-box;
  font-family: "Jost", sans-serif;
  color: #14203c;
}

header {
  background-color: transparent !important;
}

.library-container {
  max-width: 1100px;
  margin: auto;
}

.library-header {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.library-header__title {
  font-weight: 800;
  font-size: var(--title-size);
  width: 50%;
  margin: 40px 0px 70px 20px;
  /* font-family: "GT Walsheim Pro Bold"; */
  line-height: 1;
}

.library-header__title span {
  color: var(--brand-color1);
  font-weight: 400;
}

.library-header__baner {
  width: 50%;
  position: absolute;
  bottom: 0;
  right: 0;
}

@media (max-width: 1440px) {
  :root {
    --title-size: 60px;
  }
}

@media (max-width: 1100px) {
  :root {
    --title-size: 45px;
    --subtitle-size: 20px;
    --text-size: 16px;
  }
}

@media (max-width: 540px) {
  :root {
    --title-size: 24px;
    --subtitle-size: 16px;
    --text-size: 14px;
  }
}

@media (max-width: 768px) {

  .library-header,
  .library-app,
  .library-info {
    flex-direction: column;
    align-items: center;
  }

  .library-header__baner {
    position: static;
    width: 90%;
  }

  .library-header__title {
    width: 80%;
    text-align: center;
    margin-bottom: 30px;
  }
}

.library-container {
  font-size: var(--text-size);
}

h2 {
  font-size: 40px;
}

.library-description {
  font-weight: 300;
  font-size: var(--text-size);
  line-height: 150%;
  letter-spacing: 0.02em;
}

.library-description p {
  margin: 0;
}

.library-description ul li {
  margin-bottom: 1em;
  text-indent: 1.4em;
  position: relative;
  line-height: 1;
  font-weight: 300;
  font-size: var(--text-size);
}

.library-description ul {
  margin-top: 1em;
}

.library-description ul li::marker {
  color: var(--brand-color1);
}

@media (max-width: 833px) {

  h1,
  h2 {
    font-size: 16px;
    line-height: 120%;
  }

  p {
    font-size: 12px;
    line-height: 160%;
  }
}

.library-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: minmax(100px, auto) 1fr;
  grid-template-areas:
    "web-title entity-title"
    "web-body entity-body";
  grid-row-gap: 10px;
  grid-column-gap: 70px;
  padding-bottom: 110px;
}

.library-info__title {
  min-height: 100px;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.library-app__title,
.library-info__title {
  font-size: var(--subtitle-size);
  font-weight: 800;
  position: relative;
  padding-left: 80px;
  /* margin-bottom: 30px; */
}

.library-info__title.web {
  grid-area: inherit;
}

.library-info__title::before {
  content: "";
  background-image: url(../images/info/web.svg);
  --size: 55px;
  width: var(--size);
  height: var(--size);
}

.library-info__title.entity::before {
  background-image: url(../images/info/thumb_up.svg);
  --size: 55px;
  width: var(--size);
  height: var(--size);
}

.library-info__list.web {
  grid-area: web-body;
}

.library-info__list {
  border: 1px solid var(--brand-color2);
  border-radius: 25px;
}

.library-info__entity-body {
  background-color: var(--brand-color2);
  color: #fff;
  border-radius: 30px;
}

.library-info__entity-body,
.library-info__list {
  padding: 2em;
}

.library-info__text {
  font-size: var(--text-size);
  margin-bottom: 1.2em;
}

.library-list li {
  margin-bottom: 1em;
  text-indent: 1.4em;
  position: relative;
  max-width: 440px;
}

.library-list .documentary-link {
  line-height: 1.3;
  font-size: var(--text-size);
}

.documentary-link:hover {
  color: var(--brand-color1);
}

.documentary-link {
  color: #000;
  transition: color 0.2s ease-in-out;
  text-decoration: none;
}

.library-description li::before,
.library-list li::before {
  position: absolute;
  content: "";
  top: 6px;
  left: 10px;
  --size: 6px;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background-color: var(--brand-color1);
}

.library-list li {
  margin-bottom: 1em;
  text-indent: 1.4em;
  position: relative;
  line-height: 1.3;
  font-size: var(--text-size);
  max-width: 440px;
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.library-info__mail::before {
  background-image: url(../images/info/mail_icon.svg);
  top: 0.8em;
}

.library-info__phone::before {
  background-image: url(../images/info/phone_icon.svg);
}

.library-info__mail::before,
.library-info__phone::before {
  --size: 30px;
  width: var(--size);
  height: var(--size);
  left: 0.8em;
}

.library-info__entity-body a {
  color: #fff;
  text-decoration: none;
  display: block;
}

.library-info__mail,
.library-info__phone {
  position: relative;
  padding-left: 70px;
  font-weight: 700;
  margin-bottom: 1em;
}

@media (max-width: 768px) {
  .library-info {
    justify-content: center;
    align-items: center;
    grid-template-columns: 1fr;
    grid-row-gap: 10px;
    grid-template-rows: auto 1fr auto 1fr;
    grid-template-areas:
      "web-title"
      "web-body"
      "entity-title"
      "entity-body";
  }
}

.library-description h2,
.library-description h3 {
  margin-bottom: 1em;
}

.library-description p {
  font-weight: 300;
  font-size: var(--text-size);
}

.library-description a {
  color: #000;
  transition: color 0.2s ease-in-out;
  text-decoration: none;
}

.library-description a:hover {
  color: var(--brand-color1);
}