.modal {
  z-index: 9999;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  background-image: url(/images/texture.webp?5b90f413d55c58701c4d208de4791b02);
  display: none;
}
.modal.active {
  display: block !important;
}
.modal__container {
  overflow-y: scroll;
  max-width: 1000px !important;
  padding: 100px 20px !important;
  height: 100%;
}
@media (max-width: 600px) {
  .modal__container {
    padding: 40px 20px !important;
  }
}
.modal__title, .modal__subtitle {
  text-align: center !important;
}
.modal__title {
  padding-bottom: 10px !important;
}
.modal__subtitle {
  margin-bottom: 0 !important;
}
.modal__list {
  display: flex;
  padding: 60px 0 30px;
  justify-content: space-between;
  flex-wrap: wrap;
}
@media (max-width: 600px) {
  .modal__list {
    justify-content: center;
    padding: 50px 0;
  }
}
.modal__block {
  width: 180px;
  margin: 20px;
}
@media (max-width: 768px) {
  .modal__block {
    width: 140px;
  }
}
.modal__block:hover .modal__block-name {
  color: #e50012;
  transition: 0.5s;
}
.modal__block-link {
  display: flex;
  height: 100%;
  flex-direction: column;
}
.modal__block-icon {
  width: 180px;
  height: 180px;
  -o-object-fit: contain;
     object-fit: contain;
}
@media (max-width: 768px) {
  .modal__block-icon {
    width: 140px;
    height: 140px;
  }
}
.modal__block-name {
  color: #fff;
  text-align: center;
  padding-top: 20px;
  font-size: 18px;
  transition: 0.5s;
  margin-top: auto;
}
.modal__footer {
  width: -moz-fit-content;
  width: fit-content;
  margin: auto auto 0;
}
.modal__footer-text {
  text-align: center;
  font-weight: 250;
  font-size: 14px;
  line-height: 24px;
  color: #fff;
}
.modal__footer-btn {
  background: none;
  max-width: 199px !important;
  width: 100%;
  margin: 20px auto 0;
}
