@font-face {
    font-family: 'MainFont';
    src: url('/fonts/IstokWeb-Regular.ttf');
    /*src: url('/fonts/Roboto-Regular.ttf');*/
    /*src: url('/fonts/Joan-Regular.ttf');*/
    /*src: url('/fonts/K2D-Regular.ttf');*/
    /*src: url('/fonts/PortLligatSans-Regular.ttf');*/
    /*src: url('/fonts/Sarabun-Regular.ttf');*/
    /*src: url('/fonts/TitilliumWeb-Regular.ttf');*/
    /*src: url('/fonts/Urbanist-VariableFont_wght.ttf');*/
}

@font-face {
    font-family: 'HeadlineFont';
    src: url('/fonts/IstokWeb-Regular.ttf');
    /*src: url('/fonts/Roboto-Regular.ttf');*/
    /*src: url('/fonts/Joan-Regular.ttf');*/
    /*src: url('/fonts/K2D-Regular.ttf');*/
    /*src: url('/fonts/PortLligatSans-Regular.ttf');*/
    /*src: url('/fonts/Sarabun-Regular.ttf');*/
    /*src: url('/fonts/TitilliumWeb-Regular.ttf');*/
    /*src: url('/fonts/Urbanist-VariableFont_wght.ttf');*/
}

html,
body {
    margin: 0;
    height: 100%;
    font-size: 14px;
}

* {
    font-family: "MainFont", sans-serif;
    font-style: normal;
    box-sizing: border-box;
}

a {
    color: black;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "HeadlineFont", sans-serif;
    text-align: center;
    font-weight: lighter;
    margin-top: 2em;
}

header
{
    width: auto;
}

header
{
    padding: 40px 0;
    border-bottom: 1px solid #eee;
}

#logo
{
    width: 300px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#content
{
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

#gallery
{
    display: inline-block;
}

#gallery > a
{
    vertical-align: text-top;
}


#gallery-container
{
    text-align: center;
}


.imageOverlayContainer {
    position: relative;
}

.imageOverlayContainer img {
    display: block;
}

.imageOverlayContainer .imageOverlay {
    background-color: #ffffffc7;
    padding: 5px 15px;
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
}

#albumOverview {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-content: start;
}

#albumOverview > div {
    margin: 5px;
    overflow: hidden;
}


#albumOverview > div img {
    border-radius: 9px;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

#albumOverview > div:hover img  {
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
}

.photoDetails {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-content: start;
    margin: 10px 0;
    background-color: #eaf5c9;
    padding: 10px;
}

.photoDetails .infoBlock {
    padding: 5px 10px;
    flex-grow: 1;
}

.photoDetails .headline {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.photoDetails .headline div:first-child {
    font-size: 15px;
    margin: 5px 0 10px;
}

.photoDetails .headline .tag:last-child {
    margin-right: 0;
}

.photoDetails .description {
    margin-top: 1.5em;
}

.photoDetails a > img {
    width: 250px;
    border: 5px solid white;
}

.tag {
    border-radius: 8px;
    background-color: #66930d;
    padding: 4px 8px 2px;
    color: white;
    font-size: small;
    margin-right: 10px;
}

a.tag:hover {
    background-color: #80b60f;
}