:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: 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-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.eot');
    src: 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-size: 16px;
    line-height: 20px;
    font-weight: 400;
}

#wrapper {
    max-width: 910px;
    margin: 16px auto;
    border: 2px solid #000;
    background: #003b6b;
}

header {
    position: relative;
}

footer {
    padding: 30px 25px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
}

strong {
    font-weight: 700;
}

h1 {
    font-weight: 700;
    font-size: 31px;
    line-height: 37px;
    position: absolute;
    z-index: 3;
    left: 4%;
    top: 32%;
    color: #003b6b;
    transform: rotate(-2deg);
}

h2 {
    margin: 0 0 26px;
    padding: 17px 22px;
    font-weight: 700;
    font-size: 23px;
    line-height: 22px;
    color: #003b6b;
}

.left h2 {
    background: url('../images/backgroundleft.jpg') no-repeat 0 0;
}

.right h2 {
    background: url('../images/backgroundright.jpg') no-repeat 0 0;
}

h3 {
    padding: 4px 0 10px 105px;
    font-weight: 700;
    font-size: 37px;
    line-height: 40px;
    position: absolute;
    z-index: 3;
    left: 41px;
    top: 31px;
    background: url('../images/email.jpg') no-repeat 0 0;
    color: #003b6b;
}

h4 {
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
}

h5 {
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    color: #ffc00f;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

ul {
    list-style: none;
}

ul li {
    position: relative;
    padding: 4px 0 3px 35px;
    background: url('../images/icon.jpg') no-repeat 0 0;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

h1 small {
    font-size: 22px;
    margin-top: 8%;
    line-height: 1.35;
    display: block;
    color: #fff;
    transform: rotate(2deg);
}

.flex {
    padding: 25px 32px 19px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.left {
    width: 44.75%;
}

.right {
    width: 51%;
    padding-left: 37px;
    border-left: 3px solid #ffc00f;
}

.box {
    padding: 21px 16px 20px 493px;
    position: relative;
    color: #003b6b;
    background: url('../images/backgrounf.jpg') no-repeat 0 0;
}

h4 a {
    color: #003b6b !important;
}

.list {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    align-items: center;
}

@media all and (max-width: 909px) {
    #wrapper {
        margin: 0;
        border: none;
    }

    :is(ul, p) {
        hyphens: auto;
    }

    footer {
        padding: 16px;
    }

    h1 {
        font-size: 3.5vw;
        line-height: 1.3;
        left: 16px;
    }

    h1 small {
        font-size: 65%;
    }

    .flex {
        padding: 16px;
    }

    .box {
        padding: 21px 16px 20px 430px;
    }

    h3 {
        left: 16px;
    }
}

@media all and (max-width: 767px) {
    .box {
        padding-left: 16px;
        background: #f9c03b;
    }

    .left {
        width: 100%;
        padding-bottom: 20px;
    }

    .right {
        width: 100%;
        padding-left: 0;
        border-left: none;
    }

    h2 {
        padding: 5px 10px;
        background: #f9c03b !important;
    }

    h3 {
        position: static;
        margin-bottom: 10px;
        font-size: 24px;
        padding-left: 88px;
    }

    h4 {
        font-size: 21px;
    }

    .list {
        flex-direction: column;
        align-items: center;
    }

    .list :is(h5, p) {
        text-align: center;
    }

    .icon {
        height: 60px;
        display: flex;
        align-items: center;
    }
}