* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    --black: #222233;
    --white: #ddddee;

    color: #111122;

    font-family: 'Poppins', sans-serif;

    background: url("res/bg_dark.svg") repeat top left/0.5rem, var(--white);
}

.header-area {
    background-color: var(--black);
    font-size: 4rem;
    color: var(--white);
    padding: 10rem 4rem 10rem 4rem;
    background: url("dot_image.svg") repeat-x bottom left/10rem, var(--black);
    height: 32.25rem;
    display: block;
}

.main-content {
    margin-left: 4rem;
    margin-right: 4rem;
}

img {
    width: 10rem;
    margin: 1rem 0.5rem 0.5rem 0.5rem;
    /*align-self: center;*/
}

h2 {
    font-size: 2rem;
    margin-top: 2rem;
}

.paragraph-container {
    height: 15rem;
    display: flex;
    overflow: hidden;
    text-overflow: ellipsis;
    align-content: center;
}

.paragraph-long {
    height: 20rem;
}

@media (max-width: 1200px) {
    .paragraph-container {
        height: 20rem;
    }
}

@media (max-width: 800px) {
    .paragraph-container {
        height: 30rem;
    }
}

@media (max-width: 500px) {
    .paragraph-container {
        flex-direction: column;
        height: unset;
    }
}

p, ol, li {
    font-size: 1.2rem;
}

.clear {
    clear: left;
}

.footer {
    display: flex;
    height: 8rem;
    font-size: 0.8rem;
    font-style: italic;
    flex-direction: column;
    align-items: stretch;
    justify-items: end;
}

ol {
    padding-left: 2rem;
}