@use "../custom" as *;

.introBlog {
  padding: 12.5rem 0 15.625rem 0;
  background: no-repeat url("../images/bg-secondary.webp");
  background-position: bottom center;
  background-size: cover;
  display: flex;
  align-items: center;

  @include media-breakpoint-down(lg) {
    padding-top: 9.375rem;
  }

  .container {
    position: relative;
  }

  &__content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;

    &-wrapper {
      display: flex;
      align-items: center;
      gap: 1.5rem 2rem;

      @include media-breakpoint-down(lg) {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-bottom: 1rem;
      }
    }
  }

  &__icon {
    min-width: 6.25rem;
    width: 100px;
    height: 100px;
    position: relative;
    background-color: rgba(#0CAF60, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100vh;

    i,
    img {
      color: $white;
      font-size: 1.3125rem;
      min-width: 1.3125rem;
      width: 1.3125rem;
      height: 1.3125rem;
      object-fit: contain;
      object-position: center;
      position: relative;
      z-index: 3;
    }

    &::after {
      content: "";
      min-width: 4.25rem;
      width: 4.25rem;
      height: 4.25rem;
      border-radius: 100vh;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background-color: #0CAF60;
      border: 8px solid #1a1e32;
    }

  }

  &__headline {
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    line-height: 1.5;
    color: $white;
    font-family: $roobert;
    display: block;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 3;
  }

  &__description {
    font-weight: 400;
    font-size: 1rem;
    color: rgba(#7c8499, 0.6);
    font-family: $roobert;
    margin: 0;
    max-width: 45.625rem;
    position: relative;
    z-index: 3;
    background-color: #1a1e32;
  }
}

.blogPage__wrapper{
  margin-top: -12.5rem;
  margin-bottom: 6.25rem;

}