.banner-modular-6 {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6rem 0;
  background-color: #f4f6f9;
}

.banner-modular-6 .card {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  width: 1396px;
  height: 800px;
  background-color: #121821;
  border-radius: 8px;
}

.banner-modular-6 .card .left-side {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.banner-modular-6 .card .left-side .left-side-upper-part {
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
}

.banner-modular-6 .card .left-side .left-side-upper-part .text-part {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.banner-modular-6 .card .left-side .left-side-upper-part .text-part h2 {
  font-size: 4rem;
  color: #edf1f7;
  line-height: 4.5rem;
}

.banner-modular-6 .card .left-side .left-side-upper-part .text-part p {
  font-size: 1rem;
  line-height: 1.375rem;
  color: #c9d6e8;
  width: 75%;
  font-weight: 400;
}

.banner-modular-6 .card .left-side .left-side-upper-part > a {
  width: 14.5rem;
  height: 4rem;
  background-color: #0047ff;
  color: white;
  text-decoration: none;
  font-size: 1.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-modular-6 .card .left-side .socials {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.banner-modular-6 .card .left-side .socials .title {
  font-size: 1.25rem;
  color: #f4f6f9;
}

.banner-modular-6 .card .left-side .socials .link-wrapper {
  display: flex;
  gap: 0.75rem;
}

.banner-modular-6 .card .left-side .socials .link-wrapper > a {
  border-radius: 50%;
  background-color: #f4f6f9;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-modular-6 .card .left-side .socials .link-wrapper > a > img {
  width: 1.4rem;
  height: 1.4rem;
  -o-object-fit: contain;
  object-fit: contain;
}

.banner-modular-6 .card .right-side > img {
  width: 768px;
  aspect-ratio: 1/1;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 4px;
}

.banner-modular-6 .card .socials-mobile {
  display: none;
}

@container (width < 1396px) {
  .banner-modular-6 {
    padding: 3rem 0;
  }

  .banner-modular-6 .card {
    justify-content: unset;
    flex-direction: column;
    padding: 1.5rem;
    width: 100%;
    height: unset;
    gap: 6rem;
  }

  .banner-modular-6 .card .left-side {
    padding: 4rem 0 0;
    justify-content: unset;
  }

  .banner-modular-6 .card .left-side .left-side-upper-part {
    align-items: center;
    width: 100%;
  }

  .banner-modular-6 .card .left-side .left-side-upper-part .text-part {
    align-items: center;
    width: 100%;
  }

  .banner-modular-6 .card .left-side .left-side-upper-part .text-part h2 {
    line-height: 4.125rem;
    text-align: center;
  }

  .banner-modular-6 .card .left-side .left-side-upper-part .text-part p {
    width: 82%;
    text-align: center;
  }

  .banner-modular-6 .card .left-side .left-side-upper-part > a {
    width: 18.5rem;
    height: 4.5rem;
    font-size: 1.5rem;
  }

  .banner-modular-6 .card .left-side .socials {
    display: none;
  }

  .banner-modular-6 .card .right-side > img {
    width: 100%;
  }

  .banner-modular-6 .card .socials-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 4.5rem;
  }

  .banner-modular-6 .card .socials-mobile .title {
    font-size: 1.5rem;
    color: #f4f6f9;
  }

  .banner-modular-6 .card .socials-mobile .link-wrapper {
    display: flex;
    gap: 1.5rem;
  }

  .banner-modular-6 .card .socials-mobile .link-wrapper > a {
    border-radius: 50%;
    background-color: #f4f6f9;
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .banner-modular-6 .card .socials-mobile .link-wrapper > a > img {
    width: 2.8rem;
    height: 2.8rem;
    -o-object-fit: contain;
    object-fit: contain;
  }
}

@container (width < 700px) {
  .banner-modular-6 .card {
    gap: 1.5rem;
  }

  .banner-modular-6 .card .left-side {
    padding: 1.5rem 0 2.5rem;
  }

  .banner-modular-6 .card .left-side .left-side-upper-part {
    gap: 4rem;
  }

  .banner-modular-6 .card .left-side .left-side-upper-part .text-part h2 {
    font-size: 3rem;
  }

  .banner-modular-6 .card .left-side .left-side-upper-part .text-part p {
    width: 85%;
  }

  .banner-modular-6 .card .left-side .left-side-upper-part > a {
    width: 15.25rem;
    height: 3rem;
    font-size: 1.25rem;
  }

  .banner-modular-6 .card .socials-mobile {
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .banner-modular-6 .card .socials-mobile .title {
    font-size: 1.25rem;
  }

  .banner-modular-6 .card .socials-mobile .link-wrapper {
    gap: 0.75rem;
  }

  .banner-modular-6 .card .socials-mobile .link-wrapper > a {
    width: 2rem;
    height: 2rem;
  }

  .banner-modular-6 .card .socials-mobile .link-wrapper > a > img {
    width: 1.4rem;
    height: 1.4rem;
  }
}
