@font-face {
    font-family: 'gronland';
    src: url('../fonts/Gronland-Medium.woff');
}

@font-face {
    font-family: 'roboto';
    src: url('../fonts/RobotoMono-Regular.ttf');
}

:root {
    --background: #f8f8f8;
    --textcolor: black;
}

header {
    position: fixed;
    /* position: sticky; */
    top: 5;
    /* margin-top: 30px; */
    order: -2;
    /* padding-left: 20px; */
    z-index: 9999;
}

.circles {
 
    bottom: 55px;
    left: 45%;
    position: fixed;
    /* margin-top: 120px; */
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
}
.circle {
    transition: background-color 1s ease;  
    border-radius: 50%;
    width: 12px;
    height: 12px;
    border: 2px black solid;
}

.circle-active {
    background-color: black;
}


body {
    background: var(--background);
    box-sizing:border-box;
    /* height: 100svh; */
    display: flex;
    flex-direction: column;
    padding: 0 10px;
    max-width: 100vw;
    max-height: 95vh;
    overflow-y: hidden;

    /* color: white; */
    /* background-color: black; */
    color: var(--background);
    font-family: 'gronland';
    transition: background-color 1s ease, color 2s ease;
    /* transform-style: preserve-3d; */
    /* background-size: 0% 0%; */
    overflow-y: auto;
}

a {
    text-decoration: none;
    color: var(--textcolor);
}


p {
    color: var(--textcolor);
}

h4 {
    font-size: 20px;
    line-height: 1;
    margin: 0;
    margin-bottom: 10px;
    padding: 0;
}

h1 {
    font-size: 75pt;
    margin: 0;
    font-weight: 100;
    line-height: 1;
    /* text-align: left; */
    /* padding-left: 50px; */
}

h2 {
    position: relative;
    font-size: 50pt;
    margin: 0;
    font-weight: 100;
    line-height: 1.3;
    /* border: 3px solid transparent; */
    border-radius: 50px;
    width: fit-content;
    /* padding: 0 15px; */
    /* padding: 0 20px; */
    text-decoration-skip-ink: auto;
    /* text-decoration-color: transparent; */
    text-underline-offset: 6px;
    transition: text-decoration 1s ease;
    transform-origin: left center; 
    text-decoration: underline;
    text-decoration-thickness: 5px;
    text-decoration-color: transparent;
    /* text-align: left; */
    /* padding-left: 50px; */

}

h2:hover {
  text-decoration-color: #BBDAFE;

}


h4 {
    font-size: 20px;
    color: var(--textcolor);
    line-height: 1;
    margin: 0;
    margin-bottom: 10px;
    padding: 0;

}





footer {
    z-index: 99999;
    position: fixed;
    bottom: 5px;
    left: 0;
    width: 100%;
    /* text-align: center; */
    font-size: 20pt;
    font-family: 'gronland';
    padding-left: 17px;
    /* background-color: rgba(255, 255, 255, 0.8); */
}

.header-first-row {
    /* position: absolute; */
    font-weight: 500;
    display: flex;
    flex-direction: row;
    transition: color 1s ease;
    color: var(--textcolor);
    height: auto;
    overflow-y: scroll;
    /* justify-content: center; */
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    left: 20;
    padding: 0;
    /* padding-left: 5px; */
    margin: 0;
    /* background-color: rgba(255, 255, 255, 0.8); */
}

nav {
    opacity: 0;
    display: flex;
    
    position: sticky;
    flex-direction: row;
    top: 0;
    gap: 10px;
    /* justify-content: center; */
    align-items: center;
    padding: 0;
    margin: 0;
    /* background-color: rgba(255, 255, 255, 0.8); */
}

.navigation {
    z-index: 9999;
    order: -2;
    position: sticky;
    top: 10px;
}

.nav-items {
    cursor: pointer;
    width: auto;
    margin: 0;
    border-radius: 20px;
    font-weight: 500;
    font-size: 20px;
    line-height: 22px;
    color: var(--textcolor);
    background: var(--background);
    border: 2px solid var(--textcolor);
    display: inline-flex;
    padding: 0px 9px 1px 9px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    /* transition: box-shadow 0.5s ease; */
    transition: background-color .75s ease, color .5s ease;
    white-space: nowrap;
    
}

#info {
    position: fixed;
    top: 10px;
    right: 17px;
}

.zuhoeren-raum {
    background-color: #BBDAFE;
    color: black;
    border: 1.5px solid #BBDAFE;
    font-size: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: background-color 1s ease, color 1s ease;

}

.nav-items:hover {
    background-color: var(--background) !important;
    color: var(--textcolor) !important;
    border: 2px solid var(--textcolor) !important;
}

.nav-items:hover a {
    color: var(--textcolor) !important;
}


.active {
    background-color: var(--textcolor) !important;
    color: var(--background) !important;
    border: 1.5px solid black !important;
    /* font-size: 24px; */
    /* border: 2px solid white; */
}

.content {
    /* padding-top: 140px; */
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    columns: 100px;
    max-height: 90vh;
    width: 300vw;
    columns: 3;
    column-width: 100vw;
    flex-direction: row;
    overflow-y: auto;
    /* padding-left: 20vw; */
    /* padding-right: 20vw; */
    /* margin-top: 10px; */
    /* margin-bottom: 100px; */
    padding-bottom: 100px;
    /* mask-image: linear-gradient(to bottom, black calc(100% - 48px), transparent 100%); */
    color: #BBDAFE;
    /* overflow:hidden; */
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none; /* Hide scrollbar for IE and Edge */
}


.content::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari, and Opera */
}
content {
    /* padding-top: 140px; */

    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    columns: 100px;
    max-height: 90vh;
    width: 300vw;
    columns: 3;
    column-width: 100vw;
    flex-direction: row;
    overflow-y: auto;
    /* padding-left: 20vw; */
    /* padding-right: 20vw; */
    /* margin-top: 10px; */
    /* margin-bottom: 100px; */
    padding-bottom: 100px;
    /* mask-image: linear-gradient(to bottom, black calc(100% - 48px), transparent 100%); */
    color: #BBDAFE;
    /* overflow:hidden; */
}



.description {
    transition: max-height 1s ease;
    font-size: 14px;
    font-weight: 100;
    margin: 0;
    padding: 0;
    color: var(--textcolor);    
    text-align: left;
    width: 40%;
    max-height: 150px;
}






.sub-page {
    margin-left: 10px;
    transition: margin-top 1s ease, opacity 1s ease;
    display: flex;
    columns: 33%;
    max-width: 100vw;
    flex-direction: column;
    opacity: 0;
    order: 2;
    gap: 20px;
    padding-top: 10px;
    overflow-y: hidden;
    /* transform: scale(.99); */
    transform-origin: center center;
}

.visible {
    transition: margin-left 1s ease, opacity 1s ease;
    opacity: 1;
    margin: 0;
    order: -1;
    z-index: 99;
    transform: scale(1);

}

.hidden {
    margin-left: 10px;
    opacity: 0;
    order: 2;
}
summary {
    width: fit-content;
    border: 2px solid black;
    border-radius: 15px;
    padding: 0 15px;
  }

  summary:hover {
    color: var(--background);
    background-color: black;
    border: 2px solid black;    
  }
  details {
    padding-left: auto;
    margin: 0 10vw;
    margin-bottom: 10px;
    /* margin: 0 auto; */
  }
  details > div {
    /* display: grid; */
    /* grid-template-rows: 0fr; */
    transition: all ease-in-out 0.5s;
  }
  details > div > div {
    overflow: hidden;
  }
  details[open] > div {
    animation: animate 0.15s 0s 1 normal forwards;
    /* height: auto; */
  }

  .images {
    /* transition: transform 1s ease;   */
    columns: 25vw;
    gap: 20px;
    max-width: 100svw;
    
    
    
}


img {
    max-width: 100%;
    border-radius: 15px;
    transition: all 0.5s ease;
    margin-bottom: 20px;
}

.container:hover img {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    /* transform: scale(1.02); */
}   

.container {
    position: relative;
    transition: all 5s ease;
}

.overlay {
    position: absolute;
    pointer-events: none; 
    padding: 5px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* display: none; */
    opacity: 0;
    transition: all 1s ease;
}

.container:hover .overlay {
    pointer-events: auto; 
    display: flex;
    opacity: 1;
    flex-direction: column;
    align-items: left;
    /* justify-content: center; */
   ; /* Adjust the transparency as needed */
}

.text {
    background-color: var(--background);
    width: fit-content;
    padding: 0 10px;
    border: 1.5px solid black;
    border-radius: 20px;
    color: black;
    font-size: 14px;
    font-weight: 500;
    /* box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5); */
    margin-bottom: 4px;
    /* margin: 5px; */
}

.name {
    font-size: 20px;
    font-weight: 500;
    /* margin: 5px; */
}

.container:hover .overlay .text {
    animation: slideIn .5s forwards ease;
    opacity: 0;
}

@keyframes slideIn {
    0% {
        transform: translateY(-10px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Delay each line of text */
.container:hover .overlay .text:nth-child(1) {
    animation-delay: 0s;
}

.container:hover .overlay .text:nth-child(2) {
    animation-delay: 0.1s;
}

.container:hover .overlay .text:nth-child(3) {
    animation-delay: 0.2s;
}


h2:hover {
    /* color: #DDB2FF; */
    /* background-color: black; */
    text-decoration: underline;
}

h3 {
    cursor: pointer !important; 
    transform: scale(.95);
    transform-origin: center center;
    position: fixed;
    width: 50vw;
    font-size: 32px;
    text-align: center;
    font-weight: 100;
    line-height: 1.1;
    color: var(--textcolor);
    /* border: 3px solid transparent; */
    border-radius: 50px;
    margin: 0;
    margin-right: 20px;
    width: fit-content;
        display: flex;
        justify-content: center;
        align-items: center;
    /* word-spacing: 200px; */
    /* padding: 0 15px; */
    /* padding: 0 20px; */
    text-decoration-skip-ink: auto;
    /* text-decoration-color: transparent; */
    /* text-underline-offset: 6px; */
    /* transition: text-decoration 1s ease;
     */
    transform-origin: left center; 
    text-decoration: underline;
    /* text-decoration-thickness: 5px; */
    text-decoration-color: transparent;
 
    /* text-align: left; */
    /* padding-left: 50px; */
}

h3:nth-child(2) {
   
    opacity: 0;
    /* background-color: red !important; */
    padding-top: 7vw;
    /* padding-top: 30vw; */
    padding-left: 20vw;
    padding-right: 20vw;
}

h3:nth-child(3) {
    opacity: 0;
    max-width: 100vw;
    padding-top: 45vh;
    padding-left: 30vw;
    padding-right: 20vw;
    /* background-color: red; */
}

.info {
    position: fixed;
    top: 5px;
    right: 17px;
}

h3:nth-child(1) {
    padding-top: 30vh;
    padding-left: 23vw;
    padding-right: 23vw;
    /* opacity: 0; */
}


