.header {
  position: absolute;
  width: 100%;
  padding: 25px 0;
  z-index: 1;
}
@media (max-width: 500px) {
  .header {
    z-index: 5;
  }
}
@media (max-width: 560px) {
  .header {
    background: #fff;
  }
}
.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.header__socials {
  display: inline-flex;
  align-items: center;
  text-align: center;
  background: #ffed00;
  color: #007d32 !important;
  border-radius: 25px;
  padding: 10px 25px;
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  color: #000000;
  transition-duration: 0.3s;
}
.header__socials:hover {
  background: #007d32;
  color: #ffed00 !important;
}
@media (max-width: 425px) {
  .header__socials {
    font-size: 13px;
    padding: 7px 20px;
  }
}

.main__hero {
  background: linear-gradient(to right, #ffffff 50%, #007d32 50%);
  width: 100%;
  height: 100vh;
  position: relative;
}
@media (max-width: 1200px) {
  .main__hero {
    height: 100%;
  }
}
@media (max-width: 560px) {
  .main__hero {
    background: #fff;
  }
}

.hero__mobile_frame {
  width: 50%;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  background: url("https://powercard.ad-wiser.ch/wp-content/uploads/2023/02/Hero-Bild.jpg")
    bottom/cover no-repeat;
  z-index: 0;
}
.hero__mainframe {
  z-index: 2;
}
.hero__mainframe .mainframe__animated {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin-left: auto;
  margin-right: auto;
  margin-top: auto;
  margin-bottom: auto;
  z-index: 2;
  width: 655px;
  height: 655px;
  background: linear-gradient(to right, #fff 50%, #007d32 50%);
  border-radius: 50%;
  animation: rotation 0.9s linear forwards;
  animation-delay: 0.5s;
}
@media (max-width: 1200px) {
  .hero__mainframe .mainframe__animated {
    position: unset;
    width: 90vw;
    height: 90vw;
  }
}
@media (max-width: 900px) {
  .hero__mainframe .mainframe__animated {
    z-index: 5;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
  }
}
@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(180deg);
  }
}
.hero__mainframe .mainframe__img {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  z-index: 2;
  max-width: 655px;
}
@media (max-width: 1200px) {
  .hero__mainframe .mainframe__img {
    width: 40vw;
  }
}
@media (max-width: 900px) {
  .hero__mainframe .mainframe__img {
    z-index: 5;
  }
}
.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 50px;
}
.hero__content svg {
  max-width: 70px;
  height: 100%;
}
.hero__title {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 450px;
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  font-size: 46px;
  line-height: 125%;
  height: 100%;
  margin-bottom: 0;
  margin-top: 200px;
}

.hero__subtitles {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.subtitle__block p {
  max-width: 380px;
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  color: #000000;
}
@media (max-width: 900px) {
  .subtitle__block p {
    max-width: 100%;
    width: 45%;
    z-index: 5;
  }
}
.subtitle__block_right {
  z-index: 9;
}

.subtitle__block_mobile {
  display: flex;
}

.hero__mobile_img {
  display: none;
}

@media (max-width: 560px) {
  .mainframe__animated {
    display: none;
  }

  .hero__mobile_frame {
    display: none;
  }

  .hero__subtitles {
    margin-bottom: 0;
  }

  .hero__mobile_img {
    display: block;
    height: auto;
    object-fit: cover;
  }

  .hero__title {
    margin-top: 20px;
  }

  .subtitle__block p {
    width: 100%;
  }

  .subtitle__block {
    flex-direction: column;
  }

  .subtitle__block_right {
    color: #000 !important;
  }
}
