.ecosystem {
  padding-top: 190px;
}
@media screen and (max-width: 850px) {
  .ecosystem {
    padding-top: 140px;
  }
}
.ecosystem .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ecosystem .container .bread_crumbs, .ecosystem .container .h2 {
  margin-bottom: 20px;
}
.ecosystem .container .ecosystem_content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 20px;
}
@media screen and (max-width: 1250px) {
  .ecosystem .container .ecosystem_content {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media screen and (max-width: 1050px) {
  .ecosystem .container .ecosystem_content {
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (max-width: 650px) {
  .ecosystem .container .ecosystem_content {
    gap: 12px;
  }
}
.ecosystem .container .ecosystem_content .item {
  border-radius: 20px;
  background: #fff;
  padding: 30px;
  height: 248px;
  position: relative;
  cursor: pointer;
  transition: 0.3s;
}
@media screen and (max-width: 650px) {
  .ecosystem .container .ecosystem_content .item {
    padding: 12px;
    height: 160px;
  }
}
.ecosystem .container .ecosystem_content .item .icon {
  filter: grayscale(100%);
  transition: 0.3s;
}
@media screen and (max-width: 650px) {
  .ecosystem .container .ecosystem_content .item .icon {
    width: 60px;
  }
}
.ecosystem .container .ecosystem_content .item .text {
  font-weight: 400;
  font-size: 24px;
  line-height: 120%;
  color: #0c0f29;
  margin-top: 16px;
  transition: 0.3s;
  max-width: 330px;
}
@media screen and (max-width: 650px) {
  .ecosystem .container .ecosystem_content .item .text {
    font-size: 14px;
  }
}
.ecosystem .container .ecosystem_content .item .arrow_container {
  padding: 15px 15px 20px 20px;
  border-radius: 10px;
  width: 60px;
  height: 60px;
  background: #dfdfdf;
  position: absolute;
  top: 40px;
  right: 40px;
  transition: 0.3s;
}
@media screen and (max-width: 650px) {
  .ecosystem .container .ecosystem_content .item .arrow_container {
    width: 45px;
    height: 45px;
    top: 20px;
    right: 20px;
    padding: 10px;
  }
}
.ecosystem .container .ecosystem_content .item .arrow_container img {
  transition: 0.3s;
}
.ecosystem .container .ecosystem_content .item:hover {
  box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.1);
}
.ecosystem .container .ecosystem_content .item:hover img {
  filter: none;
}
.ecosystem .container .ecosystem_content .item:hover p {
  color: #cb1514;
}
.ecosystem .container .ecosystem_content .item:hover .arrow_container {
  background: #cb1514;
}
.ecosystem .container .ecosystem_content .item:hover .arrow_container img {
  transform: translate(5px, -5px);
}
.ecosystem .ecosystem_popup_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  visibility: hidden;
  transition: background 0.3s ease, visibility 0.3s;
}
.ecosystem .ecosystem_popup_overlay.active {
  visibility: visible;
  background: rgba(0, 0, 0, 0.5);
}
.ecosystem .ecosystem_popup_overlay.active .ecosystem_popup {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.ecosystem .ecosystem_popup {
  background: #fff;
  border-radius: 20px;
  max-width: 800px;
  max-height: 700px;
  overflow-y: auto;
  width: 90%;
  padding: 40px;
  position: relative;
  transform: translateY(30px) scale(0.95);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  border: 1px solid #d7d9e0;
}
@media screen and (max-width: 650px) {
  .ecosystem .ecosystem_popup {
    padding: 80px 20px 20px;
    width: 100%;
    height: 100vh;
    border: none;
    border-radius: 0;
    max-width: none;
    max-height: none;
  }
}
.ecosystem .ecosystem_popup::-webkit-scrollbar {
  padding: 20px;
  width: 4px;
}
.ecosystem .ecosystem_popup::-webkit-scrollbar-track {
  background: #afb0b8;
}
.ecosystem .ecosystem_popup::-webkit-scrollbar-thumb {
  background: #cb1514;
}
.ecosystem .ecosystem_popup_title {
  font-family: "Bebas Neue Cyrillic", sans-serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 120%;
  letter-spacing: 0.03em;
  color: #0c0f29;
  margin-bottom: 40px;
  max-width: 90%;
}
@media screen and (max-width: 650px) {
  .ecosystem .ecosystem_popup_title {
    font-size: 26px;
    margin-bottom: 20px;
  }
}
.ecosystem .ecosystem_popup_close {
  background: none;
  border: none;
  font-size: 90px;
  font-weight: 100;
  cursor: pointer;
  color: #cb1514;
  transition: 0.3s;
  position: absolute;
  top: 10px;
  right: 40px;
}
.ecosystem .ecosystem_popup_close:hover {
  color: #931310;
}
@media screen and (max-width: 850px) {
  .ecosystem .ecosystem_popup_close {
    font-size: 60px;
  }
}
.ecosystem .ecosystem_popup_description {
  font-weight: 200;
  font-size: 16px;
  line-height: 140%;
  color: #1c1c1d;
  margin-bottom: 40px;
}
.ecosystem .ecosystem_popup_description .paragraph {
  display: flex;
  gap: 8px;
}
@media screen and (max-width: 850px) {
  .ecosystem .ecosystem_popup_description {
    font-size: 14px;
  }
}
.ecosystem .ecosystem_popup_buttons {
  display: flex;
  gap: 30px;
}
@media screen and (max-width: 650px) {
  .ecosystem .ecosystem_popup_buttons {
    flex-direction: column;
    gap: 10px;
  }
}
.ecosystem .ecosystem_popup_buttons .button {
  width: 100%;
}
.ecosystem .ecosystem_popup_buttons .button.question {
  background: #afb0b8;
}
.ecosystem .ecosystem_popup_buttons .button.question:hover {
  background: #393d42;
}/*# sourceMappingURL=ecosystem.css.map */