@media all and (orientation: portrait) {
  /* Styles */
  #header,
  #menu {
    font-size: 2em;
    /*font-weight: bold;*/
  }
  #text > p {
    padding: 1em 1em;
    text-align: justify;
  }
  img.close {
    height: 15em;
    width: auto;
    transform: translate(80%, -20%);
    transition: transform 0.5s;
  }
  img.close:hover {
    transform: translate(50%, 0%);
  }
  .cross > svg {
    height: 5em;
    width: auto;
  }
  img.back {
    height: 5em;
    width: auto;
  }
  div.back {
    font-size: 3em;
  }
  #text {
    padding: 3em;
  }
  .back-container {
    font-size: 2.5em;
  }

  .arrow > svg {
    height: 5em;
    width: auto;
  }
}
@media all and (orientation: landscape) {
  /* Styles */
  #text {
    padding: 3em 8em;
  }
  .arrow > svg {
    height: 2.5em;
    width: auto;
  }
}
img.close,
img.back {
  z-index: 0;
}
.cross {
  z-index: 2;
}
img.bywidth {
  z-index: 1;
  width: 15em;
  height: auto;
}
img.landscape {
  z-index: 1;
  height: 15em;
  width: auto;
}

img.bywidth,
img.landscape {
  cursor: pointer;
}

#menu {
  display: flex;
  flex-flow: column;
}
#header,
#menu {
  display: flex;
  font-family: 'Arial Black';

  justify-content: stretch;
}
#menu > div:nth-child(1) {
  background:;
}
#menu > div > a,
#header a {
  color: black;
}
#menu > div > a:hover {
  text-decoration: underline;
}

#menu > div {
  padding: 1em;
  background: #f6da5e;
}

#header > div {
  flex-grow: 1;
  padding: 1em 0;
  user-select: none;
  background: hsla(200, 100%, 50%, 0.5);
  color: black;
  text-align: center;
}
#header > div {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#header > div:hover {
  text-decoration: underline;
  cursor: pointer;
}
#header > div:nth-child(1) {
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#header > div:nth-child(1) > a > img {
  width: auto;
  height: 4em;
  transform: translateY(0.2em);
}
#header > div:nth-child(1) {
  background-color: #192b63;

  /*border-left: 1px dotted black;*/
}
#header > div:nth-child(2) {
  background-color: #f6da5e;
}
#header > div:nth-child(3) {
  background-color: #a01535;
}
#header > div:nth-child(4) {
  background-color: #7b8d60;
}
#header > div:nth-child(5) {
  background-color: #ff9140;
}
#header > div:nth-child(6) {
  background-color: #1879b0;
}
#header > div:nth-child(7) {
  background-color: #c14394;
}

div.home {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

div.landing,
div.home > div:nth-child(2) {
  /*  background: url(../img/globi-bg-scene.svg) no-repeat;
  background-size: 100% auto;
  background-position: top center;*/
  flex: 1 1 auto;
  position: relative;
  user-select: none;
  z-index: -2;
}
div.landing > * {
  display: inline-flex;
  position: absolute;
  /*  width:  100%;
  height: auto;*/
}

body {
  margin: 0;
  background: #fff;
}
body.center {
  background: #a9bf4a;
}

body.center {
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
}
div.blog {
  text-align: center;
}

img.close,
.cross {
  position: absolute;
  top: 1.5em;
  right: 1.5em;
  cursor: pointer;
}

.cross {
  transform: translate(25%, 25%);
  right: 3em;
}

.overlay {
  background: #aba652d0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;
}

a.back {
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
}
a.back {
  color: black;
  text-decoration: none;
}
a.back:hover {
  text-decoration: underline;
}

a.back:hover > img,
img.close:hover {
  filter: drop-shadow(2px 2px 5px hsl(60, 100%, 50%));
}

/*.cross:hover,
.arrow {
  filter: drop-shadow(0px 0px 3px hsl(190, 20%, 85%));
}*/

/* .cross {
  transition:  transform 0.3s;
}
.cross:hover {
  transform:  scale(1.25,1.25) translate(12.5%,0%);
}*/

.back,
.close,
.cross {
  font-family: 'Arial Black', 'Arial';
  font-weight: 100;
}
#header a:visited {
  color: black;
}
.blog > img {
  background: #55555540;
  border: none;
}

/*.blog > img[@src=''] {
  box-shadow:  0px 0px 1px black;
}
*/
.home #globi {
  max-width: 100vw;
  max-height: calc(100vh - 5.2em);
}
div.home > div:nth-child(2) {
  background: #788a5e;
}
a:-webkit-any-link {
  text-decoration: none;
}
#content {
  position: relative;
  padding: 0;
  margin: 0;
}
.bg {
  opacity: 0.8;
}
.bg > svg {
  max-height: none;
}
.bg {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  display: none;
}
body {
  background-image: url(../img/webakeit-hintergrund-noscroll.svg);
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

#content a:hover {
  text-decoration: underline;
}
#text a:hover {
  text-decoration: none;
}
.back-container {
  margin: 2em 0 0 0;
  width: 100%;
}
.back-container,
.back-container > a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
}
.back-img {
  width: 3em;
  height: auto;
  margin-left: 1em;
}
.indent {
  padding-left: 4em;
}

.blog,
body {
  font-family: Arial, sans-serif;
}

@media print {
  /* All your print styles go here */
  #header,
  #footer,
  #menu {
    display: none !important;
  }
  body {
    background: none;
  }
  div.back-container {
    display: none !important;
  }
  #text > div {
    break-after: page;
  }
  #text {
    padding-top: 0;
    padding-right: 8em;
    padding-bottom: 3em;
    padding-left: 8em;
  }
}

.goldsponsor {
  position: absolute;
  bottom: 0px;
  left: 0px;
  /*transform: scale(0.75) translate(-18%,18%);*/
  display: flex;
  flex-flow: column;
  align-items: center;
  font-size: 1.5em;
  z-index: 100;
}

.goldsponsor > span > img {
  height: 1em;
  width: auto;
  transform: translateY(0.1em);
  padding: 0 0.25em;
}

/*.goldsponsor >  a  > img {
  height:  75%;
  width:  75%;
}*/

.goldsponsor > span {
  margin: 0.25em 0.5em;
}

.goldsponsor a {
  display: inline-block;
}
.arrow {
  position: absolute;
}
.arrow.left {
  left: 3em;
}

.arrow.right {
  right: 3em;
}
