@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #555;
    font-family: "Arial", sans-serif;
    font-size: .875rem;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
}

a {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

p {
    margin: 0 0 .625rem;
}

.center {
    text-align: center;
    margin-bottom: 1.562rem
}

p span {
    color: #509e2f;
}

.margin-left {
    margin-left: 1rem;
}

ul {
    margin: 1rem 0 1rem 2.25rem;
}

h1 {
    text-align: center;
    color: #509e2f;
    font-size: 1.875rem;
    margin: 1.562rem;
}

h2 {
    font-size: 1rem;
    text-transform: uppercase;
    padding: 1.2rem 1rem;
    border-top: 1px solid #97999b;
    border-bottom: 1px solid #97999b;
}

header {
    background: url('../images/faces.png') no-repeat;
    padding: 3.125rem 3.125rem 25rem;
    background-size: cover;
    background-position: center;
}

.logo {
    position: absolute;
    top: 1rem;
    left: 1rem;
}

article {
    margin: 1.25rem 2.75rem;
    position: relative;
    top: -3.75rem;
    background: #fff;
    padding: 1.2rem 1.75rem;
    box-shadow: 0 .5rem 1.875rem -.75rem #97999b;
}

.flex {
    display: flex;
    justify-content: center;
    column-gap: 8.125rem;
    color: #509e2f;
    margin-bottom: 3.125rem;
}

.img {
    display: none
}

section {
    text-align: center;
}

.icon {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
    gap: 1rem;
}

.icon i {
    font-size: 1.625rem;
    color: #bbb;
}

.icon i:hover {
    color: #378516
}

.button {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

a.apply {
    border: none;
    font-size: .937rem;
    font-weight: 700;
    margin: 1rem 0;
    background-color: #509e2f;
    color: #fff;
    padding: .625rem 1.25rem;
    border-radius: 0;
    text-transform: uppercase;
}

footer {
    position: absolute;
    bottom: 4.3%;
    right: 39%;
    margin-bottom: .937rem
}

@media only screen and (max-width: 49.937rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
    }

    .img {
        display: block;
    }

    header {
        background: none;
        padding: 0 ;
    }

    .logo {
        position: static;
        padding: 1.25rem;
        max-width: 9.375rem;
        text-align: center;
        margin: auto;
    }

    .center p br {
        display: none;
    }

    article {
        margin: 0;
        top: 0;
    }

    h1 {
        font-size: 1.562rem;
        margin-bottom: .625rem
    }

    .center {
        margin: 0 0 .5rem;
    }

    .flex {
        column-gap: 0;
        justify-content: space-between;
        margin-bottom: .625rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
}

@media only screen and (max-width: 40.25rem) {

}

@media only screen and (max-width: 34.687rem) {
    .flex {
        flex-wrap: wrap;
        margin-bottom: .312rem;
    }

    aside {
        width: 100%;
    }

    h2 {
        padding: 1rem 0;
    }

    ul {
        margin: 0.5rem 0 0.5rem 1rem;
    }

    .button {
        flex-direction: column;
        gap: 0.1rem;
    }
}

@media only screen and (max-width: 30.312rem) {

}
