/* =============================================================================
      Includes
   ========================================================================== */


/*! normalize.css v3.0.2 | MIT License | git.io/normalize */

img,
legend {
    border: 0
}

html {
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%
}

body {
    margin: 0
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
    display: block
}

a {
    background-color: transparent
}

a:active,
a:hover {
    outline: 0
}

h1 {
    font-size: 2em;
    margin: 0
}

html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}


/* =============================================================================
      General
   ========================================================================== */


/* Hide scrollbar for Chrome, Safari and Opera */

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


/* Hide scrollbar for IE, Edge and Firefox */

* {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

:root {
    /* --bg-color: #1c2126; */
    --bg-color: #564D2E;
    --font-color: #E5D5AE;
}

body {
    font-family: sans-serif;
    color: var(--font-color);
    background-color: var(--bg-color);
}

a {
    color: white;
    text-decoration: none;
    transition: color 200ms ease-in-out;
}

a:hover {
    color: #2f7eb7;
}

.page-wrapper {
    min-width: 320px;
    width: 920px;
    max-width: 90%;
    padding: 0;
    margin: 0 auto;
}

.lb-caption,
.lb-caption>a {
    text-decoration: none;
    font-weight: normal;
    color: var(--font-color);
}


/* =============================================================================
    Header
  =========================================================================== */

header {
    position: fixed;
    background-color: var(--bg-color);
    width: 100%;
    z-index: 100;
    width: 920px;
    min-width: 320px;
    max-width: 80%;
    padding: 0;
    padding-inline: 3rem;
    margin: 0 auto;
}

.gallery-title {
    padding-top: 20px;
}

.gallery-subtitle {
    font-size: 1.4rem;
    margin-left: 1rem;
    position: relative;
    bottom: .4rem;
}


/* =============================================================================
    Gallery
  =========================================================================== */

.content {
    padding-top: 80px;
}

@media only screen and (max-width: 600px) {
    .content {
        padding-top: 100px;
    }
}

.gallery {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    line-height: 0;
}

.gallery-tile {
    position: relative;
    display: inline-block;
    /* border: 1px solid black; */
    margin: 20px;
    /* padding: 6px; */
    min-width: 250px;
    width: 250px;
    height: 250px;
    vertical-align: top;
    /* border-radius: 5px; */
    background: var(--bg-color);
    /* box-shadow: 5px 5px 16px #443d24, -5px -5px 16px #685d38; */
}
.gallery-tile img{
    position: relative;
    display: inline-block;
    min-width: 250px;
    width: 250px;
    height: 250px;
    vertical-align: top;
    border: 1px solid black;
    border-radius: 5px;
    box-shadow: 5px 5px 16px #443d24, -5px -5px 16px #685d38;
}

.gallery-tile.hidden {
    visibility: hidden;
}

.gallery-tile.folder-tile {
    padding: 70px 6px 6px 6px;
    font-family: sans-serif;
    font-weight: 100;
    line-height: 1.6;
    text-decoration: none;
    color: var(--font-color);
    background-color: transparent;
    margin: 10px 20px 50px 20px;
}

.gallery-tile.folder-tile:hover {
    background-color: #2f7eb7;
}

.gallery-tile.img-tile {
    background-color: #39424d;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 250px 250px;
}

.gallery-tile.img-tile:hover {
    background-color: #708196;
}

.subyear {
    position: absolute;
    bottom: -2rem;
    left: 10px;
}

.subname {
    position: absolute;
    bottom: -2rem;
    right: 10px;
}

footer {
    height: 20px;
    display: flex;
    justify-content: center;
}

footer .withLove {
    position: relative;
    top: 4px;
    right: 1rem;
}

footer .withLove a {
    text-decoration: none;
    font-size: .8rem;
    color: var(--text-color)
}

footer .withLove img {
    position: relative;
    top: 4px;
}

footer .withLove svg {
    height: 0.7rem;
    position: relative;
    top: 2px;
}