@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

body {
    color: #000;
    font-family: "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    border: solid thin #000;
}

:is(a:link, a:visited, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a:hover {
    text-decoration: underline;
}

.phone {
    color: inherit;
    font-weight: normal;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.img img {
    margin-left: 20px
}

p {
    margin: 0 0 1rem;
}

span {
    white-space: nowrap;
}

h1 {
    font-size: 1.875rem;
    line-height: 1.3;
    color: #0BA1E2;
    font-weight: normal;
    padding: .5rem 0;
    margin: 1.875rem 0 0;
}

h2 {
    font-size: 1.231em;
    line-height: 1.231em;
    color: #0BA1E2;
    font-weight: normal;
    margin: 0 0 .875rem;
}

header {
    padding: 0 2rem;
    border-top: 1.875rem solid #E6E6E6
}

.aside {
    font-size: 1.125rem;
    background: #E72242;
    color: #fff;
    position: absolute;
    z-index: 555;
    top: 19%;
    right: 0%;
    padding: 0 2rem;
    width: 65%;
}

article ul {
    padding: 0 0 1rem 1.5rem;
}

article li {
    padding-bottom: 0.2rem;
    list-style-type: none;
}

article li:before {
    content: "\25A0";
    color: #0BA1E2;
    float: left;
    margin-left: -1.5rem;
    position: relative;
    bottom: 0.125rem;
}

ul {
    padding-left: 1rem;
    list-style: square;
    margin: 1em 0;
}

li {
    padding-bottom: 0.2rem;
}

header img {
    padding: 1rem 0;
}

article {
    padding: 1rem 2rem 0;
}

.margin {
    margin: 2.5rem 0 0 0
}

a.apply {
    line-height: 3.125rem;
    display: block;
    text-align: center;
    background: #0ba1e2;
    margin: 1rem 2rem;
    color: #fff;
    font-weight: bold;
}

a.apply:hover {
    background-color: #007cb2;
    text-decoration: none;
}

footer {
    padding: 2rem 5rem 2rem 2rem;
    background: #E6E6E6;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

footer p {
    margin: 0
}

.section {
    width: calc(100% - 13.1875rem);
}

.social_media {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    column-gap: 0.625rem
}

.media {
    display: flex;
    column-gap: 0.625rem;
    margin: 0 auto 1rem
}

.media a {
    border-radius: 100%;
    background: #0BA1E2;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    width: 2.5rem;
    height: 2.5rem;
}

a.blue {
    color: #0BA1E2
}

.media i {
    color: #fff;
    font-size: 1.25rem;
}

@keyframes slidy {
    0% {
        left: 0%;
    }

    22% {
        left: 0%;
    }

    25% {
        left: -100%;
    }

    47% {
        left: -100%;
    }

    50% {
        left: -200%;
    }

    72% {
        left: -200%;
    }

    75% {
        left: -300%;
    }

    97% {
        left: -300%;
    }

    100% {
        left: -400%;
    }
}

.slider {
    overflow: hidden;
}

.slider figure {
    position: relative;
    width: 500%;
    margin: 0;
    left: 0;
    text-align: left;
    font-size: 0;
    animation: 24s slidy infinite;
}

figure img {
    width: 20%;
    float: left;
}

@media only screen and (max-width: 49.937rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
    }

    header {
        flex-direction: column;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
        margin: 0 0 1rem;
    }

    h1 {
        margin: 0 0 1rem;
        font-size: 1.65rem;
    }

    header {
        padding: 0 1rem;
    }

    .aside {
        position: static;
        width: 100%;
        padding: 1rem 1rem .062rem
    }

    article {
        padding: 1rem 1rem 0;
    }

    .margin {
        margin: 1rem 0 0 0
    }

    footer {
        padding: 1rem;
    }
}

@media only screen and (max-width: 40rem) {
    h1 {
        text-align: center;
        font-size: 1.45rem;
    }

    article {
        padding: 1rem 0 0;
    }

    footer {
        flex-direction: column;
        align-items: center;
        justify-content: center
    }

    footer p {
        margin: 0 0 1rem
    }

    footer p,
    footer h2 {
        text-align: center
    }

    .section,
    .social_media {
        width: 100%
    }
}

@media only screen and (max-width: 376px) {
    a.apply {
        margin: 1rem 0;
    }
}