.museum_hero_modul_wrapper {
  background-color: #e27065;
  padding: var(--gSectionPadding);
}

.museum_hero_modul_container {
  position: relative;
  height: 100vh;
  max-height: var(--gMaxSectionHeight);
  max-width: var(--gMaxWidth);
  margin: 0 auto;
}

.museum_hero_modul_image_container {
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.museum_hero_modul_image {
  max-height: 700px;
  max-width: 1100px;
  width: 100%;
  border: 2px solid #36534a;
  object-fit: cover;
}

.museum_hero_modul_text_wrapper {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.museum_hero_modul_text_container {
  color: #164959;
  background-color: #fff7f0;
  border: 2px solid #36534a;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  width: 600px;
  height: 500px;
}

.museum_hero_modul_image_container {
  position: relative;
}

.museum_hero_modul_fullscreen_btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 2;
}

.museum_hero_modul_fullscreen_btn img {
  width: 24px;
  height: 24px;
  display: block;
}

@media (max-width: 1280px) {
  .museum_hero_modul_image {
    max-height: 700px;
    max-width: 1000px;
  }
}

@media (max-width: 1024px) {
  .museum_hero_modul_image {
    max-height: 800px;
    max-width: 800px;
  }
}

@media (max-width: 768px) {
  .museum_hero_modul_wrapper {
    padding: 0;
  }

  .museum_hero_modul_container {
    min-height: 100vh;
    max-width: 100%;
    margin: 0;
  }

  .museum_hero_modul_image_container {
    position: relative;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    display: block;
  }

  .museum_hero_modul_image {
    display: block;
    width: 100%;
    height: auto;
    min-height: 50vh;
    max-width: none;
    object-fit: cover;
    border-top: none;
  }

  .museum_hero_modul_text_wrapper {
    position: relative;
    height: auto;
    padding: 0 40px 40px;
    display: block;
    top: -105px;
  }

  .museum_hero_modul_text_container {
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 2rem 1.5rem;
    margin: 0 auto;
  }

  .museum_hero_modul_text {
    max-width: 100%;
    height: fit-content;
  }
}
