.hero {
  overflow: hidden;
  position: relative;
  min-height: 600px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.logo_mobile {
  display: none;
}

.mob {
  display: none;
}

.hero .hero_content {
  width: 100%;
  max-width: 624px;
}

.hero .hero_content h1 {
  margin: 0 0 2rem 0;
}

.hero .hero_content p {
  font-weight: 600;
}

.hero .hero_content .button {
  font-size: 1.125rem;
  line-height: 1.3;
}

.front_hero h1 {
  color: #6269FF;
}

.front_hero p {
  color: #000000;
}

.hero.bg_hero .hero_img {
  max-height: 100%
}

.hero {
  background-color: #f5f1ed;
}

.hero picture {
  z-index: 1
}

.hero .wrapper {
  z-index: 2
}

#hero_logo {
  width: 100%;
  max-width: 280px;
  margin: 0.75rem 0 0rem 0;
}

/* Hero with background-color + images */
.hero.hero_splitted .wrapper {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
}

/* Hero with background-images */
.hero.bg_hero .hero_img {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  height: auto;
  z-index: -1;
}

/* NAV inside header */
.hero .hero-nav ul {
  align-items: flex-start;
  justify-content: flex-start;
}

.hero .hero-nav ul li a {
  display: block;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--light-grey);
  transition: all ease-out 0.2s;
  border-radius: var(--huge-radius);
  color: #ffffff;
  font-weight: 600;
  text-align: center;
  font-size: 1rem;
}

.hero .hero-nav ul li a:hover {
  background-color: var(--light-grey);
  color: var(--dark-blue);
}

.hero .hero-nav ul li:first-child a {
  background-color: var(--light-blue);
  color: #ffffff;
  border: 1px solid var(--light-blue);
}

.hero .hero-nav ul li:first-child a:hover {
  background-color: #fff;
  color: var(--light-blue);
}

.hero-nav-offline {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  justify-content: flex-start;
}

@media (max-width: 1024px) {
  .hero {
    padding: 6rem var(--gutter-mobile) 3rem;
    min-height: 80vh;
    align-items: flex-end;
  }

  .hero.bg_hero .hero_img {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    /* min-width: 100%;    */
    max-width: initial;
    max-height: 100%;
    /* min-height: 100%; */
    z-index: -1;
  }

  .hero-nav-offline a {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .hero {
    background: white;
    align-items: flex-start;
    padding: calc(var(--nav-height-mobile) + 110px) 1rem 0;
    flex-direction: column-reverse;
  }

  .hero .hero_content.color_white {
    color: var(--dark-blue);
  }

  .hero .hero_content h1 {
    font-size: 1.5rem;
  }

  .hero.bg_hero .hero_img {
    position: initial;
    max-width: 100%;
    transform: initial;
    z-index: 0;
    border-radius: var(--radius);
    margin-top: 1.5rem;
    margin-bottom: 3rem;
    display: inline;
  }

  .logo_desk {
    display: none;
  }

  .logo_mobile {
    display: inline;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .hero {
    padding-top: 0;
  }
}