:root {
  --main-black: #1e1f1e;
  --main-white: whitesmoke;
  --main-gray: dimgray;
  --color-text-grey: #2e2e2e;
  --main-red: #c1273b;
}

html,
body,
* {
  margin: 0;
  padding: 0;
  /* outline: 1px solid #fff !important; */
}
/*
h3 {
  text-transform: uppercase;
  letter-spacing: 1px;
} */
/* prettier-ignore */

li {
  list-style: none;
}
a {
  color: currentColor;
  text-decoration: none;
}
button {
  font: inherit;
  background: none;
  border: 0;
  color: currentColor;
}
strong,
b {
  font-family: "CoreSansA85Heavy";
  font-weight: 100;
}
small {
  font-size: inherit;
  color: var(--color-text-grey);
}

hr {
  border: 0;
  background: currentColor;
  height: 2px;
  width: 25%;
  margin-bottom: 2rem;
}

.headline + hr {
  margin-top: -1rem;
}

p {
  text-align: justify;
}

input {
  color: var(--color-text-grey);
}

@media (max-width: 768px) {
  p {
    text-align: left;
  }
}

.bg-light {
  background-color: var(--color-light);
}
.color-grey {
  color: var(--color-text-grey);
}

.home-page {
  position: relative;
  content: "";
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  background-color: #000;
  background-image: url("/assets/images/bg-start-dark.jpg");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#burger-menu.opened span:nth-child(1) {
  animation: rotate45 0.5s forwards;
}

#burger-menu.closed span:nth-child(1) {
  animation: rotate45-back 0.5s forwards;
}

#burger-menu.opened span:nth-child(2) {
  visibility: hidden;
}

#burger-menu.opened span:nth-child(3) {
  animation: rotate-45 0.5s forwards;
}

#burger-menu.closed span:nth-child(3) {
  animation: rotate-45-back 0.5s forwards;
}

@keyframes rotate45 {
  0% {
    transform: rotate(0deg);
    top: 0;
  }
  50% {
    transform: rotate(0deg);
    top: 0.5rem;
  }
  100% {
    transform: rotate(45deg);
    top: 0.5rem;
  }
}

@keyframes rotate45-back {
  0% {
    transform: rotate(45deg);
    top: 0.5rem;
  }
  50% {
    transform: rotate(0deg);
    top: 0.5rem;
  }
  100% {
    transform: rotate(0deg);
    top: 0;
  }
}

@keyframes rotate-45 {
  0% {
    transform: rotate(0deg);
    top: 1rem;
  }
  50% {
    transform: rotate(0deg);
    top: 0.5rem;
  }
  100% {
    transform: rotate(-45deg);
    top: 0.5rem;
  }
}

@keyframes rotate-45-back {
  0% {
    transform: rotate(-45deg);
    top: 0.5rem;
  }
  50% {
    transform: rotate(0deg);
    top: 0.5rem;
  }
  100% {
    transform: rotate(0deg);
    top: 1rem;
  }
}

#main-navigation {
  background-image: linear-gradient(
    to left bottom,
    #00455c,
    #004258,
    #003f55,
    #003d51,
    #003a4e,
    #00374a,
    #003547,
    #003243,
    #002e3e,
    #002b39,
    #002735,
    #002430
  );
  opacity: 0;
  transition: 0.5s;
}
.nav-links {
  opacity: 0;
}

@media screen and (min-width: 1024px) {
  #main-navigation {
    background-image: none;
    opacity: 1;
    z-index: 1;
  }
  .nav-links {
    opacity: 1;
  }
}

@media screen and (max-width: 500px) {
  .main-headline {
    font-size: max(7.5vw, 20px);
  }
}

.home-button {
  cursor: url("/assets/images/leaf-white.png"), pointer;
}
.garten-leaf {
  opacity: 0;
}

.main-subpage-content iframe {
  width: 100%;
  min-height: 600px;
}
.logo-start {
  position: relative;
  z-index: 11;
  padding: 0.75rem 1.25rem 0.75rem;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.logo-start a {
  padding: 5rem 0;
}
.logo-start img {
  max-width: 100%;
}

/* Landscape */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) {
  .main-headline {
    display: none;
  }
  .garten-leaf {
    display: none;
  }
}

.social {
  display: flex;
  padding: 0 0.5rem;
}
.social a {
  padding: 1rem 0.5rem;
}
.section {
  padding: 3rem 0;
}
.grid {
  --columns: 12;
  --gutter: 3rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: 1fr;
}
.autogrid {
  --gutter: 3rem;
  --min: 10rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: repeat(auto-fit, minmax(var(--min), 1fr));
  grid-auto-flow: dense;
}
.text {
  line-height: 1.5em;
}
.text a {
  text-decoration: underline;
}
.text :first-child {
  margin-top: 0;
}
.text :last-child {
  margin-bottom: 0;
}

/* Button styles */

.button {
  margin: 6px;
  padding: 16px;
  height: 100%;
  position: relative;
  border-radius: 8px;
  border: 2px solid whitesmoke;
  background-color: transparent;
  font-weight: bolder;
  font-size: 20px;
  letter-spacing: 1px;
}

.button:hover,
.button:focus,
.button.active {
  color: #1e1f1e;
  background-color: whitesmoke;
}

@media screen and (max-width: 500px) {
  .button {
    width: 100%;
    margin: 6px 0;
  }
}

.main {
  position: relative;
  z-index: 10;
}

/* openstreetmap  */

.leaflet-control-attribution.leaflet-control {
  opacity: 0.5;
}
.leaflet-control-attribution.leaflet-control:hover {
  opacity: 0.9;
}

.footer-middle p {
  text-align: left;
}

/* cookie banner */

#cc-main .cm__btn {
  background-color: #002a38;
}
