@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: 0.859375rem;
    line-height: 1.0625rem;
    background: #fff;
}

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

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

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

header img {
    display: block;
    width: 100%;
    aspect-ratio: 25 / 9;
}

article {
    position: relative;
    z-index: 1;
}

article > section {
    position: relative;
    box-shadow: 0 0.25rem 0.5rem -0.125rem rgb(0 0 0 / 25%);
}

h1,
h2 {
    color: #00ad45;
}

h1 {
    margin-bottom: 0.875rem;
    font-size: 1.84375rem;
    line-height: 2.375rem;
}

h2 {
    margin-bottom: 1rem;
    font-size: 1.09375rem;
    line-height: 1.375rem;
}

ul {
    padding-left: 0.625rem;
    list-style: none;
}

li {
    position: relative;
}

li::before {
    position: absolute;
    left: -0.625rem;
    width: 0.625rem;
    color: #00ad45;
    content: "•";
    font-size: 1rem;
}

.company,
.tasks,
.benefits {
    background: #f2f2f2;
}

.position,
.requirements {
    background: #fff;
}

.company {
    z-index: 5;
    padding: 2.25rem 1.625rem 2.125rem;
}

.position {
    z-index: 4;
    padding: 1.625rem 1.625rem 1.5rem;
}

.position > p:first-child {
    margin-bottom: 1.25rem;
}

.tasks {
    z-index: 3;
    padding: 1.625rem 1.625rem 1.4375rem;
}

.requirements {
    z-index: 2;
    padding: 1.5rem 1.625rem 1.125rem;
}

.benefits {
    z-index: 1;
    padding: 1.75rem 1.625rem 2.375rem;
}

footer {
    padding: 1.75rem 1.625rem 1.875rem;
    color: #fff;
    background: #109d4b;
    font-size: 0.84375rem;
    line-height: 1.0625rem;
    text-align: center;
}

.application {
    margin-bottom: 1rem;
    font-weight: bold;
}

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

@media only screen and (max-width: 40rem) {
    h1 {
        font-size: 1.5rem;
        line-height: 1.2;
    }
}
