/* MIDDLE SECTION */
.section-middle {
  padding: 56px 0 112px;
}

.middle {
  display: flex;
  padding: 62px;
}

.container2 {
  display: none;
  justify-items: center;
  align-items: center;
  flex-direction: column;
  padding-left: 10px;
  padding-right: 10px;
  width: 75%;
}

.active-content {
  display: flex;
}

.card {
  background-color: var(--card-color);
  display: grid;
  grid-template:
    "a"
    "b";
  border-radius: 16px;
  height: 240px;
  width: 100%;
  cursor: pointer;
  padding: 32px;
  color: #000;
  border: none;
}

.card-content-1 {
  display: flex;
  flex-direction: row;
}

.card-content-2 {
  display: flex;
  flex-direction: column-reverse;
  text-align: left;
  font-size: 22px;
  font-weight: 500;
  line-height: 26.4px;
}

.card-icon-container {
  background-color: #ffffff;
  border-radius: 8px;
  height: 56px;
  width: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon {
  width: 24px;
  height: 24px;
}

.carrousel-container {
  width: 100%;
  height: 288px;
  position: relative;
  display: flex;
  flex-direction: column-reverse;
}

.swiper-container {
  width: 100%;
  height: 240px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.swiper-wrapper {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  flex-direction: row;
}

.swiper-button-custom {
  position: absolute;
  width: auto;
  z-index: 10;
  cursor: pointer;
  color: #000;
}

.swiper-button-next-custom {
  right: 0px;
  top: 0px;
}

.swiper-button-prev-custom {
  right: 44px;
  top: 0px;
}

.swiper-button-hidden {
  display: none;
}

.swiper-button-disabled {
  color: #DBE3E7 !important;
  cursor: auto;
}

.nav-side {
  width: 25%;
  display: flex;
  justify-items: center;
  flex-direction: column;
  padding-right: 32px;
}

.list-side {
  display: flex;
  justify-items: center;
  flex-direction: column;
  padding-left: 20px;
  padding-right: 20px;
  margin-bottom: 0;
  height: 100%;
}

.list-element {
  margin-bottom: 5px;
  background-color: #F5F6F7;
  border-radius: 8px;
  height: 42px;
  display: flex;
  align-items: center;
  padding-left: 10px;
  padding-right: 2px;
  cursor: pointer;
}

.last-list-element {
  margin-bottom: 0px;
}

.list-element:hover {
  background-color: #DCEFF9;
}

.h1-side {
  color: #0FB6D7;
  margin-top: 24px;
  padding: 0 8px 0 8px;
  margin-bottom: 10px;
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.nav-link {
  color: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.nav-link:hover {
  color: inherit;
}

.active-list-link {
  background: var(--side-list-color) !important;
  cursor: default;
  color: #ffffff !important;
}

.text-middle {
  margin-bottom: 16px;
}

.h1-middle {
  color: #000000;
  margin-bottom: 16px;
  font-size: 36px;
  line-height: 54px;
  font-weight: 500;
}

.p-middle {
  font-weight: 400;
}


.img-middle-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-content: center;
  margin-bottom: 16px;
}

.img-middle {
  width: 50%;
}

.mobile-nav-container {
  border-radius: 16px;
  display: none;
  background-color: #1F1F24;
}

.mobile-nav-menu {
  display: grid;
  grid-template:
    "a b c" / 20% 60% 20%;
  color: #fff;
  height: 42px;
}

.arrow-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mobile-nav-title {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

@media (max-width: 768px) {

  .nav-side {
    display: none;
  }

  .container2 {
    width: 100%;
  }

  .middle {
    flex-direction: column;
  }

  .mobile-nav-container {
    border-radius: 16px;
    display: block;
  }

  .active {
    display: flex !important;
  }

  .list-mobile {
    display: none;
    flex-direction: column;
    padding-right: 2rem;
  }

  .active-list-link {
    color: #fff;
  }

  .container2 {
    padding-top: 8px;
  }

}

.color-black {
  color: #000 !important;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(55, 54, 54, 0.7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: white;
  border-radius: 25px;
  box-shadow: 0 0 10px rgba(55, 55, 55, 0.7);
  width: 100%;
  max-width: 70vw;
  position: relative;
  margin: 1rem;
}

.open-modal {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.open-modal {
  display: flex;
}

.show {
  display: flex;
}

.hide {
  display: none;
}