body {
    overflow: visible;
    /* show scrollbars */
}

:is(h1, h2, h3, h4, h5, h6) {
    line-height: 110%;
}


/* columns */

#two-columns{
    width:100%;
    display: flex;
    justify-content: center;
}

#holder-svg{
    display: flex;
    justify-content: center;
    align-items: center;
    width:70%;
    visibility:hidden;
    text-align: center;
}

#dynamic-div{
    width:30%;
    padding:3rem;
}

#div_title,
#div_category{
    margin-bottom: 1rem;
}

#div_photo{
    margin:2rem 0;
}

#nav_next,
#nav_top_next{
    text-align: right;
}

#div_photo img{
    width:100%;
}

/* SVG part  */

#holder-svg svg {
    height:auto;
    max-height: 90vh;
    width:100%;
    
}

/* mousetip */

#mousetip{
    position: fixed;
    top:0;
    left:0;
    background-color: white;
    padding:0.8rem 1rem;
    border-radius: 5%;
    visibility: hidden;
}

#mousetip,
#mousetip_text {
    pointer-events: none;
}

/* gele pijl */

.arrow {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 150px;
    color:yellow;
    opacity: 0; 
    pointer-events: none; /* Zorg ervoor dat de pijl geen interacties blokkeert */
}

/* dynamic div */



#div_foto img {
    width: 100%;
}

#dynamic-div {
    overflow: visible;
}

#fotolink,
#videolink {
    display: block;
    width: 100%;
    padding: 1rem;
    border: 1px solid #007bc7;
    text-align: center;
    margin-bottom: 1rem;
    cursor:pointer;
    background-color: white;
}

#fotolink:hover,
#videolink:hover {
    background-color: #E8E8E8;
}

.nav-arrows{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding:1rem;
}

/* lightbox */
/* Algemene layover styling */
#layover {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overflow:auto;
}

.hidden {
    display: none !important;
}

.layover-content {
    padding: 2rem;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: auto;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    background: black;
    color:white;
    border: none;
    font-size: 30px;
    cursor: pointer;
    z-index:100;
}

.close-btn:focus {
    outline: 3px solid #ff0000; /* Rode focusring om de sluitknop */
    outline-offset: 2px; /* Afstand tussen de knop en de focusring */
}

video {
    width: 100%;
    height: auto;
}

#link-transcript,
#toggleSubtitlesBtn {
    background: none;
    border: none;
    color: #fff; /* Witte tekstkleur */
    text-decoration: underline; /* Onderstreping zoals een link */
    cursor: pointer;
    font-size: 16px;
    padding: 0;
    margin: 10px 0;
}

#link-transcript:hover,
#toggleSubtitlesBtn:hover {
    color: yellow; /* Lichte kleur bij hover voor visuele feedback */
}


.slideshow-container {
    position: relative;
    width: 100%;
    height: auto;
    text-align: center;
}

.slide {
    display: none;
}

.active-slide {
    display: block;
}

.slide img {
    max-width: 100%; 
    max-height: 80vh; 
    display: block; 
    margin: auto;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: #fff;
    font-weight: bold;
    font-size: 24px;
    background-color: rgba(0,0,0,0.5);
    border: none;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    transform: translateY(-50%);
}

.prev{
    left:0;
    border-radius: 0 3px 3px 0;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.caption-text {
    margin-top: 15px;
    font-size: 18px;
    color: #fff;
    text-align: center;
    width:100%;
}

@media screen and (max-width: 600px) {
    .layover-content {
        width: 100%;
        height: 100%;
        border-radius: 0;
        padding: 10px;
    }

    .prev, .next {
        font-size: 18px;
        padding: 12px;
    }

    .caption-text {
        font-size: 16px;
    }
}


@media (max-width: 1100px){
   
    
    #holder-svg{
        width:60%;
    }
    
    #dynamic-div{
        width:40%;
    }

}


@media (max-width: 1000px){
    #two-columns{
        flex-direction: column;
    }
    
    #holder-svg{
        width:100%;
    }
    
    #dynamic-div{
        width:100%;
    }

    #mousetip{
        display: none;
    }
}



@media (min-width: 1000px) {
    body {
        overflow: hidden;
        /* Hide scrollbars */
    }

    #dynamic-div {
        height:100vh;
        overflow-y: scroll;
        padding-bottom:2rem;
    }

    #nav-top {
        display: none;
    }
}

