@charset "utf-8";

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/roboto-v30-latin-300.eot');
    src: local(''), url('../fonts/roboto-v30-latin-300.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-300.woff2') format('woff2'), url('../fonts/roboto-v30-latin-300.woff') format('woff'), url('../fonts/roboto-v30-latin-300.ttf') format('truetype'), url('../fonts/roboto-v30-latin-300.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: 900;
    src: url('../fonts/roboto-v30-latin-900.eot');
    src: local(''), url('../fonts/roboto-v30-latin-900.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-900.woff2') format('woff2'), url('../fonts/roboto-v30-latin-900.woff') format('woff'), url('../fonts/roboto-v30-latin-900.ttf') format('truetype'), url('../fonts/roboto-v30-latin-900.svg#Roboto') format('svg');
}

:root {
    font-size: 16px;
}

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

body {
    color: #585757;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: .937rem;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
    max-width: 900px;
    margin: 1rem auto;
    border: solid 1px #000;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

p {
    margin: 0 0 1.25rem;
}

span {
    color: #295CA7;
    font-weight: bold;
}

.center {
    margin: 0 0 1rem;
}

h1 {
    color: #F3912C;
    font-size: 1.625rem;
    text-align: center;
    line-height: 1.2;
    margin: 0 0 .625rem;
}

h1 small {
    font-size: 72%;
    font-weight: normal;
}

h2 {
    font-size: 0.9375rem;
    margin: 0;
    color: #295CA7;
}

h3 {
    color: #014593;
    font-size: 22px;
    line-height: 1.2;
    margin: 0 0 3px
}

h3 small {
    font-size: 18px
}

ul {
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
    line-height: 1.2
}

ul li {
    padding-left: 16px
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -16px;
    font-size: 18px;
    line-height: 1.2;
    color: #F79239;
}

header,
section,
main,
footer {
    margin: 0 3.5rem;
}

header {
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 3rem;
    font-size: 1.35em;
    font-weight: 300;
    padding: 1.5rem 0 0;
    color: #2865B0;
    margin: 1.25rem 3.5rem
}

header strong {
    font-weight: 900;
}

.slider {
    position: relative;
    margin-bottom: 1.25rem;
}

.slider>img {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: imageAnimation 18s linear infinite 0s;
}

.slider>img:nth-of-type(1) {
    position: static;
    opacity: 1;
}

.slider>img:nth-of-type(2) {
    animation-delay: 6s;
}

.slider>img:nth-of-type(3) {
    animation-delay: 12s;
}

@keyframes imageAnimation {
    4% {
        opacity: 1;
    }

    33% {
        opacity: 1;
    }

    38% {
        opacity: 0;
    }
}

section p {
    line-height: 1.8;
}

.big {
    font-size: 150%;
}

main>img {
    margin-bottom: .625rem;
}

article {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0 0 1.25rem;
    column-gap: 1rem;
}

.aside_left {
    width: 60%;
}

.aside_right {
    width: 40%;
}

article+p,
footer {
    line-height: 1.3;
}

footer {
    margin: 0 2.5rem 1.25rem;
}

footer>h2 {
    text-align: center;
}

.blue {
    width: 50%
}

.blue p:first-of-type {
    margin: 0 0 .625rem 4rem;
}

.blue p:last-of-type {
    font-size: .812rem;
}

.box p span {
    color: inherit;
    font-weight: normal;
}

.box p {
    display: flex;
    margin: 0;
    align-items: center;
}

.box img {
    transform: rotate(2deg);
}

.box {
    border: 1px solid #134493;
    padding: .625rem;
    border-radius: .75rem;
    transform: rotate(-2deg);
    margin-top: -.75rem;
    width: 49%
}

.flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

@media only screen and (max-width: 899px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 2rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    h1 {
        margin: .625rem 0
    }

    main>img {
        width: 100%;
    }

    header,
    section,
    main,
    footer {
        margin: 0;
        padding: 0;
    }

    header {
        flex-direction: column;
        column-gap: none;
        padding: 0;
        align-items: flex-start;
    }

    header p {
        margin-top: 1rem
    }

    header br {
        display: none;
    }

    .flex {
        display: block;
        margin-bottom: 1rem;
    }

    .box {
        transform: none;
        width: fit-content;
        margin: 0 auto;
    }

    .box p {
        text-align: center;
        display: flex;
        flex-direction: column;
        margin: 6px 0
    }

    article {
        flex-direction: column;
    }

    .aside_left,
    .aside_right {
        width: 100%;
    }

    footer {
        padding: 0;
        text-align: center;
    }

    h4 {
        margin-top: .625rem
    }

    .blue p:last-of-type {
        letter-spacing: normal
    }

    h3 {
        margin: 0 0 16px
    }

    .blue,
    .box {
        width: 100%
    }

    .blue p:first-of-type {
        margin: 0 0 .625rem 0;
    }
}

@media only screen and (max-width: 700px) {
    #wrapper {
        padding: 1rem;
    }
}

@media only screen and (max-width: 480px) {
    .big {
        font-size: 1.25rem
    }

    h1 {
        font-size: 1.375rem;
    }

    .box p {
        font-size: .812rem;
    }

    header {
        text-align: center;
        margin: 0 auto;
        display: block;
    }

    section p {
        line-height: 1.5;
    }

    article {
        margin: 0
    }
}