:root {
    --main-color: #2D3033;
    --accent-color: #6C5B3F;
    --variant-color: #DBBE8C;
    --variant-hilight-color: #E3D2B6;
}

@font-face {
    font-family: 'LT Cushion';
    src: url('../font/LTCushion-Medium.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}


body {
    font-family: Arial, sans-serif;
    background-color: var(--main-color);
    background-image: url('../img/backdrop.webp');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center top;
    color: var(--main-color);
}

header {
    padding: 1em;
    text-align: center;
}

footer {
    text-align: center;
    text-transform: uppercase;
    font-size: 70%;
    z-index: 20;
    position: relative;
}

footer p {
    line-height: 5em;
}

a {
    color: var(--accent-color);
    text-decoration: none;
}

a:hover {
    opacity: 0.8;
}

p {
    line-height: 1.4em;
    margin: 0;
}

h4 {
    margin-bottom: 0.3em;
}

main {
    max-width: 1000px;
    margin: 2em auto;
}

main .section-end {
    background-image: url('../img/scroll-end.webp');
    background-repeat: no-repeat;
    background-size: contain;
    aspect-ratio: 1100 / 143;
    z-index: 10;
    position: relative;
    margin: -5% 0;
}

main .section-end.flipped {
    transform: scaleY(-1);
}

main .section-body {
    padding: 0 2em 4em 2em;
    margin: 0 5%;
    background-image: url('../img/scroll.webp');
    background-repeat: repeat-y;
    background-size: contain;
    text-align: center;
}

section {
    display: inline-block;
    text-align: center;
    font-family: 'LT Cushion';
    width: 100%;
}

section:first-child {
    margin-top: 3em;
}

section h2 {
    font-size: 1.4em;
    margin-top: 3em;
}

section#teaser {
    font-size: larger;
    margin-top: 0;
}

section#social {
    font-size: large;
    font-weight: bold;
}

section#social a {
    margin: 1em 0.5em;
}

section#social a.social-button:hover svg path {
    fill-opacity: 0.8;
}

section#social svg path {
    fill: var(--main-color);
    fill-opacity: 0.8;
}

a.button {
    background-color: var(--accent-color);
    color: var(--variant-color);
    padding: 0.5em 1em;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-weight: bolder;
    display: inline-block;
    margin-top: 1em;
}

a.button:hover {
    opacity: 1;
    color: var(--variant-hilight-color);
}

a.button svg {
    width: 32px;
    height: 32px;
    vertical-align: middle;
    margin-right: 8px;
}

a.button svg path {
    fill: var(--variant-color);
}

span.footer {
    color: var(--accent-color);
}

a.button:hover svg path {
    fill: var(--variant-hilight-color);
}

.feature-list {
    display: inline-block;
    list-style-type: none;
    padding-left: 0;
    text-align: left;
}

.feature-list li {
    margin-bottom: 1.5em;
}

.feature-list li::before {
    content: '◆';
    font-size: 50%;
    vertical-align: middle;
    margin-right: 1em;
}

img.header-image {
    max-height: 250px;
    max-width: 100%;
}

video {
    width: 90%;
    display: block;
    margin: 0 auto;
    border-radius: 2px;
}

hr {
    border: 0;
    border-top: 1px solid var(--accent-color);
}

h3 {
    font-size: 1.5em;
}

div.table {
    display: flex;
    flex-direction: row;
}

div.table-item-small {
    flex: 36%;
    padding: 0 20px;
    text-align: left;
}

div.table-item-wide {
    flex: 64%;
    padding: 0 20px;
    text-align: left;
}

div.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 90%;
    margin: 0 auto;
}

div.gallery a {
    flex: calc(50% - 10px);
}

div.gallery a img {
    max-width: 100%;
}

.mail:after {
    content: attr(data-name) "@" attr(data-domain) "." attr(data-tld);
}

@media (max-width: 600px) {
    div.table {
        flex-direction: column;
    }

    div.gallery a {
        flex: 100% !important;
    }
}
