/* FONTS */
@font-face {
    font-family: 'Gotham-Bold';
    src: url('../fonts/Gotham-Bold.otf');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Gotham-Book';
    src: url('../fonts/Gotham-Book.otf');
    font-weight: normal;
    font-style: normal;
} 
h1{
    font-size: 40px;
    margin: 0;
    font-family: Gotham-Bold;
}
h2{
    font-size: 20px;
    margin: 0;
    font-family: Gotham-Bold;
}
.text{
    display: block;
    font-family: Gotham-Book;
    font-size: 16px;
    width: 97%;
}

/* COLORS */
:root {
  --blue: #0A9BD8;
  --yellow: #FDD400;
  --green: #7FBA57;
  --vh: 100vh; /* Fallback */
}

/* GENERAL */
html, body{ 
    margin: 0; 
    position: absolute;
    width: 100%;
    height: 100%; 
    overflow: hidden; 
    font-family: Gotham-Book;
    /* background-color: #000; */
}

/* SIDENAV */
#toggleSidenav {
    position: fixed;
    top: 15px;
    left: 15px;
    width: 60px;
    height: 60px;
    box-sizing: border-box;
    z-index: 1001;
    background-color: var(--blue);
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 30px;
}
#toggleSidenav:hover, #toggleLang:hover{
    background-color: var(--yellow);
    color: #000;
}
#toggleLang{
    width: 180px;
    position: fixed;
    top: 15px;
    left: 85px;
    height: 60px;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-sizing: border-box;
    z-index: 1001;
    background-color: var(--blue);
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 16px;
    font-family: Gotham-Book;
    display: none;
}
#toggleLang.open{
    display: flex;
}
.active{
    background-color: var(--yellow) !important;
    color: #000 !important;
}
.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    left: 0;
    top: 0;
    background-color: #fff;
    overflow-x: hidden;
    transition: width 0.3s;
    padding-top: 100px;
    z-index: 1000;
}
.sidenav.open {
    width: 300px;
}
.sidenav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    margin-bottom: 100px;
    padding-bottom: 30px;
    box-sizing: border-box;
}
.sidenav li {
    padding: 12px 15px;
    color: #000;
    cursor: pointer;
    transition: background-color 0.2s;
}
.sidenav li:hover {
    background-color: var(--yellow);
    color: #000;
}
.sidenav-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.icon-left {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px; /* optional: damit Icon auf Text-Höhe sitzt */
}


/* BUTTONS */
.btn{
    background-color: var(--blue);
    cursor: pointer;
    color: #fff;
}
.btn:hover{
    background-color: var(--yellow);
    color: #000;
}
.enter{
    width: 300px;
    height: 80px;
    border-radius: 100px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    font-family: Gotham-Bold;
}

#fullscreenImg{
    max-height: 100vh;
    max-width: 100vw;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
    transition: transform 1s ease-in-out;
}

.zoomed {
  transform: scale(1.3);
}

#pano{ 
    width: 100%; 
    height: 100%; 
}

#pano.zoom-effect {
  animation: zoomInEffect 1.5s ease both;
  transform-origin: center center;
}

@keyframes zoomInEffect {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.2);
  }
}

#info{
    width: 50px;
}

.logo{
    width: 80%;
}


/* OVERLAY */
body.no-scroll{
    overflow: hidden !important;
    height: 100vh;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-sizing: border-box;
}
.overlay-content {
    background: #fff;
    width: 90vw;
    height: 90vh;
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0px;
}
.overlayContainer{
    width: 90%;
    height: 68%;
    max-height: 68%;
    overflow-y: auto;
    overflow-x: hidden;
    position: absolute;
    top: 56%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-start;
}
.wrapperTop{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 30px;
}
.wrapperBottom{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 30px;
}
.leftContainer, .rightContainer{
    width: 40%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}
.rightContainer{
    margin-left: 30px;
}
.btnGallery{
    width: fit-content;
    height: 50px;
    border-radius: 50px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding-left: 30px;
    gap: 10px;
    box-sizing: border-box;
    padding-right: 30px;
    color: #fff;
}
.headlineContainer{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 5px;
}
.logoContainer{
    width: 180px;
    height: 180px;
    aspect-ratio: 1 / 1;
    border: 4px solid var(--green);
    border-top-left-radius: 50px;
    border-bottom-right-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}
.urlContainer{
    width: 180px;
    min-width: 180px;
    max-width: 180px;
    height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
}
.urlContainer span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.iconContainer{
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.close {
    position: absolute;
    top: 0;
    right: 0;
    width: 60px !important;
    height: 60px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.icon{
    width: 80%;
    height: auto;
    fill: #fff;
}
.iconSmall{
    width: 20%;
    height: auto;
}
#topBars{
    width: 100%;
    height: auto;
}
#bottomBars{
   width: 100%;
    height: auto;
}
.textWrapper {
    max-height: 120px;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 20px;
}
.textWrapper.has-fade {
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}
.textWrapper.expanded {
    max-height: 220px;
    overflow: auto;
    mask-image: none;
    -webkit-mask-image: none;
}
.toggleTextBtn {
    background: none;
    border: none;
    color: var(--blue);
    cursor: pointer;
    font-size: 16px;
    margin-top: 8px;
    padding: 0;
    font-family: Gotham-Bold;
}
.toggleTextBtn:hover{
    color: var(--yellow);
}
.galleryPreview {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 20px;
}
.galleryThumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
}
.galleryZoom {
    width: 60px;
    height: 60px;
    background: var(--blue);
    border: none;
    padding: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.galleryZoom:hover{
    background: var(--yellow);
}

/* STAGE OVERLAY */
ul{
    margin: 0;
}
.filled{
    border: none;
    background-color: var(--green);
}



/* FOYER OVERLAY */
.logoBox{
    display: flex;
    width: 90%;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 20px;
    box-sizing: border-box
}
.initiator{
    width: 33%;
    min-width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}
.initiator img{
    width: 70%;
    height: auto;
}


/* SLIDESHOW */
.modalContainer{
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    background-color: rgb(0, 0, 0);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 200000;
}

.modalWrapper{
    width: 60%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: rgba(255,255,255,0.1);
}

#modal-close{
    z-index: 4000;
}

.modalWrapper img,
.modalWrapper video {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    z-index: 2500;
}

#prevModal, #nextModal{
    width: 60px;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    background-color: rgba(10, 155, 216, 0.4);
    height: 40%;
    padding: 7px;
    cursor: pointer;
    box-sizing: border-box;
    z-index: 4000;
}

#prevModal:hover, #nextModal:hover{
    background-color: var(--yellow);
}

#nextModal{
    right: 0;
}

#prevModal{
    left: 0;
}

/* TOOLTIP */
#tooltipContainer{
    width: 250px;
    height: 60px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    position: absolute;
    top: 15px;
    left: 110px;
    gap: 5px;

    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
    animation: fadeIn 1s ease 2s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        visibility: visible;
    }
}

#tooltip{
    background-color: var(--yellow);
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    border: 2px solid var(--yellow);
    color: #000;
    padding-left: 15px;
    padding-right: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
    box-sizing: border-box;
}
#tooltipClose{
    align-self: flex-start;
    cursor: pointer;
}



/* SCROLLBAR */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb {
    background-color: var(--blue);
    border-radius: 5px;
    border: 2px solid #f0f0f0;
}
::-webkit-scrollbar-thumb:hover {
    background-color: var(--yellow);
}




@media screen and (max-width: 768px) {
    /* --- OVERLAY INHALT UMSCHALTEN --- */
    .overlay{
        align-items: flex-start;
    }
    .overlay-content {
        flex-direction: column;
        height: 100%;
        width: 100%;
        overflow-y: auto;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .overlayContainer {
        flex-direction: column;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        height: 100%;
        max-height: none;
        position: relative;
        padding: 20px;
        box-sizing: border-box;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .wrapperTop,
    .wrapperBottom {
        flex-direction: column;
        gap: 20px;
    }

    .leftContainer,
    .rightContainer {
        width: 100%;
        margin-left: 0;
        margin-top: 20px;
    }

    /* --- LOGO + URL BLOCKS --- */
    .logoContainer,
    .urlContainer {
        width: 50%;
    }
    .logoContainer{
        aspect-ratio: 1/1;
    }

    .urlContainer span {
        font-size: 14px;
    }

    /* --- SLIDESHOW / MODAL --- */
    .modalWrapper {
        width: 90%;
    }

    #prevModal,
    #nextModal {
        width: 40px;
        height: 30%;
    }

    /* --- BUTTONS --- */
    .btnGallery {
        width: 100%;
        justify-content: center;
        padding: 10px 20px;
    }

    .galleryPreview {
        justify-content: center;
    }

    .galleryThumb {
        width: 50px;
        height: 50px;
    }

    .galleryZoom {
        width: 50px;
        height: 50px;
        padding: 10px;
    }

    /* --- TEXT BEREICHE --- */
    .textWrapper {
        max-height: 100px;
        margin-top: 10px;
    }

    .textWrapper.expanded {
        max-height: none;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 18px;
    }

    .text {
        font-size: 14px;
    }

    /* --- SIDENAV --- */
    .sidenav.open {
        width: 100vw;
        padding-top: 80px;
    }

    .sidenav li {
        font-size: 18px;
    }

    #toggleSidenav {
        font-size: 26px;
        padding: 8px 12px;
    }

    .enter{
        width: 150px;
        height: 60px;
        font-size: 18px;
    }

    .logoBox{
        width: 100%;
    }
}



@media screen and (max-width: 1024px) {
    .overlay{
        align-items: flex-start;
    }

    .overlay-content {
        flex-direction: column;
        height: 100dvh;
        width: 100%;
        overflow-y: auto;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .overlayContainer {
        position: absolute;
        display: block;
        flex-direction: column;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        height: 100%;
        max-height: none;
        position: relative;
        padding: 30px;
        box-sizing: border-box;
    }

    .wrapperTop,
    .wrapperBottom {
        flex-direction: column;
        gap: 30px;
    }

    .leftContainer,
    .rightContainer {
        width: 100%;
        margin-left: 0;
        margin-top: 30px;
    }

    .logoContainer,
    .urlContainer {
        width: 180px;
    }

    .textWrapper {
        max-height: 140px;
        margin-top: 15px;
    }

    .textWrapper.expanded {
        max-height: none;
    }

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 20px;
    }

    .text {
        font-size: 15px;
    }

    .modalWrapper {
        width: 85%;
    }

    .galleryThumb {
        width: 60px;
        height: 60px;
    }

    .galleryZoom {
        width: 60px;
        height: 60px;
    }

    .logoBox{
        width: 100%;
    }
}

@media screen and (max-height: 800px) {
    .textWrapper.expanded {
        max-height: none;
    }
}