@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.6;
    font-weight: normal;
    background: linear-gradient(180deg, rgba(239, 239, 239, 0.3) 300px, #f2fafb 800px),
        url(../images/background.jpg) no-repeat top center;
    background-size: 100%;
}

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

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    padding: 1.25rem;
}

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

a.link {
    color: #009073;
    text-decoration: underline 1px dotted #009073;
}

a.link:hover {
    text-decoration: underline;
}

p {
    margin: 0 0 1rem;
}

h1 {
    font-size: 1.25rem;
    font-size: 600;
}

h2 {
    color: #009073;
    font-size: 1.25rem;
    margin: 0 0 1rem;
}

h3 {
    font-size: 1rem;
    margin: 1.5rem 0;
}

h3 span {
    font-weight: 400;
    font-size: 1rem;
}

ul {
    margin: 1rem 0 1rem 1rem;
}

.top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.logo {
    width: 13rem;
    height: 7rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #CFD6E7;
    border-radius: .25rem;
    padding: 0 0.25rem;
}

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

.icons i {
    margin-right: 0.1rem;
}

hr {
    border-style: none;
    border-top: 1px solid #222;
    color: transparent;
    background-color: transparent;
    height: 0;
    opacity: .35;
    margin: 1.25rem auto;
}

article {
    padding-top: 2rem;
}

footer {
    margin: 2rem 0;
}

.button {
    display: flex;
    justify-content: center;
    margin: 3rem 0;
}

a.apply {
    display: inline-block;
    font-size: 17px;
    line-height: 26px;
    text-decoration: none;
    color: #fff;
    background-color: #009073;
    border: 2px solid #009073;
    padding: 8px 8%;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    border-radius: 125px;
    font-weight: 600;
    text-align: center;
    white-space: normal;
    word-break: keep-all;
}

a.apply:hover {
    background-color: #fff;
    color: #009073;
}

.slider {
    position: relative;
}

.slider>img {
    border-radius: 1rem;
    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;
    }
}

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

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

    .top {
        flex-direction: column;
    }

    .logo {
        width: auto;
    }

    h1 {
        text-align: center;
    }

    hr {
        margin: 1.25rem 0
    }

    .icons {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
    }

    .button {
        display: flex;
        justify-content: center;
        margin: 2rem 0;
    }

    footer {
        margin: 0;
    }
}