html {
    margin: 0;
    padding: 0;

    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
    user-select: none;

    -ms-overflow-style: none;
    scrollbar-width: none;
    overflow-x: hidden;

    font-family: "Montserrat", sans-serif;
}

body {
    height: 100vh;
    margin: 0;
    padding: 0;
    scrollbar-width: none;
}

::-webkit-scrollbar {
    display: none;
}

/* HERO SECTION */
#hero {
    width: 100vw;
    height: 100vh;

    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    background-image: url("/static/img/background.jpg"), linear-gradient(#000, #000);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

#hero-text {
    color: #ffffff;
    
    font-weight: 900;
    font-size: 8em;
}

#ias-logo {
    bottom: 0px;
    width: 200px;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
}

#scroll-cta {
    position: absolute;
    bottom: 20px;
    color: #ffffff;
    opacity: .2;
    cursor: pointer;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    font-weight: 200;
}

#scroll-text {
    margin: 0;

    font-weight: 400;
    font-size: 15px;
}

#scroll-icon {
    top: -2px;
    position: relative;

    -webkit-animation: .9s bounce-top 2s both infinite;
    animation: .9s bounce-top 2s both infinite;
}

.scroll-prevention {
    overflow-y: hidden !important;
}

/* IMAGE WALL */
#imgs-wrapper {
    line-height: 0;
    -webkit-column-count: 5;
    -webkit-column-gap: 0px;
    -moz-column-count: 5;
    -moz-column-gap: 0px;
    column-count: 5;
    column-gap: 0px;      
    
    background-color: #000000;
}

.img-infos {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #00000000;
    color: #ffffff00;
    z-index: 9;
    
    transition-property: all;
    transition-duration: 300ms;
}

.img-wrapper:hover > .img-infos {
    background-color: #00000070;
    color: #ffffff;
}

.img-wrapper {
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.img-wrapper.landscape {
    width: 100% !important;
    height: 66.66% !important;
}

.img-wrapper.portrait {
    width: 100% !important;
    height: 133.33% !important;
}

.img-name {
    font-weight: 600;
    font-size: 20px;
    color: #ffffff00;
    
    transition-property: color;
    transition-duration: 300ms;
}

.img-wrapper:hover .img-name {
    color: #ffffffff;
}

.img-infos,
.img-exifs,
.img-exif  {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.img-exif-icon {
    margin-left: 9px;
}

.img-exif-text {
    margin-left: 3px;
    font-size: 10px;
    font-weight: 500;
}

.img-infos {
    flex-direction: column;
}

.fraction {
    display: flex;
    flex-direction: column;
    font-size: 10px;
}

.img-wrapper:hover .divisor {
    border-bottom: 1px solid #ffffffff;
}

.divisor {
    border-bottom: 1px solid #ffffff00;
    height: 12px;
    line-height: 12px;
    margin: 0;
    display: block;
    text-align: center;
}

.divident {
    height: 12px;
    line-height: 12px;
    margin: 0;
    display: block;
    text-align: center;
}

.img-location {
    margin: 15px 0 0px 0px;
    font-size: 8px;
    text-transform: uppercase;
    opacity: .8;
}

#image-container {
    transform: scale(1.2);
    transform-origin: center;

    transition-property: all;
    transition-duration: 300ms;
    transition-delay: 1s;
}

.photo {
    width: 100% !important;
    height: auto;
    filter: blur(25px);
    z-index: 1;

    transition-property: all;
    transition-duration: 300ms;
}

#dark-screen {
    top: 0;
    left: 0;
    position: fixed;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 0;
    background-color: #00000000;
    visibility: hidden;
    
    transition-property: all;
    transition-duration: 300ms;
}

#dark-screen.opened {
    opacity: 1;
    background-color: #000000c0;
    visibility: visible;
}

#enlarged-image {
    filter: blur(1000px);
    opacity: 0;

    transition-property: all;
    transition-duration: 300ms;
}

#dark-screen.opened #enlarged-image {
    filter: blur(1000px);
    opacity: 1;
}

@media (max-width: 1200px) {
    #imgs-wrapper {
        -moz-column-count: 4;
        -webkit-column-count: 4;
        column-count: 4;
    }
}

@media (max-width: 1000px) {
    #imgs-wrapper {
        -moz-column-count: 3;
        -webkit-column-count: 3;
        column-count: 3;
    }

    #scroll-cta {
        bottom: 60px;
        transform-origin: bottom center;
        transform: scale(1.25);
    }
}

@media (max-width: 800px) {
    #imgs-wrapper {
        -moz-column-count: 2;
        -webkit-column-count: 2;
        column-count: 2;
    }

    #scroll-cta {
        bottom: 60px;
        transform-origin: bottom center;
        transform: scale(1.25);
    }
}
    
    @media (max-width: 400px) {
        #imgs-wrapper {
            -moz-column-count: 1;
            -webkit-column-count: 1;
            column-count: 1;
        }
        
        #scroll-cta {
            bottom: 60px;
            transform-origin: bottom center;
            transform: scale(1.25);
        }
}
    
@-webkit-keyframes bounce-top {
        0% {
        -webkit-transform: translateY(11px);
        transform: translateY(11px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
        opacity: 1;
    } 24% {
        opacity: 1;
    } 40% {
        -webkit-transform: translateY(3px);
        transform: translateY(3px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    } 65% {
        -webkit-transform: translateY(3px);
        transform: translateY(3px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    } 82% {
        -webkit-transform: translateY(1.5px);
        transform: translateY(1.5px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    } 93% {
        -webkit-transform: translateY(1px);
        transform: translateY(1px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    } 25%, 55%, 75%, 87% {
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    } 100% {
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
        opacity: 1;
    }
}

@keyframes bounce-top {
    0% {
        -webkit-transform: translateY(11px);
        transform: translateY(11px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
        opacity: 1;
    } 24% {
        opacity: 1;
    } 40% {
        -webkit-transform: translateY(6px);
        transform: translateY(6px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    } 65% {
        -webkit-transform: translateY(3px);
        transform: translateY(3px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    } 82% {
        -webkit-transform: translateY(1.5px);
        transform: translateY(1.5px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    } 93% {
        -webkit-transform: translateY(1px);
        transform: translateY(1px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    } 25%, 55%, 75%, 87% {
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    } 100% {
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
        opacity: 1;
    }
}  


/* OPENED IMAGE */
#zoom-image {
    flex-shrink: 0 !important;

    transform: scale(1.5);
    filter: blur(100px);

    transition-property: all;
    transition-duration: 300ms;
}

#zoom-image.horizontal {
    height: 100% !important;
    width: auto !important;
}

#zoom-image.vertical {
    height: auto !important;
    width: 100% !important;
}

#zoom-image.loaded {
    transform: scale(1);
    filter: blur(0);
}

#load-image-wrapper {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
    z-index: 0;
    overflow: hidden;
}

#load-image-wrapper.vertical {
    width: 100vw;
    max-height: 100vh;
    height: auto;
}

#load-image-wrapper.horizontal {
    width: auto;
    max-width: 100vw;
    height: 100vh;
}
 
#loader {
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    flex-direction: row;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 250px;
    height: 250px;
    z-index: 7;
    visibility: visible;

    transition-property: all;
    transition-duration: 300ms;
}

#loader.loaded {
    filter: blur(1000px);
    opacity: 0;
    visibility: hidden;
}
 
[id^=loader-wrapper] {
    width: 250px;
    height: 250px;
    
    position: absolute;
    
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

#loader-img {
    width: 250px;
    height: auto;

    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
}

#loader-img-outline {
    width: 250px;
    height: auto;

    flex-shrink: 0 !important;
}

/* BUTTONS */
#close-button {
    width: 50px;
    height: 50px;

    top: 25px;
    right: 25px;
    position: absolute;
    
    background-color: #ffffff60;
    cursor: pointer;
    z-index: 10;
    
    text-align: center;
    line-height: 50px;
    color: #000000;
}