/**
 *  Theme by Jirka Kutheil
 */

* {
    background-repeat: no-repeat;
    box-sizing: border-box;

    --color-black: #000;
    --color-green: #124A59;
    --color-red: #FF383C;
    --color-bluegreen: #0081A0;

    --color-yellow: #FFD602;
    --color-yellow-lighter: #FEEDB7;
    --color-yellow-light: #FAEFCC;

    --border-radius: 1em;
    --border-radius-button: 1.5em;
    --border-radius-image: 20px;

    --margin: 1em;
    --margin-double: 2em;
    --margin-vertical: 1.6em;

    --gap: 1.75em;
    --gap-grid: 2.625rem 1.75em;

    --width-pad: 0 5%;
    --transition-bgr: background-size 1500ms linear;

    --full-width: 1920px;
    --article-width: 1280px;

    --font-size-h1: 2.66em;
    --font-weight-h1: 800;

    --font-size-h2: 1.6em;
    --font-weight-h2: 700;

    --font-size-h3: 1.4em;
    --font-weight-h3: 700;

}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body,
input,
textarea,
button {
    font-size: 18px;
    font-family: "Nunito", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    color: var(--color-black);
}

a {
    text-decoration: none;
    color: var(--color-black);
}

a:has(img) {
    display: block;
}

img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

a {
    color: #000;
    font-weight: bold;
}


h1, h2, h3, h4, h5 {
    position: relative;
}

h1 {
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-h1);

}

h2 {
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-h2);
}

h3 {
    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-h3);
}

footer,
header {
    text-align: center;
}

header {
    padding: var(--margin-double) 0 0 0;
}

p {
    line-height: 150%;
}



section h2 {
    text-align: center;
}

figure {
    margin: 0;
    position: relative;
    border-radius: var(--border-radius-image);
    overflow: hidden;
}

figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 25%;
    background: #fff;
    font-style: italic;
    padding: 1em 0.6em;
}

figure img {
    display: block;
    border-bottom-left-radius: calc(var(--border-radius-image) * 1.2);
}

article:has(figcaption) h3 {
    margin: .2em 0 .8em 0;
}


/** **/

.aural, .off {
    display: none;
}

.width {
    max-width: var(--full-width);
    margin: 0 auto;
}

.width-article {
    max-width: var(--article-width);
    margin: 0 auto;
}

.center {
    text-align: center;
}

.grid {
    display: grid;
    gap: var(--gap-grid);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}



.flex {
    display: flex;
    gap: var(--gap) var(--gap);
}

.flex.center {
    justify-content: center;
}

ul.flex {
    margin: 0;
    padding: 0;
    list-style: none;
}

.white,
.white a {
    color: #fff;
}

section:has(.section-subtitle) h2 {
    margin-bottom: 0;
}

.section-subtitle {
    font-size: 150%;
    text-align: center;
    margin-bottom: var(--margin-double);
    color: var(--color-green);
}

.shadow {
    box-shadow: 5px 6px 12px 0px #0000003d;
}