/* FONTS */

/* VOLLKORN */
/* cyrillic */
@font-face {
    font-family: 'Vollkorn';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(../fonts/vollkorn/vollkorn-cyrillic.woff2) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
    font-family: 'Vollkorn';
    font-style: normal;
    font-weight: 700;
    font-display: swap;../fonts/vollkorn/vollkorn-latin.woff2
    src: url(../fonts/vollkorn/vollkorn-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* VOLLKORN */

/* TENOR SANS */
/* cyrillic */
@font-face {
    font-family: 'Tenor Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/tenor-sans/tenor-sans-cyrillic.woff2) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
    font-family: 'Tenor Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/tenor-sans/tenor-sans-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* TENOR SANS */

/* FONTS */

/* set correct box model */
* {
    box-sizing:border-box;
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    font-family: "Tenor Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
}

h1, h2 {
    font-family: "Vollkorn", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

.hidden {
    display: none;
}

.text-center {
    text-align: center;
}

/* MAIN */
.wrapper {
    min-height: 100%;
    padding: 2rem 4rem;
}

header.main-header {}

main {}

footer.main-footer {}
/* MAIN */

/* ARTICLE */
article {
    margin-bottom: 2rem;
}

article p {
    max-width: 1000px;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

article ul {
    line-height: 1.7;
}

figure {max-width: 100%;}
    figure img {max-width: 100%;}
    figure video {width: 640px; max-width: 100% !important;}
    figure iframe {max-width: 100%;}
/* ARTICLE */

/* GALLERY */
.gallery {
    max-width: 640px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

@media (max-width: 768px) {
    .gallery {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .gallery {
        grid-template-columns: 1fr;
    }
}
/* GALLERY */

/* Lightbox */
.lightbox{
    opacity: 0;
    visibility: hidden;
    position: fixed;
    left:0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease-in;
}

.lightbox.show{
    background-color: rgba(0,0,0, 0.85);
    opacity: 1;
    visibility: visible;
    z-index: 1000;
}

.lightbox img{
    max-width: 90%;
}

/* Close lightbox "x" icon */

.lightbox .close-lightbox{
    cursor: pointer;
    position: absolute;
    top: 30px;
    right: 50px;
    width: 20px;
    height: 20px;
}

.lightbox .close-lightbox::after,
.lightbox .close-lightbox::before{
    content: '';
    width: 3px;
    height: 20px;
    background-color: #ddd;
    position: absolute;
    border-radius: 5px;
    transform: rotate(45deg);
}

.lightbox .close-lightbox::before{
    transform: rotate(-45deg);
}

.lightbox .close-lightbox:hover::after,
.lightbox .close-lightbox:hover::before{
    background-color: #fff;
}
/* Lightbox */
