:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-italic.eot');
    src: url('../fonts/roboto-v30-latin-italic.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-italic.woff2') format('woff2'), url('../fonts/roboto-v30-latin-italic.woff') format('woff'), url('../fonts/roboto-v30-latin-italic.ttf') format('truetype'), url('../fonts/roboto-v30-latin-italic.svg#Roboto') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700italic.eot');
    src: url('../fonts/roboto-v30-latin-700italic.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-700italic.woff2') format('woff2'), url('../fonts/roboto-v30-latin-700italic.woff') format('woff'), url('../fonts/roboto-v30-latin-700italic.ttf') format('truetype'), url('../fonts/roboto-v30-latin-700italic.svg#Roboto') format('svg');
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: local(''), url('../fonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v30-latin-regular.woff') format('woff'), url('../fonts/roboto-v30-latin-regular.ttf') format('truetype'), url('../fonts/roboto-v30-latin-regular.svg#Roboto') format('svg');
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.eot');
    src: local(''), url('../fonts/roboto-v30-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-700.woff2') format('woff2'), url('../fonts/roboto-v30-latin-700.woff') format('woff'), url('../fonts/roboto-v30-latin-700.ttf') format('truetype'), url('../fonts/roboto-v30-latin-700.svg#Roboto') format('svg');
}

html {
    min-height: 100%;
}

body {
    color: #fff;
    font-family: 'Roboto', Arial, sans-serif;
    font-style: italic;
    font-size: 1rem;
    line-height: 1.25rem;
    font-weight: 400;
}

#wrapper {
    max-width: 640px;
    margin: 1rem auto;
    border: 1px solid #000;
    background: #0f415d;
    position: relative;
}

header img:nth-of-type(2) {
    display: none;
}

footer {
    position: absolute;
    z-index: 3;
    right: 14%;
    bottom: 5%;
    display: flex;
    gap: 1.0625rem;
    align-items: center;
}

strong {
    font-weight: 700;
}

h1 {
    padding: 0 0 0 0.75rem;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.25rem;
    position: absolute;
    z-index: 3;
    left: 55%;
    top: 70%;
}

h1::before {
    content: "";
    width: 0.25rem;
    height: 0.25rem;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    z-index: 3;
    left: 0;
    top: 0.4375rem;
}

h2 {
    margin: 0.3125rem 0 0.75rem 0.75rem;
    font-weight: 400;
    font-size: 2.0625rem;
    line-height: 2.1875rem;
    font-style: normal;
}

h2 span {
    font-weight: 700;
    margin-left: 0.3125rem;
    display: block;
}

p span {
    margin-left: 0.25rem;
    display: block;
}

h3 {
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.5rem;
    text-align: right;
}

h3 span {
    display: block;
    font-size: 1rem;
    line-height: 1.25rem;
    font-weight: 400;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

.margin {
    margin-left: 1.3125rem;
}

section {
    position: absolute;
    z-index: 2;
    top: 62%;
    left: 10%;
}

@media all and (max-width: 639px) {
    #wrapper {
        margin: 0;
        border: none;
    }

    h2 {
        font-size: 1.6875rem;
    }

    section {
        left: 8%;
    }
}

@media all and (max-width: 588px) {
    section {
        position: static;
        background: #00a862;
        padding: 1rem;
    }

    h1 {
        position: relative;
        padding: 0.625rem 1rem 0.625rem 1.75rem;
        background: #008580;
        left: 0;
        top: 0;
    }

    :is(.margin, h2, h2 span, p span) {
        margin-left: 0;
    }

    :is(h2, p) span {
        display: inline;
    }

    h1::before {
        left: 1rem;
        top: 1.125rem;
    }

    footer {
        position: static;
        padding: 1rem;
        justify-content: center;
    }

    header img:nth-of-type(1) {
        display: none;
    }

    header img:nth-of-type(2) {
        display: inline;
    }
}