@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.65;
    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%;
}

h1,
h2,
h3 {
    color: #00b140;
}

h1 {
    margin-bottom: 0.5rem;
    font-size: 1.875rem;
    line-height: 3rem;
}

h2 {
    font-size: 1.25rem;
    line-height: 1.2;
}

h3 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    font-style: italic;
    font-weight: normal;
    line-height: 1.5rem;
}

ul {
    padding-left: 1rem;
    line-height: 1.25rem;
}

li::marker {
    font-size: 0.75rem;
}

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

.company {
    padding: 2.25rem 1.25rem 1.5rem 1.75rem;
    font-size: 0.975rem;
    line-height: 1.65rem;
}

.position {
    padding: 1.5rem 1.75rem 0.75rem;
    font-size: 0.975rem;
    line-height: 1.65rem;
}

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

.academy {
    padding: 2.25rem 1.5rem 1.25rem;
}

.tasks {
    padding: 1.75rem 1.5rem 0.5rem;
}

.task-group + .task-group {
    margin-top: 0.5rem;
}

.requirements {
    padding: 0.75rem 1.5rem 2rem;
}

.requirements h2 {
    margin-bottom: 1rem;
}

.benefits {
    padding: 1.25rem 2.25rem 2rem;
    font-size: 0.96875rem;
}

.benefits h2 {
    margin-bottom: 1rem;
}

footer {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 13.75rem;
    padding: 4.75rem 3rem 4.25rem;
    color: #fff;
    background: #009640;
    font-size: 0.9rem;
    font-weight: bold;
    line-height: 1.1875rem;
    text-align: center;
}

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

@media only screen and (max-width: 40rem) {
    .company,
    .position,
    .academy,
    .tasks,
    .requirements,
    .benefits {
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }

    h1 {
        font-size: 1.5rem;
        line-height: 1.2;
        text-align: center;
    }

    footer {
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }
}
