:root {
  --update-color: rgb(237, 255, 76);
  --update-content-initial-position: 400%;
}

@font-face {
  font-family: ABC Diatype;
  src: url(fonts/ABC\ Diatype\ Regular.ttf);
}

@font-face {
  font-family: Hugo;
  src: url(fonts/STKHugo-Regular-Trial.otf);
}

@font-face {
  font-family: Laica;
  src: url(fonts/ABCLaica-Light-Trial.otf);
}

html {
  scroll-behavior: smooth;
}

p {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: underline;
  color: black;
}

.home {
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

img {
  border-radius: 1rem;
  animation: fadeIn 0.5s ease-in-out;
  opacity: 1;
}
body {
  margin-left: 1rem;
  margin-right: 1rem;
  font-family: ABC Diatype;
}

#header {
  font-size: 1.5em;
}

.header-float {
  position: fixed;
}
.header-container {
  font-size: 1rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr;
  gap: 2rem;
}

.nav {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.hero {
  height: 100vh;
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr;
  gap: 2rem;
}

.contact {
  font-size: 2rem;
  font-family: Laica;
  margin-bottom: 10rem;
  margin-top: 4rem;
  text-align: center;
}

.left-column {
  font-size: 3rem;
  font-family: Laica;
}

.address {
  margin-top: 2rem;
  font-family: ABC Diatype;
  display: flex;
  justify-content: flex-start;
  font-size: 1rem;
  gap: 2rem;
}

.address a {
  background-color: rgb(234, 234, 234);
  border-radius: 2rem;
  padding: 1rem;
}

.right-column img {
  width: 100%;
}

.gallery {
  display: flex;
  flex-direction: column;
  gap: 8rem;
}

.image-grid-left {
  display: flex;
  justify-content: left;
  gap: 3rem;
  align-items: center;
}

.image-grid-left p {
  font-family: Laica;
  align-items: center;
  text-align: center;
}

.image-grid-right {
  display: flex;
  justify-content: right;
  gap: 3rem;
}

.image-grid-center {
  display: flex;
  justify-content: center;
  gap: 3rem;
  align-items: center;
}

.image-grid-left img,
.image-grid-right img,
.image-grid-center img {
  width: 30%;
}

.page-divider {
  background-color: red;
}

.footer-container {
  margin-top: 3rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  font-size: 1rem;
  margin-bottom: 2rem;
}
.imprint {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  align-items: center;
}

.footer-el {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sitat {
  font-family: Laica;
  font-size: 2rem;
  text-align: center;
}

.highlight {
}

@media screen and (max-width: 700px) {
  .hero {
    height: 100vh;
    margin-top: 3rem;
    display: grid;
    grid-template-columns: 2fr;
    gap: 1rem;
  }
  .gallery {
    display: grid;
    grid-template-columns: 10fr;
    gap: 10rem;
    align-items: center;
    text-align: center;
  }

  .image-grid-left img,
  .image-grid-right img,
  .image-grid-center img {
    width: 100%;
  }
  .left-column {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    height: auto;
  }
  /* .update {
        background-color: rgb(237, 255, 76);
        position: fixed;
        z-index: 1000;  
        font-size: 1rem;
        width: 90vw;
        margin: 0;
        padding: 1rem;
        border-radius: 1rem;
    }        */
  .hero {
    margin-bottom: 20rem;
  }
  .image-grid-left {
    display: flex;
    flex-direction: column;
    gap: 10rem;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal {
  display: none; /* Hidden initially */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}

/* Modal content box */
.modal-content {
  background-color: rgb(237, 255, 76);
  padding: 1.5rem;
  border-radius: 8px;
  width: 300px;
  height: 200px;
  text-align: left;
  position: relative;
  font-size: 1rem;
}

/* Close button (X) */
.close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  font-size: 1.5rem;
  cursor: pointer;
}

.berry-cartoon {
  position: absolute;
  bottom: 10px;
  right: 20px;
  width: 150px;
}

#update-button,
#update-content {
  position: sticky;
  bottom: 20px;
  padding: 20px;
  transition-property: visibility;
  transition-duration: 2s;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
}

#update-content {
  /* Animation Setup */
  animation-fill-mode: forwards;
  background-color: var(--update-color);
  transform: translateY(var(--update-content-initial-position));
  visibility: hidden;

  /* Visuals */
  height: 40vh;
  font-size: 1rem;
  width: 90%;
  padding: 1rem;
  border-radius: 1rem;

  /* Placing the text within */
  display: flex;
  flex-direction: column;
}

#update-button {
  background-color: white;
  padding: 1rem;
  border: none;
  border-radius: 1rem;

  transition: 0.55s ease-in-out;
}

#update-content #update-date {
  align-self: last baseline;
  background-color: white;
  padding: 1rem;
  border-radius: 1rem;
}

.update-sliding-down {
  animation: slideToBottom 0.5s ease-in-out;
}

.update-sliding-up {
  animation: slideFromBottom 0.5s ease-in-out;
}

@keyframes slideFromBottom {
  from {
    transform: translateY(var(--update-content-initial-position));
    visibility: hidden;
    display: none;
  }
  to {
    transform: translateY(0);
    visibility: visible;
    display: block;
  }
}

@keyframes slideToBottom {
  from {
    transform: translateY(0);
    visibility: visible;
  }
  to {
    transform: translateY(var(--update-content-initial-position));
    visibility: hidden;
  }
}

@media screen and (min-width: 700px) {
  #update-content {
    height: 10vh;
  }
  #update-button {
    margin-left: 20px;
  }
}
