@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #5d5d5d;
    font-family: "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 60rem;
    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;
}

article p {
    padding-bottom: 1rem;
}

h1 {
    font-size: 2.187rem;
    line-height: 1.3;
    color: #164194;
    padding-bottom: 1.2rem;
}

h1 span {
    font-size: 1.3rem;
    font-weight: 400;
    display: block;
}

h2 {
    font-size: 1rem;
    padding-bottom: .5rem;
}

h3 {
    font-size: 1rem;
    font-weight: normal;
    padding-bottom: 1rem;
}

ul {
    list-style: none;
    padding-bottom: 1.5rem;
}

ul li {
    padding: 0 0 0 1rem;
}

ul li:before {
    content: "\25A0";
    float: left;
    margin-left: -1rem;
    color: #d0ab39;
}

.slider {
    position: relative;
}

.slider > img {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: imageAnimation 12s linear infinite 0s;
}

.slider > img:nth-of-type(1) {
    position: static;
    opacity: 1;
}

.slider > img:nth-of-type(2) {
    animation-delay: 6s;
}

@keyframes imageAnimation {
    4% {
        opacity: 1;
    }

    50% {
        opacity: 1;
    }

    55% {
        opacity: 0;
    }
}

.iframe-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    margin: 0 0 1.5rem;
}

.iframe-wrapper iframe,
.iframe-wrapper object,
.iframe-wrapper embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.top {
    margin-top: 5.5rem;
}

.button a {
    padding: 10px 45px;
    background-color: #164194;
    font-weight: 700;
    color: #fff;
    display: inline-block;
    transition: .5s ease;
    text-align: center;
}

.button a:hover {
    background-color: #646363;
}

section .button a {
    width: 100%;
}

.block {
    background-color: #f9f9f9;
    padding: 1rem 1rem 0;
    margin-top: 1.5rem;
}

.flex {
    display: flex;
    gap: 2rem;
}

.flex section:first-of-type {
    flex: 1 1 73%;
}

.flex section:last-of-type {
    flex: 0 0 27%;
    padding-top: 6.7rem;
}

header {
    padding: 1rem 2rem 2rem;
    display: flex;
}

article {
    padding: 2rem 2rem 1rem;
}

footer {
    padding: 0 2rem 2rem;
}

@media only screen and (max-width: 59.937rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
}

@media only screen and (max-width: 50rem) {
    header {
        padding: 1rem 1rem 2rem;
        justify-content: center;
    }

    article {
        padding: 1rem;
    }

    footer {
        padding: 1rem 1rem 2rem;
    }

    section .button a {
        display: none;
    }

    .button {
        display: flex;
        justify-content: center;
    }

    .block {
        margin-top: 0;
    }

    .flex {
        display: block;
    }

    h1 {
        font-size: 2rem;
        text-align: center;
    }

    h1 span {
        font-size: 1.2rem;
    }

    .flex section:last-of-type {
        padding-top: 0;
    }
}