body,
html {
  padding: 0;
  margin: 0;
  display: flex;
  background-color: #45423f;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
  font-family: "Lexend", sans-serif;
  perspective: 1000px;
  background-image: url("../images/background.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overscroll-behavior: none;
}

* {
  box-sizing: border-box;
}

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

.card {
  aspect-ratio: 1.55/1;
  width: 100%;
  max-width: 57vw;
  position: relative;
  transition: transform 0.8s, box-shadow 0.3s ease;
  transform-style: preserve-3d;
  transform: rotateY(0deg);
  box-shadow: -5px 10px 15px rgba(0, 0, 0, 0.8);
  border-radius: 0px;
}
.card.flip {
  transform: rotateY(-180deg) scale(1) !important;
  box-shadow: 5px 10px 15px rgba(0, 0, 0, 0.8);
}
.card.flip .vcard-impressum {
  z-index: 1;
}
@media (max-width: 1168px) {
  .card {
    max-width: 90vw;
  }
}
@media (max-width: 768px) {
  .card {
    max-width: 90vw;
  }
}
@media (max-width: 700px) {
  .card {
    max-width: 95vw;
    height: 100%;
    max-height: 97vh;
  }
}

.vcard {
  border-radius: 0;
  width: 100%;
  height: 100%;
  background-color: #fffff0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
  font-size: 16px;
  position: relative;
  text-align: center;
  backface-visibility: hidden;
}
.vcard .flex-fill {
  flex: 1;
}
.vcard .logo {
  max-width: 78%;
  margin-bottom: 65px;
  margin-top: -10px;
}
@media (max-width: 1460px) {
  .vcard .logo {
    margin-bottom: 50px;
    margin-top: 50px;
  }
}
@media (max-width: 1160px) {
  .vcard .logo {
    margin-bottom: 40px;
    margin-top: 40px;
  }
}
@media (max-width: 960px) {
  .vcard .logo {
    margin-bottom: 30px;
    margin-top: 30px;
  }
}
@media (max-width: 668px) {
  .vcard .logo {
    margin-bottom: 20px;
    margin-top: 20px;
    max-width: 95%;
  }
}
.vcard .slogan {
  font-size: 22px;
  font-weight: 300;
  line-height: 34px;
  text-align: center;
  padding: 0 80px;
}
@media (max-width: 1460px) {
  .vcard .slogan {
    font-size: 22px;
    line-height: 30px;
  }
}
@media (max-width: 1160px) {
  .vcard .slogan {
    font-size: 22px;
    line-height: 28px;
  }
}
@media (max-width: 960px) {
  .vcard .slogan {
    font-size: 20px;
    line-height: 26px;
  }
}
@media (max-width: 768px) {
  .vcard .slogan {
    font-size: 20px;
    line-height: 26px;
  }
}
.vcard .kontakt {
  line-height: 1.5;
  font-size: 18px;
  position: absolute;
  bottom: 30px;
  font-weight: 300;
}
.vcard .impressum {
  display: block;
  position: absolute;
  transform-origin: bottom right;
  transform: rotate(-90deg);
  right: -5px;
  bottom: 160px;
  padding: 10px 25px;
  background-color: #f37b63;
  color: white;
  font-size: 0.85rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  cursor: pointer;
  transition: padding 0.3s 0.05s ease, background-color 0.3s ease;
  border-radius: 6px 6px 1px 2px;
  box-shadow: -2px 4px 3px rgba(0, 0, 0, 0.5);
}
.vcard .impressum::after {
  content: "";
  position: absolute;
  display: block;
  border-right: 5px solid transparent;
  border-top: 4.5px solid #ffa997;
  bottom: 0.5px;
  right: -5px;
}
.vcard .impressum:hover {
  bottom: 160px;
  background-color: #E2725B;
  padding: 10px 25px 15px 25px;
}

@keyframes zoominout {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes bouncebutton {
  0% {
    bottom: 160px;
    padding: 10px 25px;
  }
  100% {
    bottom: 155px;
    padding: 10px 20px 15px 20px;
  }
}
.vcard-impressum {
  border-radius: 0;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 20px;
  background-color: #E2725B;
  color: white;
  font-size: 0.9rem;
  transform: rotateY(180deg);
  backface-visibility: hidden;
  z-index: 0;
  font-size: 25px;
  line-height: 30px;
  font-weight: 300;
}
@media (max-width: 1160px) {
  .vcard-impressum {
    font-size: 22px;
    line-height: 28px;
  }
}
@media (max-width: 960px) {
  .vcard-impressum {
    font-size: 20px;
    line-height: 26px;
  }
}
@media (max-width: 768px) {
  .vcard-impressum {
    font-size: 20px;
    line-height: 26px;
  }
}
.vcard-impressum h2 {
  font-weight: normal;
}
.vcard-impressum .adresse {
  position: absolute;
  bottom: 70px;
  left: 70px;
  font-size: 20px;
  line-height: 26px;
}
.vcard-impressum .close {
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vcard-impressum .close:hover {
  animation: zoominout 0.8s ease;
}
.vcard-impressum .close:active {
  animation: zoominout 0.5s;
}
.vcard-impressum .close::after, .vcard-impressum .close::before {
  content: "";
  position: absolute;
  width: 35px;
  height: 2px;
  background-color: white;
}
.vcard-impressum .close::after {
  transform: rotate(45deg);
}
.vcard-impressum .close::before {
  transform: rotate(-45deg);
}/*# sourceMappingURL=layout.css.map */