.front-hero {
  position: relative;
  height: auto;
  min-height: 900px;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.front-hero__background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('./img/hero-kaupunki.svg');
  background-size: cover;
  background-position: bottom left;
  background-repeat: no-repeat;
}

.front-hero__container {
  position: relative;
  z-index: 2;
}

.front-hero__bubble {
  position: relative;
  /* background: white;
  border-radius: 50%; */
  background-image: url('./img/hero-bubble.svg');
  background-color: transparent;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8%;
}

/* .front-hero__bubble * {
  border: 1px solid red;
} */

/* .front-hero__bubble::after {
  display: none;
  content: '';
  position: absolute;
  bottom: 8%;
  left: 5%;
  width: 15%;
  height: 15%;
  background: white;
  clip-path: polygon(0 0, 100% 0, 20% 100%);
  transform: rotate(15deg);
} */

@media screen and (max-width: 1400px) {
  .front-hero__pig #lottie-container {
    margin-left: -10vw;
  }
}

@media screen and (max-width: 1200px) {

  .front-hero__bubble {
    /* background-image: url('./img/hero-bubble.svg');
    background-color: transparent;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0; */
    max-width: 600px;
    margin-left: auto;
  }

  .front-hero__bubble:after {
    display: none;
  }

  .front-hero__pig #lottie-container {
    margin-left: 0;
    height: 450px;
  }

  .frontpage-hero #lottie-container svg {
    /* transform: scale(1.2) !important; */
    /* width: auto !important;
    max-width: none !important;
    height: 100% !important; */
  }
}

@media screen and (max-width: 992px) {
  .frontpage-hero {
    min-height: unset;
  }

  .frontpage-hero #lottie-container svg {
    transform: scale(1.2) !important;
  }
}

@media screen and (max-width: 768px) {
  .frontpage-hero #lottie-container {
    height: 350px;
  }
}

@media screen and (max-width: 480px) {
  .frontpage-hero #lottie-container {
    height: 300px;
  }
}

/* .front-hero__background svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
} */