@import url('https://fonts.googleapis.com/css?family=Stalinist+One');

* {
    color: blue;
    font-family: Arial, Helvetica, sans-serif;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-y: hidden;
    position: relative;
    height: 100%!important;
    background: black;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
}

h2, h3, h4, h5, h6 {
    font-size: 1em;
}

h2 {
    margin-top: 0;
}

/* h1, h2 {
    font-style: italic;
    font-size: .9em;
    margin: 0;
    font-family: "Stalinist One";
} */

.info__button {
    position: fixed;
    right: 0;
    top: 0;
    z-index: 4000;
    cursor: pointer;
    transition: all .1s linear;
}

.overlay {
    position: fixed; 
    height: 100%; 
    width: 100vw; 
    top: 0; 
    left: 0;
}
    .overlay--load {
        background: black; 
        z-index: 5000;
        opacity: 1;
        transition: opacity 1s linear;
    }

    body.loaded .overlay--load {
        opacity: 0;
        pointer-events: none;
    }

    .fancybox-active .overlay--name {
        opacity: 0;
    }

    .overlay--name {
        pointer-events: none;
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        z-index: 5010;
        font-size: 4em;
        text-align: center;
        color: blue;
        position: fixed;
        top: 0;
        left: 0;
        height: 200px;
        width: 200px;
        padding: 5px;
        opacity: 1;
        transition: opacity .1s linear;
    }

.hccontent {
    /* max-width: 700px; */
    display: grid;
    /* align-items: center; */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    max-width: 90%;
}

.hccontent div {
    padding-right: 3em;
}

.hccontent.single {
    max-width: 550px;
}

#slides_viewport {
    height: 100%;
}

#slides_container {
    height: 100%;
    display: flex;
    justify-content: start;
    align-items: flex-start;
    cursor: grab;
}
#slides_container:active {
    cursor: grabbing;
}

#slides_container_inner {
    height: 100%;
    box-sizing: border-box;
    display: flex;
}

.slide {
    display: inline;
    font-size: 0;
    position: relative;
    height: 100%;
    margin-left: -1px;
}

.slide img {
    height: 100%;
    width: auto;
}

.clickable_overlay {
    position: absolute;
    opacity: 0;
    z-index: 1000;
    cursor: pointer;
    mix-blend-mode: overlay;
    background:url(
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAG0lEQVQYV2NkYPj/n4GBkZEBCuAMLAIQlRgqAK7eBAXw3ZoaAAAAAElFTkSuQmCC
   ) repeat;
    transition: .2s linear;
}

.clickable_overlay:hover {
    opacity: 1;
    /* background: blue; */
}

/* === FB === */

.data-fancybox-close {

}

#slides_viewport {
    transition: .2s linear;
}

body.fancybox-active #slides_viewport {
    filter: blur(8px);
    transform: scale(1.02);
}

.fancybox-bg {
    background: #fff;
}
.fancybox-is-open .fancybox-bg {
    opacity: .2;
}

.fancybox-caption {
    background: none;
    font-size: 2em;
    text-align: left;
    padding: 10px;
    line-height: normal;
}
    .fancybox-caption p {
        margin: 0;
    }

.fancybox-content {
    background: none;
    padding: 10px;
}
    .fancybox-content p {
        margin-top: 0;
    }
    .fancybox-content h2 {
        margin-top: 0;
    }

.fancybox-slide--html {
    text-align: left;
    height: auto;
    overflow: auto;
    max-height: 100%;
    -webkit-overflow-scrolling: touch;
}

.fancybox-button {
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    cursor: pointer;
    display: inline-block;
    height: auto;
    margin: 0;
    padding: auto;
    position: relative;
    transition: color .2s;
    vertical-align: top;
    visibility: inherit;
    width: auto;
    color: blue;
}

.fancybox-active .info__button {
    opacity: 0;
    pointer-events: none;
}

.fancybox-button:hover {
    color: blue
}

.button--topr {
    padding: 10px;
    font-size: 2em;
}


button {
    border: none;
    margin: 0;
    padding: 0;
    width: auto;
    overflow: visible;

    background: transparent;

    /* inherit font & color from ancestor */
    color: inherit;
    font: inherit;

    /* Normalize `line-height`. Cannot be changed from `normal` in Firefox 4+. */
    line-height: normal;

    /* Corrects font smoothing for webkit */
    -webkit-font-smoothing: inherit;
    -moz-osx-font-smoothing: inherit;

    /* Corrects inability to style clickable `input` types in iOS */
    -webkit-appearance: none;
}

@media (max-width: 700px) {
    h1 {
        font-size: 1em;
    }
    .hccontent {
        max-width: 100%;
    }
}