@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family: "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    border: solid 1px #000;
}

:is(a:link, a:visited, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a:hover {
    text-decoration: underline;
}

article p {
    padding-bottom: 1rem;
}

strong {
    color: #00374e;
}

h1 {
    font-size: 1.7rem;
    line-height: 1.3;
    text-align: center;
    color: #001d39;
    padding-bottom: 2rem;
}

h2 {
    font-size: 1rem;
    font-weight: normal;
    color: #00374e;
}

ul {
    padding: 0 0 1.5rem 1rem;
}

.section {
    padding: 1rem 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .625rem;
    color: #fff;
    background: linear-gradient(to bottom, #00374e 6px, #5c7d8b 6px, #5c7d8b 50%, #00374e 50%);
}

.flex {
    display: flex;
    padding: 1rem 2rem 0;
    gap: 1rem;
    font-size: .938rem;
}

.flex>div:first-of-type {
    flex: 72%;
}

.flex>div:last-of-type {
    flex: 28%;
    text-align: center;
    background-color: #eeeeee;
    margin: 7rem 0 0;
    color: #00374e;
    padding: 1rem;
}

header {
    display: flex;
    justify-content: end;
    padding: 2rem;
    border-bottom: 8px solid #e95330;
}

footer {
    padding: 1rem 2rem;
    background-color: #00374e;
    display: flex;
    flex-direction: column;
    align-items: end;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

@media only screen and (max-width: 49.938rem) {

    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    .flex {
        display: block;
    }

    .flex>div:last-of-type {
        margin: 0 -2rem;
        padding: 1rem 2rem 0;
    }
}

@media only screen and (max-width: 40rem) {
    header {
        justify-content: center;
        padding: 1.5rem 1rem;
    }

    .section {
        padding: 1rem 1rem 0;
        background: #00374e;
    }

    .flex {
        padding: 1rem 1rem 0;
    }

    .flex>div:last-of-type {
        margin: 0 -1rem;
        padding: 1rem 1rem 0;
    }

    footer {
        align-items: center;
        padding: 1rem;
    }
}