.library-top {
  width: calc(100% - 100px);
  display: flex;
  align-items: center;
  margin: 50px auto;
  justify-content: space-between;
}
.library-top h1 {
  margin: 0;
  padding: 0;
}
.library-top select {
  width: 300px;
  height: 50px;
  cursor: pointer;
  background: var(--grey, #F2F3F4);
}

.library {
  width: calc(100% - 100px);
  margin: 30px auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  -moz-column-gap: 30px;
       column-gap: 30px;
  row-gap: 40px;
}
.library .library-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 450px;
  border-radius: 10px;
  transition: all ease 0.3s;
}
.library .library-card:hover {
  transform: scale(1.1);
}
.library .library-card img {
  width: 200px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0px 44.219997406px 55.2749938965px 0px rgba(0, 0, 0, 0.15);
}
.library .library-card div {
  max-width: 200px;
  margin-bottom: 20px;
}
.library .library-card h3 {
  color: var(--primery-colors-black-main, #202530);
  text-overflow: ellipsis;
  font-size: 25px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.library .library-card h4 {
  overflow: hidden;
  color: var(--primery-colors-black-main, #202530);
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  opacity: 0.5;
}
.library .library-card button {
  width: 200px;
  padding: 10px 0;
  border-radius: 10px;
  background: var(--green, #53C661);
  color: var(--white, #FFF);
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

@media (max-width: 1260px) {
  .library {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}
@media (max-width: 1040px) {
  .library {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 820px) {
  .library-card:hover {
    transform: none !important;
  }
}
@media (max-width: 768px) {
  .library-top {
    width: calc(100% - 60px);
  }
  .library-top select {
    width: -moz-fit-content;
    width: fit-content;
    font-size: 15px;
  }
  .library {
    width: calc(100% - 60px);
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 510px) {
  .library-card {
    height: 380px !important;
  }
  .library-card img {
    width: 130px !important;
  }
  .library-card div {
    max-width: 130px !important;
  }
  .library-card h3 {
    text-align: start !important;
    font-size: 15px !important;
  }
  .library-card h4 {
    text-align: start !important;
    font-size: 13px !important;
  }
  .library-card button {
    width: 130px !important;
  }
}
@media (max-width: 375px) {
  .library {
    grid-template-columns: 1fr;
    -moz-column-gap: 0;
         column-gap: 0;
    row-gap: 20px;
  }
  .library-card {
    height: 450px !important;
  }
  .library-card img {
    width: 200px !important;
  }
  .library-card div {
    max-width: 200px !important;
  }
  .library-card h3 {
    font-size: 20px !important;
  }
}/*# sourceMappingURL=style.css.map */