@font-face {
  font-family: "NouvelleAntiqueHaas-Medium";
  src: url("../fonts/NouvelleAntiqueHaas-Medium.woff2") format("woff2"),
       url("../fonts/NouvelleAntiqueHaas-Medium.woff") format("woff");
}

html, body {
  margin: 0;
  padding: 0;
  font-family: "NouvelleAntiqueHaas-Medium", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  -o-font-smoothing: antialiased;
  -ms-font-smoothing: antialiased;
  font-smoothing: antialiased;
  overflow-x: hidden;
  background-color: rgba(241,243,244,1);
  color: white;
}

/* transitions */

.magtitle, .magimprint, a {
  transition: color 300ms;
}

.imprint {
  transition: opacity 300ms;
}

/* navigation */

.navigation {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px 34px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  align-content: flex-start;
  z-index: 5;
  color: black;
}

.navigation p {
  margin: 0;
  padding: 0;
}

.magsubscription-text, .magsubscription-form {
  display: inline-block;
  vertical-align: middle;
}

.magsubscription-form input {
  border: 2px solid black;
  width: 220px;
  height: auto;
  border-radius: 7px;
  margin-left: 10px;
  background-color: transparent;
  color: black;
  padding: 4px 6px;
  font-family: inherit;
  font-size: inherit;
  outline: none;
  -webkit-appearance: none;
  caret-color: black;
}

.magsubscription-form input[type="submit"] {
  width: auto;
  cursor: pointer;
  transition-duration: 300ms;
  margin-left: 6px;
}

.magsubscription-form input[type="submit"]:hover {
  background-color: black;
  color: white;
}

.magtitle, .magimprint {
  cursor: pointer;
}

.magtitle:hover, 
.magimprint:hover, 
a:hover {
  color: white;
}

.show .magtitle:hover, 
.show .magimprint:hover, 
.show  a:hover {
  color: gray;
}

/* cover */

.spacer {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: -2;
}

.main {
  height: 100%;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
}

.cover {
  width: 100%;
}

.cover img {
  width: 100%;
  height: 100vh;
}

.leaflet-control-container {
  display: none;
}


/* imprint */

.imprint {
  position: fixed;
  width: 100%;
  height: 100%;
  overflow: scroll;
  left: 0;
  top: 0;
  background-color: white;
  z-index: 3;
  padding: 24px 0 48px 0;
  box-sizing: border-box;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
  align-content: flex-start;
  opacity: 0;
  pointer-events: none;
  color: black;
}

a {
  color: inherit;
  text-decoration: none;
}

.show {
  opacity: 1;
  pointer-events: auto;
}

.column-2 .magsubscription {
  display: none;
}

.imprint .column {
  width: 25%;
  box-sizing: border-box;
  padding: 0 34px;
}

.imprint .column p {
  margin: 0 0 1em 0;
}

.magimprint {
  width: 100px;
  text-align: right;
}

/* responsive */

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

  .navigation>div {
    position: fixed;
    padding: 24px 34px;
  }

  .navigation .magtitle {
    left: 0;
    top: 0;
  }

  .navigation .magtagline1 {
    display: none;
  }

  .navigation .magtagline2 {
    right: 0;
    bottom: 0;
  }

  .navigation .magsubscription {
    left: 0;
    bottom: 0;
  }

  .column-2 .magsubscription {
    display: block;
  }

  .magsubscription-text, 
  .magsubscription-form {
    display: block;
  }

  .magsubscription-text {
    margin-bottom: 5px;
  }

  .magsubscription-form input {
    margin-left: 0;
  }

  .magsubscription-form input[type="submit"] {
    margin-left: 6px;
  }

  .navigation .magimprint {
    top: 0;
    right: 0;
  }

  .imprint {
    flex-wrap: wrap;
    justify-content: flex-start;
    overflow-y: scroll;
  }

  .imprint .column {
    width: 40%;
    margin-bottom: 3em;
  }

  .imprint .column.column-2 {
    width: 60%;
  }

  .imprint .column:last-child {
    margin-bottom: 3em;
  }

  .navigation.show .magtitle,
  .navigation.show .magtagline2,
  .navigation.show .magsubscription {
    display: none;
  }

}

/*@media screen and (max-width: 730px) {
  .magsubscription-form input {
    width: auto;
  }

  .magsubscription-form input[type="submit"] {
    width: auto;
  }
}*/

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

  #emailinput1 {
    display: block;
  }

  .magsubscription-form input[type="submit"] {
    display: block;
    margin-left: 0;
    margin-top: 6px;
  }

  .magtagline2 {
    z-index: 5;
    margin-bottom: 14px;
  }

  .navigation .magsubscription input {
    box-sizing: border-box;
  }
  .navigation .magsubscription {
    box-sizing: border-box;
    margin-bottom: 10px;
    width: 100%;
  }

  .imprint {
    display: inline-block;
  }

  .imprint .column, .imprint .column.column-2 {
    display: block;
    width: 100%;
  }

  .navigation>div {
    padding: 14px 24px;
  }

  .imprint {
    padding: 14px 0;
  }

  .imprint .column {
    padding: 0 24px;
  }

}

/* non-touch screens */

@media screen and (pointer: fine) {

  .main {
    height: 90%;
  }

  .spacer {
    height: 200%;
  }

  .cover {
    transform: scale(2.5);
    position: relative;
    cursor: move;
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
    overflow: visible;
  }

  .cover:active {
    cursor: grabbing;
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
  }

  .cover-inner {
    position: relative;
    overflow: visible;
  }

  .cover img {
    height: auto;
    display: block;
    overflow: visible;
  }

}

@media screen and (pointer: fine) and (max-width: 800px) {
  
  .cover {
    transform: scale(5);
  }

}




