
#header nav a[href="/blog"] {
    color: var(--active-menu);
}

/* body {
    font-size: 0.8em;
} */

.nav .logo {
    display: inline-flex;
}

.nav>ul {
    width: 60%;
}

#banner {
    width: 100%;
    position: relative;
}

#banner img {
    width: 100%;
}

#banner .image {
    height: 25em;
}

.image img {
    max-height: 100%;
    object-fit: cover;
    display: block;
}

#banner .inner {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) translateX(-50%);
    left: 50%;
}

#banner h1 {
    font-size: 3.25em;
    margin: .6em 0;
    font-weight: 600;
}

#banner span {
    font-size: 1.3em;
    margin: 2rem 0;
}

/* =================== */


body {
    /* font-size: 1em; */
}

p, span {
    font-size: 1em;
}

.main .inner p, .main .inner span, .main .inner ul li {
    margin-bottom: 2em;
}

.main ul {
    list-style: initial;
    list-style-position: inside;
    padding: revert;
}

.main ul li {
    list-style: initial;
}

.main ul li {
    padding-left: .5em;
}


.inner {
    width: 80%;
}
.main .inner {
    margin: 2em auto;
    line-height: 1.5;
}

.content {
    display: block;
    align-items: start;
}
/* .inner * {
    text-align: left;
} */






/* =================== */



#main {
    color: var(--black);
    background-color: white;
}

.main .inner {
    padding: 2em 0;
}

header * {
    color: var(--black);
}

header *::after {
    background-color: var(--black);
}

.metadata {
    margin-bottom: 2em;
}

.metadata .category {
    float: right;
}

.metadata .splitter:last-child {
    display: none;
}

.main .inner .content {
    text-align: justify;
}

.main .inner .content * {
    color: var(--black);
}

#banner * {
    color: var(--white);
}

.main .inner .gallery {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: fit-content;
    justify-content: space-between;
}

.main .gallery .image {
    max-width: 60%;
    margin: 0;

    display: flex;
    justify-content: center;
    /* align-items: center; */
    overflow: hidden
}

.main .gallery .image:hover {
    opacity: 0.9;
    cursor: pointer;
}

.main .gallery img {
    flex-shrink: 0;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
}

/* .gallery .image:nth-child(5n + 1) {
    width: 30%;
}

.gallery .image:nth-child(5n + 2) {
    width: 35%;
}

.gallery .image:nth-child(5n + 3) {
    width: 35%;
}

.gallery .image:nth-child(5n + 4) {
    width: 45%;
}

.gallery .image:nth-child(5n + 5) {
    width: 55%;
} */

/* #banner > .inner .content p {
    font-size: 0.8em;
} */


/* iframe {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
} */

iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.iframe-container {
    position: relative;
    height: 0;
    overflow: hidden;
    padding-bottom: 56.25%;
    padding-top: 30px;
}


/* Gallery tiles in all screens */


/* --- */

.tiles-n3:nth-of-type(3n + 1) {
    width: 40% !important;
}

.tiles-n3:nth-of-type(3n + 2) {
    width: 26% !important;
}

.tiles-n3:nth-of-type(3n + 3) {
    width: 34% !important;
}

/* --- */

.tiles-n4:nth-of-type(4n + 1) {
    width: 45% !important;
}

.tiles-n4:nth-of-type(4n + 2) {
    width: 55% !important;
}

.tiles-n4:nth-of-type(4n + 3) {
    width: 55% !important;
}

.tiles-n4:nth-of-type(4n + 4) {
    width: 45% !important;
}

/* --- */

.tiles-n5:nth-of-type(5n + 1) {
    width: 50%;
}

.tiles-n5:nth-of-type(5n + 2) {
    width: 50%;
}

.tiles-n5:nth-of-type(5n + 3) {
    width: 40%;
}

.tiles-n5:nth-of-type(5n + 4) {
    width: 26%;
}

.tiles-n5:nth-of-type(5n + 0) {
    width: 34%;
}

/* --- */

.tiles-n6:nth-of-type(6n + 1) {
    width: 34% !important;
}

.tiles-n6:nth-of-type(6n + 2) {
    width: 30% !important;
}

.tiles-n6:nth-of-type(6n + 3) {
    width: 36% !important;
}

.tiles-n6:nth-of-type(6n + 4) {
    width: 40% !important;
}

.tiles-n6:nth-of-type(6n + 5) {
    width: 26% !important;
}

.tiles-n6:nth-of-type(6n + 6) {
    width: 34% !important;
}

/* --- */

.tiles-n7:nth-of-type(7n + 1) {
    width: 54% !important;
}

.tiles-n7:nth-of-type(7n + 2) {
    width: 46% !important;
}

.tiles-n7:nth-of-type(7n + 3) {
    width: 40% !important;
}

.tiles-n7:nth-of-type(7n + 4) {
    width: 26% !important;
}

.tiles-n7:nth-of-type(7n + 5) {
    width: 34% !important;
}

.tiles-n7:nth-of-type(7n + 6) {
    width: 46% !important;
}

.tiles-n7:nth-of-type(7n + 7) {
    width: 54% !important;
}

/* --- */

.tiles-n8:nth-of-type(8n + 1) {
    width: 50% !important;
}

.tiles-n8:nth-of-type(8n + 2) {
    width: 50% !important;
}

.tiles-n8:nth-of-type(8n + 3) {
    width: 40% !important;
}

.tiles-n8:nth-of-type(8n + 4) {
    width: 26% !important;
}

.tiles-n8:nth-of-type(8n + 5) {
    width: 34% !important;
}

.tiles-n8:nth-of-type(8n + 6) {
    width: 34% !important;
}

.tiles-n8:nth-of-type(8n + 7) {
    width: 26% !important;
}

.tiles-n8:nth-of-type(8n + 8) {
    width: 40% !important;
}

/* --- */

.tiles-n9:nth-of-type(9n + 1) {
    width: 38% !important;
}

.tiles-n9:nth-of-type(9n + 2) {
    width: 28% !important;
}

.tiles-n9:nth-of-type(9n + 3) {
    width: 34% !important;
}

.tiles-n9:nth-of-type(9n + 4) {
    width: 44% !important;
}

.tiles-n9:nth-of-type(9n + 5) {
    width: 26% !important;
}

.tiles-n9:nth-of-type(9n + 6) {
    width: 30% !important;
}

.tiles-n9:nth-of-type(9n + 7) {
    width: 32% !important;
}

.tiles-n9:nth-of-type(9n + 8) {
    width: 28% !important;
}

.tiles-n9:nth-of-type(9n + 9) {
    width: 40% !important;
}

/* --- */

.tiles-n10:nth-of-type(10n + 1) {
    width: 50% !important;
}

.tiles-n10:nth-of-type(10n + 2) {
    width: 50% !important;
}

.tiles-n10:nth-of-type(10n + 3) {
    width: 40% !important;
}

.tiles-n10:nth-of-type(10n + 4) {
    width: 26% !important;
}

.tiles-n10:nth-of-type(10n + 5) {
    width: 34% !important;
}

.tiles-n10:nth-of-type(10n + 6) {
    width: 34% !important;
}

.tiles-n10:nth-of-type(10n + 7) {
    width: 26% !important;
}

.tiles-n10:nth-of-type(10n + 8) {
    width: 40% !important;
}