@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family: "Arial", sans-serif;
    font-size: 0.938rem;
    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;
}

h1 {
    font-size: 2rem;
    line-height: 1.3;
    border-bottom: 1px solid #EF7D00;
    padding-bottom: .5rem;
    margin-bottom: 2rem;
    color: #EF7D00;
}

h2 {
    font-size: 1.2rem;
    color: #EF7D00;
    padding-bottom: .3rem;
}

h3 {
    background-color: #EF7D00;
    color: #fff;
    text-align: center;
    font-size: 1rem;
    padding: .2rem 0;
}

ul {
    list-style: none;
}

ul li {
    padding: 0 0 0 1rem;
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1rem;
    color: #EF7D00;
}

header {
    display: flex;
    justify-content: end;
    padding: 2rem 2rem 0;
}

article {
    margin-top: -3rem;
}

section {
    padding: 2rem;
}

.flex {
    display: flex;
    align-items: start;
    justify-content: space-between;
}

.flex>div {
    flex: 0 0 46%;
}

.line {
    position: relative;
}

.line::before {
    content: "";
    width: 1px;
    height: calc(100% - 4rem);
    position: absolute;
    background-color: #EF7D00;
    left: 50%;
    top: 2rem;
    transform: translateX(-1px);
}

aside {
    border: 2px solid #EF7D00;
    flex: 0 0 18rem;
    margin-left: 1rem;
}

aside div {
    padding: .5rem;
}

aside p:not(:last-of-type) {
    padding-bottom: .7rem;
}

aside i {
    width: 18px;
    text-align: center;
    margin-right: .5rem;
    color: #EF7D00;
}

.background {
    background: url("../images/bg.jpg") 0 0/cover no-repeat;
    color: #fff;
}

.background h2 {
    color: #fff;
}

.benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 1rem;
}

.benefits div {
    flex: 0 1 48%;
    display: flex;
    align-items: center;
    gap: 1rem;
}

footer .flex>div {
    flex: 0 0 70%;
}

footer .flex>div p {
    padding-bottom: .7rem;
}

@media only screen and (max-width: 59.938rem) {
    #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: 56rem) {
    article {
        margin-top: 0;
    }

    h1 br {
        display: none;
    }
}

@media only screen and (max-width: 52rem) {

    .flex,
    .benefits {
        flex-direction: column;
    }

    aside {
        margin: 0;
        width: 100%;
        flex: auto;
    }

    .line::before {
        display: none;
    }

    ul {
        padding-bottom: 1rem;
    }

    h1 {
        text-align: center;
        margin: 0 0 1rem;
        font-size: 1.7rem;
    }

    footer .flex {
        row-gap: 1rem;
    }
}

@media only screen and (max-width: 40rem) {
    header {
        justify-content: center;
        padding: 1rem;
    }

    footer .flex {
        text-align: center;
        align-items: center;
    }

    section {
        padding: 1rem;
    }
}

@media only screen and (max-width: 30rem) {
    h2 {
        font-size: 1.15rem;
    }
}