
/* ----------------homepage------------------- */
*{
    font-family: 'Helvetica Neue', sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    min-height: 100%;
    overflow-x: hidden;
}

html {
  background-color: lightgray;
  overscroll-behavior-y: none;
}

main{
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

.ÜBER{
 color: black;
 font-size: 14px;
 text-decoration: none;
 border-bottom: none;
 cursor: default;
 justify-content: space-between;
 align-items: flex-start;
}

.PROJEKTE{
 color: black;
 font-size: 14px;
 text-decoration: none;
 border-bottom: none;
 cursor: default;
 justify-content: space-between;
 align-items: flex-end;
}

.navbar {
width: calc(100% - 10px);
height: 22px;
max-height: none;
margin: 0 auto;
border-radius: 9px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 15px 30px;
background: linear-gradient(aqua, rgb(4, 147, 165), 50%);
backdrop-filter: blur(10px);
box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

header{
    position: fixed;
    align-items: center;
    top: 000;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 1px;
    object-position: top;
}

  #home-header {
    z-index: 3000;
    padding: 0;
  }

  #home-about-button,
  #home-close-button {
    position: fixed;
    z-index: 3000;
    display: inline-flex;
    height: 22px;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    border-radius: 9px;
    background: darkgray;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
  }

  #home-about-button {
    top: 10px;
    left: 20px;
    background: darkgray;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
    border: 0;
    color: black;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
  }

  #home-close-button {
    top: 10px;
    left: 20px;
    display: none;
    border: 0;
    color: black;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
    background: darkgray;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
  }

body.modal-open #home-about-button {
    display: none;
}

body.modal-open #home-close-button {
    display: inline-flex;
}

#home-table-frame {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.home-project-links {
  position: fixed;
  top: 0;
  left: -10000px;
  display: flex;
  gap: 8px;
}

.home-project-links a:focus-visible {
  position: fixed;
  top: 42px;
  left: 20px;
  z-index: 3001;
  width: 120px;
  height: 150px;
  outline: 2px solid white;
}

.home-project-links img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.PROJEKTE:hover {
  transform: scale(1.25);
  transition-delay: 0s;
}

.ÜBER:hover {
  transform: scale(1.25);
  transition-delay: 0s;
}

.Layout-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nachbar-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.Orchis-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.Mdm-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.Waldgarten-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.Annablume-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: none;
}

::view-transition-new(root) {
  animation: project-rise 800ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes project-rise {
  from {
    opacity: 0.68;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-new(root) {
    animation-duration: 1ms;
  }
}

#home-content {
  position: fixed;
  inset: 0;
  overflow: hidden;
  transition: filter 350ms ease;
}

body.modal-open {
  overflow: hidden;
}

#home-content.is-blurred {
  filter: blur(5px);
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
}

.project-modal.is-active {
  pointer-events: auto;
}

.project-modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(18, 18, 18, 0.2);
  opacity: 0;
  backdrop-filter: blur(0);
  transition: opacity 400ms ease, backdrop-filter 400ms ease;
  cursor: default;
}

.project-modal.is-active .project-modal-backdrop {
  opacity: 1;
  backdrop-filter: blur(4px);
}

.project-sheet {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: transparent;
  transform: translateY(100%);
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.project-modal.is-active .project-sheet {
  transform: translateY(0);
}

#project-frame {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
}

@media (prefers-reduced-motion: reduce) {
  #home-content,
  .project-modal-backdrop,
  .project-sheet {
    transition-duration: 1ms;
  }
}

