    /* * {
    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: 100vh;
    display: flex;
    flex-direction: column;
  }
/* 
  body::before {
    content: "";
    background-image: url(/Media/Images/missing-link-img-synagogue-grafik.webp);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    opacity: 0.9;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
} */

  main {
    flex: 1;
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    min-width: 100%;
    overflow-x: hidden;
}

h4 {
    position: relative;
    font-weight: 400;
    font-size: 3.3vh;
    margin: -0.005vh 0;
    padding: 1vh 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;
}

.navigation {
    width: 40vw;
    text-align: center;
}

/* List styles */
.navigation ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

/* List item styles */
.navigation ul li {
    border: 2.75px solid white;
    margin: 2rem 0;
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center; /* Centers vertically (if needed) */
        background-color: black;
}

/* Remove margin from last item */
.navigation ul li:last-child {
    margin-bottom: 0;
}

/* Link styles */
.navigation-link {
    text-decoration: none;
    color: white;
}

@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 .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;
    }
}

@media (min-width: 1024px) {

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

    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;
    }
    
    header {
        padding-right: 3vw;
    }
}

@media (min-width: 1440px) {

    body {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        margin: 0 !important;
    }

    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;
    }

    header {
        padding-right: 3vw;
    }
}


@media (min-width: 2560px) {
    body {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        margin: 0 !important;
    }

    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;
}

}