figure {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

figure img {
    max-width: 100%;
    max-height: 80vh;
}

figcaption {
    font-size: 11pt;
}

video {
    max-width: 100%;
    max-height: 95vh;
}

pre, code {
    -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4;
    color: #d1d5db !important;
    background-color: #232327 !important;
    border-radius:4px;
}

pre {
    overflow: scroll;
    padding: 6px;
}


.main_footer {
    padding-top: 32px;
}


.exp_slides {
    display: none;
}

.square-image {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 1/1;
    cursor: pointer;
}

.horizontal-image {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 3/2;
    cursor: pointer;
}


.main_frame {
    margin-top: 16px;
    margin-bottom: 16px;
    padding-left: 8px;
    padding-right: 8px;
}

#fullpage {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background-color: #1e201c;
}

#fullpage_img {
    width: 95vw;
    height: 90vh;
    margin-left: auto;
    margin-right: auto;
    background-size: contain;
    background-repeat: no-repeat no-repeat;
    background-position: center center;
    cursor: pointer;
}

#photos {
    /* Prevent vertical gaps */
    line-height: 0;
    -webkit-column-count: 3;
    -webkit-column-gap: 16px;
    -moz-column-count: 3;
    -moz-column-gap: 16px;
    column-count: 3;
    column-gap: 16px;
}

#photos .photo_item {
    margin-bottom: 16px;
    cursor: pointer;
    line-height: 1.5;
}

#photos img {
    /* Just in case there are inline attributes */
    width: 100% !important;
    height: auto !important;
}


.clickable {
    cursor: pointer;
}

.no_decoration {
    text-decoration: none;
}

@media (max-width: 1000px) {
    #photos {
        -moz-column-count: 3;
        -webkit-column-count: 3;
        column-count: 3;
    }

}

@media (max-width: 800px) {
    #photos {
        -moz-column-count: 2;
        -webkit-column-count: 2;
        column-count: 2;
    }

}

@media (max-width: 400px) {
    #photos {
        -moz-column-count: 1;
        -webkit-column-count: 1;
        column-count: 1;
    }
}




.dk-logo {
    font-size: 4rem;
    color: #fff;
    text-align: center;
    margin-top: 0;
    text-shadow: 0 0 10px #a0c9f0, 0 0 20px #a0c9f0, 0 0 30px #a0c9f0;

}

.dk-button {
    color: #fff !important;
    background-color: #000 !important;
    transition: all 0.3s ease;
    text-shadow: 0 0 6px #f5f5f5;
}

.dk-button:hover {
    color: #fff !important;
    background-color: #00000000 !important;
    box-shadow: 0 0 4px #fff, 0 0 6px #28f7ec, 0 0 10px #e7e7e7;
    text-shadow: 0 0 6px #f5f5f5, 0 0 8px #d1d1d1;
}

.dk-background {
    color: #fff !important;
    background-color: #000 !important;
    text-shadow: 0 0 2px #f5f5f5;
}

.dk-sub-background {
    color: #d1d5db !important;
    background-color: #353535 !important
}

.dk-h {
    text-shadow: 0 0 2px #f5f5f5, 0 0 4px #d1d1d1, 0 0 6px #d1d1d1;
    transition: all 0.3s ease;
}

.dk-link {
    text-shadow: 0 0 2px #f5f5f5, 0 0 4px #d1d1d1, 0 0 6px #d1d1d1;
    transition: all 0.3s ease;
    text-decoration: none;

}

.dk-link:hover {
    text-shadow: 0 0 2px #fff, 0 0 6px #28f7ec, 0 0 8px #f5f5f5, 0 0 10px #d1d1d1, 0 0 12px #d1d1d1;
    text-decoration: none;
}



.dk-glow-image {
    transition: all 0.3s ease;
}

.dk-glow-image:hover {
    box-shadow: 0 0 2px #fff, 0 0 4px #28f7ec, 0 0 8px #f5f5f5, 0 0 10px #d1d1d1, 0 0 12px #d1d1d1;
    border-color: #fff;
}

.dk-wide-text {
    text-align: justify;
    text-justify: inter-word;
}

/* CUSTOM W3.CSS Colors */

.w3-border-turquoise,
.w3-hover-border-turquoise:hover {
    border-color: #38bdf8 !important;
}

.w3-border-purple-soft,
.w3-hover-border-purple-soft:hover {
    border-color: #a78bfa !important;
}