/* ----------------- Navigation Container ----------------- */
.navigation {
  position: absolute;
  top: 30vh;
  left: 30vw;
  z-index: 6;
  background-color: rgba(220, 220, 220, 0);
  /* height: auto; */
  transition: heigth 0.3s ease;
}

/* ---------------Typografie -------------*/
#menufold, #bio, #contactmenu > * {
  font-size: 1.5rem;
}


/* ----------------- Name ----------------- */
#name {
  position: relative;
  display: inline-block;
  z-index: 6;
  width: 28vw;
  height: 8vh;
  white-space: nowrap;
  padding: 1vw;
  background-color: white;
  border: 0.5px solid #000;
  font-size: 2rem;
  transition: all 0.3s ease-out 0.5s;
  font-weight: normal;
}

.navigation:hover #name {
  width: 42vw;
}

.navigation{
  visibility: visible;
}

.menu#registry p{
 animation: pulse 1s infinite ease-in-out;
}


@keyframes pulse {
  0%, 100% {
    opacity:1;
  }
  50% {
opacity: 0.2;  }
}

/* @keyframes pulse {
  0%, 100%{
    letter-spacing: 0;
  }
  50%{
    letter-spacing: 0.2rem;
  }
} */


#bio, #menufold, #imprint {
  position: absolute;
  min-width: 42vw;
  top: 100%;
  left: 0;
  opacity: 1;
  background-color: white;
  border: .5px solid #000;
  border-top: none;
  display: block;
  height: 0;
  padding-left: 1rem;
}

#imprint {
  grid-template-columns: 1fr 2fr 2fr;
  grid-template-rows: 1fr auto;
  display: grid;
  line-height: 0.9rem;
  font-size: 0.8rem;
  overflow: scroll;
  width: 50vw;
}

.impressum {
grid-column: 1/2;
grid-row: 1/2;
position: sticky;
}
.privacy{
grid-column: 2/4;
grid-row: 1/auto;
overflow: scroll;
padding-bottom: 0.5rem;
scrollbar-width: none;
padding-right: 0.5rem;
}



.layout-top #bio, 
.layout-top #menufold, 
.layout-top #imprint, 
.layout-top #contactmenu {
  top: auto;
  bottom: 100%;
  pointer-events: all;
  border-top: solid .5px #000;
  border-bottom: none;
}

.navigation:hover:not(.dragging) #bio {
  height: 200px;
  visibility: visible;
  transition: height 400ms 400ms ease, visibility 0ms;
}
.navigation:hover:not(.dragging) #menufold {
  height: 2rem;
}
.navigation:not(.dragging) #about:hover #imprint {
  height: 200px;
  visibility: visible;
  transition: height 400ms ease, visibility 0ms;
}
.navigation:not(.dragging) #contact:hover #contactmenu {
  height: 4rem;
  pointer-events: all;
}

#bio {
  transition: height 400ms 400ms ease, visibility 0ms 800ms;
  z-index: 5;
  visibility: hidden;
  overflow: hidden;
}

.navigation:hover:not(.dragging) #bio {
  transition-delay: 0ms;
}

#menufold {
  display: grid;
  width: calc(100% + 1px);
  margin: 0 -.5px;
  border: none !important;
  grid-template-columns: repeat(3, 1fr);
  transition: height 400ms 0ms ease;
  padding: 0;
  overflow: hidden;
}

.navigation:hover:not(.dragging) #menufold {
  transition-delay: 400ms;
}

#menufold > * {
  position: relative;
  min-width: 0;
  top: 0;
  padding-left: 1rem;
  border: 0.5px solid #000;
  background-color: white;
}

#about, #contact {
  border-left: none;
}

#contactmenu {
  position: absolute;
  width: 100%;
  top: 100%;
  left: 0;
  width: calc(100% + 1px);
  margin: 0 -.5px;
  display: flex;
  flex-flow: column nowrap;
  height: 0;
  overflow: hidden;
  pointer-events: none;
  transition: height 400ms ease;
}

#contactmenu > * {
  background-color: white;
  border: .5px solid #000;
  padding-left: 1rem;
  height: 2rem;
}

#imprint {
  overflow: hidden;
  height: 0;
  left: -.5px;
  border: solid .5px #000 !important;
  top: calc(100% - .5px);
  visibility: hidden;
  transition: height 400ms ease, visibility 0ms 400ms;
}
/* 
#registry.used{
  background-color: red;
  height: 2rem;
} */

.imprint-left #imprint {
  left: auto;
  right: -.5px;
}

.layout-top #imprint {
  top: auto;
  bottom: calc(100% - .5px);
}

::-webkit-scrollbar {
  display: none;
}






.namemobile {
    position: fixed;
    width: 100vw;
    top: 0;
    visibility: hidden;
    height: auto;
    font-size: 2rem;

    background-color: rgba(255, 255, 255, 0);
    border: black solid 0.5px;
}


/* 
.menustripe {
    position: absolute;
    width: 100vw;
    top: 100%;
    visibility: hidden;
    height: auto;
    font-size: 1.5rem;
    display: flex;
    flex-direction: column;

    background-color: rgba(255, 255, 255, 0);
    border: black solid 0.5px;
} */

.menumobile {
    position: absolute;
    top: 100%;
    flex: 1;
    width: 50vw;
    left: 50vw;
    background-color: white;
    border: black solid 0.5px;
    padding-left: 0.5rem;
    visibility: hidden;
}

#contactmobile {
    left: 0;
    outline-offset: unset;
    visibility: hidden;
}
