[data-component-id="b5sub_dafr:hero"] {
  /* @todo Add your styles here. */
}

#hero {
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
  padding: 210px 0;
  overflow: hidden;
  position: relative;
}

#hero h1.title {
  font-size: 5rem;
  letter-spacing: 0.08em;
  transition: all 1s ease;
  overflow: hidden;
  animation: anim_fadeUp 2s ease-in-out forwards;
}


@keyframes anim_fadeUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes anim_fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

#hero.parallax {
  /* background-attachment: fixed; */
}


#hero .logoUE {
  position: absolute;
  width: 115px;
  right: 64px;
  top: 0;
  z-index: 1;
  animation: anim_fadeIn 1s ease-in-out forwards;
}

.story {
  margin: 0 auto;
  width: 980px;
  max-width: 100%;
  z-index: 1;
  position: relative;
}


.dafr_hero .hero_icon svg {
  width: 70px;
  height: 70px;
  margin-bottom: 30px;
}

.dafr_hero path {
  fill: var(--primary-color);
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.type-1 {
  color: #fff;
}

.type-2 {
  color: #222;
}


.hero_body {
  margin: 30px 0;
}

.overlay {
  position: absolute;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  visibility: visible;
  z-index: 1;
}

.sznurek {
  display: block;
  position: absolute;
  z-index: 1;
  bottom: 130px;
  width: 100%;
  text-align: center;
}

.sznurek img {
  height: 320px;
  object-fit: cover;
}

@media screen and (min-width: 1920px) {

  #hero h1.title {
    font-size: 5rem;
    letter-spacing: 0.07em;
  }

  #hero .logoUE {
    width: 180px;
  }

}

@media screen and (max-width: 998px) {
  #hero {
    padding: 500px 0 0 0;
  }

  #hero h1.title {
    font-size: 3rem;
    letter-spacing: 0.07em;
  }

  .sznurek {
    display: block;
    position: absolute;
    z-index: 1;
    bottom: 30px;
    width: 100%;
  }

  .sznurek img {
    height: 200px;
  }

  #hero .logoUE {
    display: none;
  }
}

@media screen and (max-width: 650px) {
  #hero h1.title {
    font-size: 2rem;
    letter-spacing: 0.07em;
  }

  #hero {
    height: 50vh;
    padding: 0;
  }

  .story {
    position: absolute;
    bottom: 0;
  }

  .sznurek img {
    height: 120px;
  }
}