#banner-and-avatar {
  text-align: center;

  .bannerimage {
    border-radius: 0 0 20px 20px;
    background: #e0e0e0;
    width: 100%;
    height: 354px;
    overflow: hidden;
    position: relative;

    img {
      width: 100%;

      &.in {
        object-fit: cover;
        height: 100%;
      }
    }

    &.fallback {
      display: flex;
      justify-content: center;
      align-items: center;

      img {
        filter: blur(1px);
        transform: scale(2);
      }
    }
  }

  .avatarimage-wrapper {
    margin: -190px auto 30px auto;
    width: 200px;
    height: 200px;
    position: relative;
    z-index: 10;
  }

  .avatarimage {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 40px -10px rgba(0, 0, 0, 0.3);
  }

  .blogname {
    margin: 0 0 15px 0;
    font-size: 23px;
    line-height: 32px;
  }

  // 73.446% magasság az eredetihez képest
  &.narrow {
    .bannerimage {
      height: 260px;
    }

    .avatarimage-wrapper {
      margin: -139.5474px auto 22px auto;
      width: 146.892px;
      height: 146.892px;
    }

    .blogname {
      display: none;
    }

    .aboutme {
      display: none;
    }
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  // 83.333% magasság az eredetihez képest
  #banner-and-avatar {
    .bannerimage {
      height: 295px;
    }

    .avatarimage-wrapper {
      margin: -158.3327px auto 25px auto;
      width: 166.666px;
      height: 166.666px;
    }
  }
}

.slim.js {
  .slim-btn {
    font-size: 1em;
    background-image: none;
    opacity: 1 !important;
    transform: none !important;
    display: none;

    &.visible {
      display: inline-block;
    }

    &.red {
      background: rgba(color.$color-red, 0.85);
    }
  }

  .slim-file-hopper {
    visibility: hidden;
  }

  .slim-btn-group {
    display: block !important;
  }

  &.right .slim-btn-group {
    text-align: right;
    padding-right: 20px;
  }
}

.call-to-action {
  background: #cf1c18;
  padding: 20px 40px;
  text-align: center;
  color: white;

  .btn-white {
    display: inline-block;
    color: #3e4049;
    height: 33px;
    border-radius: 33px;
    border: 2px solid #eaeaea;
    min-width: 82px;
    line-height: 2;
    text-align: center;
    margin: 4px 6px 4px 0;
    cursor: pointer;
    user-select: none;
    padding: 0 20px;
    background: white;
  }
}

@include media-breakpoint-down(sm) {
  .banner1 {
    width: auto;
    max-width: 100%;

    .banner-title {
      font-size: 15px;
    }
  }
}
