html {
  box-sizing: border-box;

  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

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

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;

  object-fit: cover;
}

body {
  min-width: 320px;
  margin: 0;
  padding: 0;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: black;
  background: linear-gradient(90deg,
  rgba(255, 255, 255, 0) 1.8em),
  linear-gradient(rgba(255, 255, 255, 0) 1.9em, rgba(0, 0, 0, .15) 2em) 0 0;
  background-color: rgba(24, 54, 67, .22);
  background-size: 2em 2em;

  overflow-wrap: break-word;
}

.container {
  width: 100%;
  max-width: 1330px;
  margin: 0 auto;
  padding: 0 15px;
}

.section {
  padding: 40px 0;
}

.main-title {
  margin: 0;
  font-size: clamp(1.5rem, 1.342rem + .79vw, 2rem);
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: clamp(1.125rem, 1.046rem + .4vw, 1.375rem);
  font-weight: 500;
  line-height: 1.2;
  color: white;
  text-align: center;
  background-color: black;
  cursor: pointer;
  transition: background-color .3s ease-out;
}

.btn:focus {
  outline: none;
}

.btn--green {
  background-color: green;
}

.btn--green:focus-visible {
  background-color: rgb(0, 170, 0);
}

.btn--green:hover {
  background-color: rgb(0, 170, 0);
}

.btn--blue {
  background-color: rgb(25, 39, 192);
}

.btn--blue:focus-visible {
  background-color: blue;
}

.btn--blue:hover {
  background-color: blue;
}

/* ----------------------------------------------- */
.home-library {
  overflow: hidden;
}

.home-library__container {
  display: flex;
  flex-direction: column;
  max-width: 1030px;
  padding-left: 25px;

  row-gap: 15px;
}


.home-library__main-title {
  margin: 0 0 00px;
}

.home-library__btns-wrap {
  margin: 0 0 20px;
  display: flex;
  align-items: center;

  gap: 20px;
}

.home-library__list {
  position: relative;
  display: flex;
  flex-direction: column;
  counter-reset: example 0;
  gap: 10px;
}

.home-library__list::before {
  content: "";
  position: absolute;
  top: 0;
  left: -20px;
  width: 25px;
  height: 100%;
  background-image: url("icon-paragraf.svg"), url("icon-paragraf.svg"), url("icon-paragraf.svg");
  background-repeat: repeat-y;
  background-position: center 0, center 5px, center 10px;
  background-size: 35px 60px;
}

.home-library__item {
  padding: 10px 10px 0;
  display: flex;
  align-items: center;
  font-size: clamp(1.125rem, 0.967rem + 0.79vw, 1.625rem);
  counter-increment: example 1;

  column-gap: 5px;
  transition: background-color 0.3s ease-out, transform 0.3s ease-out;
}

.home-library__item--finded {
  background-color: gold;
  transform: translateX(20px);
}

.home-library__item:hover {
  background-color: gold;
  transform: translateX(20px);
}

.home-library__item::before {
  content: counter(example) ")";
  font-size: 16px;
}
