/* Styles for basic layout and responsiveness */

@font-face {
    font-family: 'Abraham Lincoln';
    src: url('fonts/AbrahamLincoln.eot');
    src: url('fonts/AbrahamLincoln.eot?#iefix') format('embedded-opentype'),
        url('fonts/AbrahamLincoln.woff2') format('woff2'),
        url('fonts/AbrahamLincoln.woff') format('woff'),
        url('fonts/AbrahamLincoln.svg#AbrahamLincoln') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Baskerville';
    src: url('fonts/Baskerville.eot');
    src: url('fonts/Baskerville.eot?#iefix') format('embedded-opentype'),
        url('fonts/Baskerville.woff2') format('woff2'),
        url('fonts/Baskerville.woff') format('woff'),
        url('fonts/Baskerville.svg#Baskerville') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Baskerville';
    src: url('fonts/Baskerville-Italic.eot');
    src: url('fonts/Baskerville-Italic.eot?#iefix') format('embedded-opentype'),
        url('fonts/Baskerville-Italic.woff2') format('woff2'),
        url('fonts/Baskerville-Italic.woff') format('woff'),
        url('fonts/Baskerville-Italic.svg#Baskerville-Italic') format('svg');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

:root {
    --textFont: 'Baskerville', Arial, sans-serif;
    --decorFont: 'Abraham Lincoln';
    --primaryColor: #9fbea0;
    --textPictureMargin: 10px
}

body {
    font-family: var(--textFont);
    font-size: larger;
    margin: auto;
    padding: 0;
    max-width: 900px;
}

header {
    background-color: var(--primaryColor);
    font-family: var(--decorFont);
    color: #000000;
    padding: 20px;
    text-align: center;
}
hr {
    border-color: var(--primaryColor);
    /*opacity: 0.5;*/
    margin-bottom: 30px;
    width: 90%;
}

main {
    padding: 20px;
}

.step {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
    align-items: center;
}
.step h2{
    margin: 0;
}

.step-content {
    flex: 1;
    min-width: 50%;
}

.headline {
    display: flex;
    flex-wrap: wrap;
}

.headline-content {
    flex: 1;
    min-width: 50%;
    text-align: center;
    font-size: larger;
}

.generic-text {
    display: flex;
    /* Add flexbox container */
    flex-direction: column;
    /* Arrange items vertically */
    align-items: center;
    /* Center items horizontally */
}

.generic-text-content {
    flex: 1;
    min-width: 50%;
}

.generic-text-centered {
    flex: 1;
    min-width: 50%;
    text-align: center;
    font-size: larger;
}

img {
    max-width: 300px;
    height: auto;
}

@media screen and (max-width: 600px) {
    :root {
        --textPictureMargin: 0px
    }

    .step {
        flex-direction: column-reverse;
        margin-bottom: 0px;
    }

    .step img {
        order: -1;
        margin-bottom: 15px;
        align-self: center;
        max-width: 100%;
    }

    .generic-text img {
        align-self: center;
        max-width: 100%;
    }
}

footer {
    height: 20px;
    background-color: var(--primaryColor);
    margin-top: 20px;
}