@charset "utf-8";

:root {
    --main-color: #003157;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #00217A;
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    line-height: 1.5rem;
    background: #D6DAE7;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: transparent;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.nowrap {
    white-space: nowrap;
}

h1 {
    font-size: 1.8rem;
    line-height: 120%;
    margin: 1rem 0;
    color: var(--main-color);
}

h2 {
    font-size: 1.4rem;
    line-height: 120%;
    margin: 0 0 1.5rem;
    color: var(--main-color);
}

h3 {
    font-size: 1.2rem;
    color: var(--main-color);
}

h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

ul {
    margin: 1rem 0 0 1rem;
    list-style-type: square;
}

ul li::marker {
    color: var(--main-color);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: #fff;
    padding: 2rem;
}

.width {
    width: 67%;
}

.info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info :is(.fas, .far) {
    margin-right: 0.625rem;
}

article p {
    margin: 0.5rem 0;
}

section {
    background: #fff;
    margin: 0 0 0.5rem;
    padding: 1rem 1.5rem;
}

.flex {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 2rem;
}

.flex :is(figure, aside) {
    margin: 0;
}

.section {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1.5rem;
    width: 50%;
}

.fa-solid {
    font-size: 3.2rem;
}

.details p {
    margin: 0;
}

.button {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0 0.5rem;
}

.button a.apply {
    color: #fff;
    background: #ec1600;
    font-size: 1.1rem;
    text-align: center;
    border: solid 0.125rem #ec1600;
    padding: 0.7rem 2rem;
    width: 14.375rem;
    border-radius: 0.625rem;
    font-weight: 700;
}

a.apply:hover {
    background: #fff;
    color: #ec1600;
    transition: .5s ease-in-out;
}

.iframe-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 1.875rem;
    height: 0;
    overflow: hidden;
}

.iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

footer {
    background: #fff;
    padding: 1rem;
    margin-top: 0.5rem;
}

footer p {
    text-align: center;
}

@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;
    }

    h1 {
        font-size: 1.4rem;
    }
}

@media only screen and (max-width: 48rem) {
    header {
        justify-content: center;
        flex-direction: column-reverse;
        align-items: center;
        gap: 2rem;
    }

    header h2 {
        text-align: center;
    }

    .width {
        width: 100%;
    }

    .info {
        align-items: center;
    }

    :is(.flex, .section) {
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 1rem;
    }

    .section {
        width: 100%;
    }

    .details :is(h4, p) {
        text-align: center;
    }
}

@media only screen and (max-width: 30rem) {
    header {
        padding: 1rem;
    }

    .flex p {
        text-align: center;
    }

    section {
        padding: 1rem;
    }

    footer {
        padding: 1rem 0;
    }
}