
html, body {
    min-height: 100%;
    height: 100%;
}

#app {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid rgba(40, 154, 86, 0.2);
    overflow: hidden;
}

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 2;
    transition: top 1s ease;
    text-align: center;
    overflow: hidden;
}

header h1 {
    font-family: 'Parisienne', cursive, sans-serif;
    color: #2E3E34;
    text-align: center;
    font-size: 44px;
    line-height: 64px;
    padding: 20px;
    margin: 0;
}

@media screen and (max-width: 720px) {
    header h1 {
        font-size: 28px;
        /*line-height: 32px;*/
    }
}

header #date {
    position: absolute;
    bottom: 0px;
    right: 50px;
    font-family: 'Parisienne', cursive, sans-serif;
    font-size: 18px;
    color: #2E3E34;
    margin-bottom: 0;
    opacity: 1;
    transition: opacity 1s ease;
}

@media screen and (max-width: 720px) {
    header #date {
        right: 3px;
        font-size: 13px;
    }
}

#wrapper {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 1;
    transition: top 1s ease;
}

#wrapper::before {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    opacity: 0.3;
    z-index: -1;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    background-image: url("../img/Claudie Olivier-133.jpg");
    background-attachment: fixed;
}

#content {
    position: absolute;
    top: 110px;
    left: 0;
    right: 0;
    bottom: 10px;
    overflow-y: auto;
    padding-bottom: 10px;
}

#content.stop {
    padding-bottom: 0px;
}

.thumbnail-item {
    position: relative;
    height: 200px;
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    cursor: pointer;
    transition: transform 0.5s ease, opacity 0.75s ease, top 0.75s ease;
    opacity: 0;
    top: -50px;
}

.thumbnail-item:hover {
    transform: scale(1.3);
}

.thumbnail-item.appear {
    opacity: 1;
    top: 0;
}

.thumbnail-item img {
    max-height: 100%;
    max-width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: transparent url('/img/loader.svg') center no-repeat;
}

#viewer {
    position: fixed;
    top: 0;
    left: 50%;
    bottom: 0;
    z-index: 999;
    background: rgba(0, 0, 0, 0.7);
    visibility: hidden;
    transition: all 0.5s;
    cursor: pointer;
    width: 0%;
    transform: translateX(-50%);
    overflow: hidden;
}

#viewer.open {
    width: 100%;
    visibility: visible;
}

#viewer-previous-btn, #viewer-next-btn, #viewer-close-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 70px;
    height: 70px;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1001;
}

#viewer-close-btn {
    top: 0;
    right: 0;
    transform: translateY(0%);
}

#viewer-previous-btn img, #viewer-next-btn img, #viewer-close-btn img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#viewer-previous-btn {
    left: 0;
}

#viewer-next-btn {
    right: 0;
}

.viewer-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 100%;
    max-width: 100%;
    z-index: 1000;
    background: transparent url('/img/loader.svg') center no-repeat;
}