    /* * {
    outline: 1px solid red;
} */

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    background-color: black;
    color: white;
    font-family: "nimbus-sans", sans-serif;
    font-weight: 300;
    font-style: normal;
    margin-top: 0;
    /* margin-right: 1vh; */
    margin-bottom: 0;
    /* margin-left: 1vh; */
    min-height: 100%;
    display: flex;
    flex-direction: column;
  }

main {
    margin-right: 1vh;
}

h2 {
    position: relative;
    font-weight: 400;
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: -1.5vh;
    margin-top: 5vh;
}

h3 {
    position: relative;
    font-size: 2vh;
    margin-bottom: -1.5vh;
    max-width: 89vw;
    font-weight: 400;
    font-style: italic;
}

h4 {
    position: relative;
    font-weight: 400;
    font-size: 3.3vh;
    margin: -0.005vh 0;
    padding: 1vh 0;
}

h5 {
    position: relative;
    font-weight: 400;
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-top: 0;
}

.underscore:hover {
    display: none;
}

header {
    height: 100%;
    display: flex;
    justify-content: flex-end;
    padding-right: 5.5vw;
}

.page-title {
  scroll-margin-top: 10vh;
  z-index: 1000;
}

header>h1>a:first-of-type {
    text-align: right;
    font-weight: 400;
    text-decoration: none;
    color: white;
}

.underscore {
    position: fixed;
    font-weight: 400;
    color: white;
    z-index: -1000;
}

.image-header {
    width: 95.7vw;
    margin-top: -8vh;
    z-index: -2;
}

#header-caption {
    color: #484848;
}

.image-installation-portrait {
    width: 87.5vw;
    height: auto;
    object-fit: cover;
    z-index: 4000;
    padding-bottom: 0.75vh;
}

.text {
    font-size: 2.5vh;
    padding-right: 11vw;
}

.caption {
    font-size: 2vh;
    font-style: italic;
    padding-right: 11vh;
    margin-top: 1vh;
}

img {
    width: 89vw;
    height: auto;
}

video {
    width: 89vw;
    height: auto;
    margin-top: 2vh;
}

/* Carousel Styles */

.carousel {
    position: relative;
    width: 100%;
    /* max-width: 800px; */
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%;
    position: relative;
}

.carousel-img {
    width: 100%;
    display: block;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 10px;
    pointer-events: none; /* Prevents blocking of other interactions */
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.5);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: all 0.3s ease;
    pointer-events: auto; /* Re-enable pointer events for buttons */
    opacity: 0.8;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.8);
    opacity: 1;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    padding: 10px 0;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-indicator.active {
    background: #333;
}

/* Alternative Slider Navigation Styles */
.slider-wrapper {
    position: relative;
    overflow: hidden;
    background-color: black;
}

.slider {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    display: flex;
    cursor: grab;
    -ms-overflow-style: none; /* IE/Edge */
    scrollbar-width: none; /* Firefox */
}

.slider::-webkit-scrollbar {
    display: none; /* Hide scrollbar */
}

.slider:active {
    cursor: grabbing;
}

.slider img {
    scroll-snap-align: start;
    flex: 0 0 100%;
    width: 100%;
    object-fit: contain;
}

.slider-nav {
    position: relative;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    pointer-events: none;
}

.slide-button {
    /* pointer-events: auto; Re-enable for buttons */
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.8;
    color: white;
    font-size: 18px;
}

.slide-button:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.8);
}

.slider-nav button:first-of-type{

}

.slider-nav button:last-of-type{
  margin-left: 70px;
}

/*Audio-Player*/
.audio-track {
  width: 95%;
  height: auto;
  aspect-ratio: 2 / 1;
  background-color: black;
  margin: 3vh auto 0;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.caption-audio {
    align-self: center;
    margin-left: 10vw;
    width: 60%;
}

.player-progress {
    position: absolute;
    background-color: white;
    border-radius: 5px;
    width: 90%;
    height: 0.25rem;
    align-self: end;
    margin-bottom: 1.3vh;
    align-content: center;
    cursor: pointer;
}

.progress {
    background-color:rgba(110, 110, 110, 0.5);
    border-radius: 5px;
    height: 100%;
    width: 0%;
    transition: width 0.1s linear;
}

.music-duration {
    position: relative;
    top: -3.4vh;
    display: flex;
    justify-content: space-between;
}

.player-control {
    position: absolute;
}

.play-button {
    font-size: 50px;
    margin-left: 2rem;
    padding-bottom: 20px;
}

.space-play-button {
    padding: 0.5rem;
}

.navigation ul li {
    border: 2.75px solid white;
    margin: 2rem 0;
    padding: 0 1rem 0 2vw;
    list-style: none;
}

.navigation ul {
    padding: 0;
    margin: 0 0 1vh 0;
}

.navigation ul li:first-child {
    margin-bottom: -2vh;
}


.navigation ul li:last-child {
    margin-bottom: 0;
}

.sep-line {
    z-index: 2000;
    background-color: black;
    border: 3px solid white;
    padding: 1.9vw 2vw 2.5vh 2vw;
    width: 100%;
    box-sizing: border-box;
    margin: 2rem 0;
}

.sep-line:hover, .navigation ul li:hover {
    border: 3px solid black;
}

.sep-line-thin {
    border-top: 3px solid white;
    margin-top: 10vh;
}

.sep-line a, .navigation-link {
    text-decoration: none;
    color: white;
}

.erweiterungs-link {
    text-align: right;
    padding-right: 2vw;
    margin-bottom: -2vh;
}

.erweiterung {
    font-weight: 400;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 4px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .carousel-caption {
        font-size: 14px;
        padding: 10px;
    }
    
    .carousel-btn,
    .slide-button {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    
    .carousel-controls,
    .slider-nav {
        padding: 0 5px;
    }
}

footer {
    border-top: solid 0.1px #303030;
    padding-top: 2vh;
    padding-right: 2vh;
    padding-bottom: 2vh;
    padding-left: 1vh;
    background-color: black;
    bottom: 0;
}

footer ul {
    margin: 0;
    display: flex;
    list-style: none;
    justify-content: space-between;
    padding: 0;
}

footer ul li {
    font-size: 1.8vh;
    color: #484848;
}

footer ul li a {
    text-decoration: none;
    color: #484848;
}

footer ul li a:hover {
    text-decoration: none;
    color: #959595;
}

footer ul li:first-of-type {
    margin: 0;
    padding-left: 2.5vw;
}


.language-toggle i {
    font-size: 1.8vh !important;
    color: #484848 !important;
}

.language-toggle:hover i {
    color: #959595 !important;
}

/* Position the dropdown correctly */
.language-options {
        margin-left: 2vw;
    left: 50% !important;
    /* transform: translateX(-50%) !important; */
    /* top: 100% !important; */
}

.language-selector-container {
    position: relative;
    display: flex;
    align-items: center;
}

.language-toggle {
    background: none;
    color: #484848;
    cursor: pointer;
    padding: 0;
    align-items: center;
    transition: color 0.3s ease;
}

.language-toggle i {
    font-size: 1.3vh;
    display: inline-block;
}

.language-toggle:hover {
    color: #959595;
}

.language-options {
    display: none;
    position: absolute;
    /* left: 100%; */
    top: 60%;
    /* transform: translateY(-50%); */
    background-color: black;
    padding: 1vh 1vw;
    margin-top: 1.5vh;
    white-space: nowrap;
    z-index: 2000;
    max-width: 10%;
    max-height: 1.9vh;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #484848 black;
}

/* Custom scrollbar for Webkit browsers */
.language-options::-webkit-scrollbar {
    height: 1px;
}

.language-options::-webkit-scrollbar-track {
    background: black;
}

.language-options::-webkit-scrollbar-thumb {
    background-color: #000000;
    border-radius: 1%;
    padding-bottom: 2px;
}

.language-options.show {
    display: flex;
    gap: 2vw;
}

.language-option {
    padding: 0.5vh 0.8vw;
    cursor: pointer;
    color: #484848;
    text-decoration: none;
    display: block;
    font-size: 1.5vh;
    transition: color 0.3s ease;
    flex-shrink: 0; /* Prevent options from shrinking */
}

.language-option:hover {
    color: #959595;
}

#language-selector {
    display: none;
}

@media (max-width: 768px) {
    .language-options {
        max-width: 70vw;
        left: 100%;
        transform: none;
        top: -90%;
        padding-left: 5vw;
    }

    .language-options.show {
    display: flex;
    gap: 5vw;
}
}

@media (min-width: 768px) {

    body {
        max-width: 100vw;
        overflow-x: hidden;
    }

    header {
        height: 7vh;
        margin: 0;
        padding: 0 5vw;
        box-sizing: border-box;
    }

    h1 {
        font-size: 3vh;
    }
    
    main {
        width: 80%;
        margin: 0 10vw;
    }

    main .page-heading {
        font-size: 3.7vh;
        margin-bottom: 0;
    }
    
    main h2 {
        font-size: clamp(1.5rem);
        margin-top: 4vh;
        padding-bottom: 1vh;
     }


    h3 {
        font-size: 1.8vh;
        margin-bottom: 0.1rem;
        max-width: 80vw;
        font-weight: 400;
        font-style: italic;
    }

    h4 a {
        font-size: 2rem;
    }
    
    .text {
        font-size: 1.7vh;
        line-height: 1.25;
        width: 100%; 
        max-width: 100%;
    }
    
    .caption {
        font-size: 1.5vh;
        padding-right: 8vw;
        color: #959595;
    }

    .quote {
        width: 80%;
        margin-bottom: 3vh;
    }
    
    img, video {
        width: 100%;
    }
    
    .image-installation-portrait {
        width: 100%;
        max-width: 100%;
    }

    .audio-track {
        margin-top: 1vh;
        width: 95%;
        height: auto;
        aspect-ratio: 3 / 1;
    }

    .play-button {
        padding-left: 7vw;
        margin-right: -2vw;
    }
    

    .carousel {
        margin: 0 0;
        overflow: hidden;
    }

    .accordion {
        width: inherit;
    }

  .accordion-description  {
        margin: 0;
        padding: 0;
        font-size: 1.3rem;
    }

    .slider-wrapper {
        height: 90vh;
    }

    .space-inbetween {
        padding: 0 0;
    }

    footer {
        padding-top: 1vh;
        padding-bottom: 1vh;
    }

    footer li a {
        font-size: 1.2vh;
    }

    .ri-globe-line {
        height: 1.2vh;
    }
}

@media (min-width: 1024px) {

    body {
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    main {
        margin: 0 0;
        padding: 0 0 0 10vw;
        width: 70%;
        flex: 1 1 auto;
    }

    h1 {
        font-size: 2vh;
    }
    
    h2 {
        color: white;
        font-size: 3vh;
        margin-bottom: 2vh;
        padding-top: 7vh;
    }
    
    h3 {
        font-size: 2vh;
        margin-bottom: -1vh;
        padding-top: 2vh;
        font-style: italic;
        max-width: 70vw;
        font-weight: 400;   
    }

    h4 a {
        font-size: 2.5vh;
    }

    
    .text {
        font-size: 1.8vh;
        line-height: 1.2;
    }
    
    .caption {
        font-size: 2vh;
        padding-right: 5vw;
    }

    .quote {
        width: 50vw;
        margin-bottom: 5vh;
    }
    
    img, video {
        padding-right: auto;
        padding-left: auto;
        width: 50vw;
        height: auto;
        align-self: center;
    }

    .text-content {
        max-width: 50vw;
    }
    
    .image-installation-portrait {
        width: 65vw;
    }
    
    header {
        padding-right: 3vw;
    }
    
    .gallery-container {
        position: relative;
        width: 100%;
        aspect-ratio: 9/16;
    }

    .slider-wrapper {
        overflow: hidden;
        width: 65vw;
        height: 100%; /* Take full height of container */
    }

    .slider {
        display: flex;
        height: 100%; /* Important for proper image scaling */
        transition: transform 0.5s ease;
    }

    .slider img {
        width: 100%;
        height: 100%;
        flex-shrink: 0;
        object-fit: cover;
        object-position: right bottom;
    }

    .navigation ul li {
    margin: 2rem 0;
    padding: 0 1rem 0 2vw;
    list-style: none;
    }
    
    footer {
        flex-shrink: 0;
    }

    footer ul li {
        font-size: 1.4vh;
    }

    .language-toggle i {
    font-size: 1.4vh !important;
    color: #484848 !important;
    }
}

@media (min-width: 1440px) {

    body {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        margin: 0 !important;
    }
    
    main {
        margin: 0 auto;
        padding: 0 5%;
        width: 60%;
        flex: 1;
    }

    h2 {
        color: white;
        font-size: 2rem;
        margin-bottom: 1vh;
        margin-top: 2rem;
    }
    
    h3 {
        font-size: 1.8rem;
        margin-bottom: 0.1vh;
        max-width: 60%;
        font-weight: 400;
        font-style: italic;
    }

    h4 a {
        font-size: 2.5vh;
    }
    
    .text {
        width: 100%;
        max-width: 100%;
        font-size: 1.8vh;
        line-height: 1.3;
        padding-right: 5vw;
        margin-bottom: 5vh;
    }

    .text:last-of-type {
        margin-bottom: 0;
        }
    
    .caption {
        font-size: 1.5vh;
        padding-right: 5vw;
        margin-bottom: 5vh;
    }

    .quote {
        width: 50vw;
    }
    
    img, video {
        display: flex;
        width: 50vw;
        height: auto;
        max-height: 100%;
        margin: auto;
    }

    header {
        padding-right: 3vw;
    }
    
    .gallery-container {
        position: relative;
        width: 50vw;
        height: auto;
        aspect-ratio: 9/16;
    }

    .slider-wrapper {
        overflow: hidden;
        width: 100%;
        height: auto;
    }

    .slider {
        display: flex;
        height: 100%;
        transition: transform 0.5s ease;
    }

    .slider img {
        width: 100%;
        height: 50%;
        flex-shrink: 0;
        object-fit: cover;
        object-position: bottom;
}
    
    footer {
        flex-shrink: 0;
    }

    footer ul li {
        font-size: 1.3vh;
    }

    .language-toggle i {
    font-size: 1.3vh !important;
    color: #484848 !important;
}
}

@media (min-width: 2560px) {
    body {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        margin: 0 !important;
    }
    
    main {
        margin: 0 auto;
        padding: 0 5%;
        width: 70%;
        flex: 1;
    }

    h2 {
        color: white;
        font-size: clamp(1rem, 1vw, 1rem);
        margin-bottom: 2vh;
        margin-top: 8vh;
    }
    
    h3 {
        font-size: 1.8vh;
        margin-bottom: 0.1vh;
        max-width: 70vw;
        font-weight: 400;
        font-style: italic;
    }

    h4 {
        font-size: 2.5vh;
    }
    
    .text {
        font-size: 1.5vh;
        padding-right: 5vw;
        padding: 2vh 0;
    }
    
    .caption {
        font-size: 1.3vh;
        padding-right: 5vw;
    }
    
    img, video {
        width: 50vw;
    }
    
    .image-installation-portrait {
        height: auto;
        width: auto;
    }
    
    /* Header adjustments */
    header {
        padding-right: 3vw;
    }
    

    .audio-track {
        margin-top: 0.5vh;
        width: 50vw;
        height: auto;
        aspect-ratio: 5 / 1;
    }

    .play-button {
        padding-left: 7vw;
        margin-right: -2vw;
    }

    .gallery-container {
        position: relative;
        width: 100%; /* Or set a specific width */
        aspect-ratio: 9/16; /* Key change - set your desired proportion */
    }

    .slider-wrapper {
    overflow: hidden;
    width: 65vw;
    height: 100%; /* Take full height of container */
    }

    .slider {
    display: flex;
    height: 100%; /* Important for proper image scaling */
    transition: transform 0.5s ease;
    }

    .slider img {
    width: 100%;
    height: 100%; /* Fill container height */
    flex-shrink: 0;
    object-fit: cover;
    object-position: right bottom; /* Keep your preferred alignment */
    }
    
    footer {
        flex-shrink: 0;
    }

    footer ul li {
        font-size: 1.3vh;
    }

        .language-toggle i {
    font-size: 1.3vh !important;
    color: #484848 !important;
}

}
/* @media (min-height: 1000px) and (min-width: 768px) {
    h2 {
        margin-top: 10vh;
    }
    
    .image-header {
        margin-top: -10vh;
    }
} */