@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family: "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 1160px;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    border: solid 1px #000;
}

h1 {
    color: #f5821f;
    font-size: 45px;
    line-height: 55px;
    font-weight: 800;
    margin-bottom: 20px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

p {
    margin: 0 0 10px;
}

section,
footer {
    color: #878786
}

.black {
    color: #0f0f0f;
    font-size: 22px;
}

ul {
    list-style: none;
    margin: 0 0 0.625rem;
    padding: 0;
}

ul li {
    padding-left: 1.375rem
}

ul li:before {
    content: "";
    float: left;
    position: relative;
    width: 18px;
    height: 18px;
    background: url(../images/list.jpg) no-repeat;
    background-size: contain;
    margin-left: -22px;
    top: 2px;
}

.flex {
    display: flex;
    column-gap: 40px;
    padding: 20px 30px
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.grid p {
    display: flex;
    align-items: center;
    margin: 20px 0;
    column-gap: 10px;
}

header {
    padding: 15px 30px
}

.btn {
    background: #878786;
    padding: 30px;
    margin: 20px 0 40px;
}

a.button {
    color: #fff;
    border-color: #ff9900;
    background-color: #ff9900;
    display: flex;
    border-radius: 3px;
    padding: 13px 18px;
    width: fit-content;
    align-items: center;
    column-gap: 8px;
    margin: 0 auto;
    ;
    justify-content: center
}

.second {
    margin-left: 20px
}

i {
    font-size: 18px
}

h2,
h3 {
    color: #f5821f
}

h4 {
    text-align: center;
    color: #000;
    font-size: 30px;
    margin-bottom: 20px;
}

.grey {
    background: rgba(30, 30, 30, 0.8);
    padding: 40px 30px;
    color: #fff;
}

.two {
    column-gap: 60px;
}

h3 {
    margin-bottom: 20px
}

.flex:last-of-type div {
    width: 48%;
    margin-top: 30px;
}

footer {
    display: flex;
    background: #f7f7f7;
    padding: 30px;
}

.big {
    width: 65%
}

.person {
    width: 35%;
    text-align: center
}

footer img {
    margin: 0 auto 25px;
    display: block;
    width: fit-content;
}

a.apl {
    width: auto;
    text-align: center;
    display: block;
}

.apl i {
    margin-right: 10px
}

hr {
    color: #f7be68;
    background: #f7be68;
    width: 280px;
    border: 1px solid #f7be68;
    ;
    text-align: center;
    margin: 0 auto;
}

a.button:hover {
    color: #f7f7f7;
    border-color: #e08700;
    background-color: #e08700;
}

ul li,
h4 {
    color: #1e266d;
}

@media only screen and (max-width: 1159px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
    }

    h1 br {
        display: none
    }

    .person,
    .big {
        width: auto;
    }

    .person {
        margin-top: 20px
    }

    h4 {
        font-size: 25px;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
        margin: 0 0 1rem;
    }

    footer {
        display: block;
    }

    .flex,
    header,
    .grey,
    .footer {
        padding: 16px
    }
}

@media only screen and (max-width: 850px) {
    .grid {
        display: block;
    }

    h1 {
        font-size: 28px;
        line-height: 1.3
    }

    h1,
    h2 {
        text-align: center
    }

    .black,
    .header a {
        text-align: center
    }

    .center,
    header img {
        margin: 0 auto;
        display: block;
        width: fit-content;
    }

    .flex {
        flex-direction: column-reverse;
        align-items: center;
    }

    .img {
        margin-bottom: 1rem;
    }

    .second {
        margin-left: 0
    }

    .btn {
        padding: 1rem;
        margin: 0 0 40px
    }

    a.button,
    a.apl {
        padding: 10px;
        font-size: 14px;
        column-gap: 4px
    }

    a.apl i {
        margin-right: 1px;
        font-size: 15px
    }

    .flex:last-of-type div {
        width: auto;
    }

    .flex .center p {
        display: flex;
        justify-content: center;
        text-align: center;
        flex-direction: column
    }
}

@media only screen and (max-width: 480px) {
    #wrapper {
        padding: 0;
    }

    h1 {
        font-size: 24px;
    }

    a.button {
        width: 100%;
        padding: 6px;
        text-align: center;
        white-space: pre-wrap
    }
}