/**
 * Image text
 */

 .image-text-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding : 40px 0;
  }

  .image-text-badge__text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 0 2rem;

  }

  .image-text-badge__text--to_left .image-text-badge__text-wrapper {
    display: initial;
  }

  .image-text-badge__text h2 {
    margin-top: 0;
  }

  .image-text-badge__badge {
    padding: 5px;
    color: var(--color-primary--1);
    background: var(--color-primary--2);
    border-radius: 60px;
    width: fit-content;
    height: fit-content;
    position: absolute;
    bottom: 0px;
    left: 50%;
    line-height: 0.5rem;
  }

  .image-text-badge__badge p {
    font-size: 48px;
    font-family: "Source Serif 4";
    text-align: center;
    margin: 35px 5px;

    .badge__text--small {
      font-size: 40px;
    }
  }

  .image-text-badge__badge p:has(.badge__text--small) {
    line-height: 2rem;
  }

  .image-text-badge__image {
    position : relative;
    margin-bottom: 70px;
  }

  .image-text-badge__badge--first_bold .image-text-badge__badge p:first-child  {
    font-weight: bold;
  }
  .image-text-badge__badge--last_bold .image-text-badge__badge p:last-child {
    font-weight: bold;
  }
  .image-text-badge__badge--all_bold .image-text-badge__badge p {
    font-weight: bold;
  }

  .image-text-badge__rot--left .image-text-badge__badge {
    transform: rotate(-10deg) translateX(-50%) translateY(45%);

  }

  .image-text-badge__rot--right .image-text-badge__badge {
    transform: rotate(10deg) translateX(-50%) translateY(55%);
    bottom: 0px;
  }

  .image-text-badge__small_images {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap:40px;
  }

  @media all and (min-width: 600px) {

    .image-text-badge {
        padding : 40px;
      }
  }

  @media all and (min-width: 900px) {

    .image-text-badge__rot--right .image-text-badge__badge{
      top: 50%;
      bottom: unset;
      left: unset;
      right: 0;
    }


    .image-text-badge__badge {
      padding: 30px;
      line-height: 1.5rem;
    }

    .image-text-badge__rot--left .image-text-badge__badge {
      top: 50%;
      bottom: unset;
      left: 0;
    }

    .image-text-badge__text-wrapper {
      width: 404px;
      padding: unset;
    }



    .image-text-badge__text--to_left .image-text-badge__text-wrapper {
      width: 500px;
    }

    .image-text-badge__image {
      margin-bottom: unset;
    }

    .image-text-badge__rot--left:not(.image-text-badge__text--to_left) .image-text-badge__image {
      margin-right: -120px;
    }

    .image-text-badge__rot--right:not(.image-text-badge__text--to_left) .image-text-badge__image {
      margin-left: -120px;
    }

  .image-text-badge__rot--left .image-text-badge__badge {
    transform: rotate(-10deg) translateY(-50%) translateX(-50%);

  }

  .image-text-badge__rot--right .image-text-badge__badge {
    transform: rotate(10deg) translateY(-50%) translateX(50%);
  }


  .image-text-badge__badge p {
    font-size: 64px;
    margin: 25px -5px;


    .badge__text--small {
      font-size: 40px;
    }
  }

    .image-text-badge {
      flex-direction: row;
      gap: 6rem;
    }

    .image-text-badge.image-text-badge__text--to_left {
      gap: 10rem;
    }

    .image-text-badge--right {
      flex-direction: row-reverse;
    }

    .image-text-badge--right:not(.image-text-badge__text--to_left) .image-text-badge__text-wrapper {
        text-align: end;
    }
    .image-text-badge__text--to_left .image-text-badge__text-wrapper {
      text-align: left;
    }

    .image-text-badge__text {
      justify-content: center;
    }
  }


