@charset "utf-8";

@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/open-sans-regular.woff2") format("woff2");
}

@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/open-sans-bold.woff2") format("woff2");
}

@font-face {
    font-family: "Open Sans";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/open-sans-italic.woff2") format("woff2");
}

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #00334d;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 0.9rem;
    line-height: 1.55;
    background: #fff;
}

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

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

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible {
    outline: 2px solid #00334d;
    outline-offset: 3px;
}

strong,
h2 {
    font-weight: 700;
}

h1 {
    margin: 1.5rem 1rem 0;
    font-family: Cambria, Georgia, serif;
    font-size: 1.4583333rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}

.logo {
    width: 20rem;
    margin-bottom: 1rem;
}


.job-details {
    margin: 1.25rem 2.6041667rem 1.25rem;
}

.job-details p {
    margin-bottom: 0.8rem;
    line-height: 0.875rem;
}

.job-details p:last-child {
    margin-bottom: 0;
}

.job-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5208333rem;
}

.job-panel {
    min-height: 16.5625rem;
    padding: 1rem;
    background: #eee;
}

h2 {
    font-size: inherit;
    line-height: inherit;
}

.job-panel h2,
.benefits h2 {
    margin-bottom: 0.625rem;
}

ul {
    padding-left: 0.7291667rem;
}

li {
    padding-left: 0;
}

li::marker {
    color: #292d30;
}

.tasks li {
    margin-bottom: 0.625rem;
}

.tasks li:last-child {
    margin-bottom: 0;
}

.closing-content {
margin: 1.25rem 2.6041667rem 1.25rem;
}

.benefits li {
    margin-bottom: 0.625rem;
}

.benefits li:last-child {
    margin-bottom: 0;
}

.diversity {
    margin-top: 1.375rem;
    text-align: justify;
}

.diversity strong {
    color: #8cbb0f;
}

.inquiries {
    margin-top: 1.375rem;
    font-style: italic;
}

.contact {
    margin-top: 2.625rem;
    text-align: center;
}

.invitation {
    margin-bottom: 1.375rem;
    font-size: 0.8333333rem;
    line-height: 1.5;
}

.contact h2 {
    font-size: 0.8333333rem;
    line-height: 1.5;
}

.contact-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 6.6666667rem;
    height: 6.6666667rem;
    margin: 0.75rem auto 0.8333333rem;
    border-radius: 50%;
    color: #fff;
    background: #bfbfbf;
    font-size: 2.2916667rem;
    font-weight: 700;
    line-height: 1;
}

.contact-details {
    line-height: 1.4;
}

.contact-details a {
    color: #8cbb0f;
}

footer {
    display: flex;
    justify-content: center;
    padding: 3.75rem 1rem 0.875rem;
}

a.apply-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16.09375rem;
    max-width: 100%;
    min-height: 1.5625rem;
    padding: 0.3125rem 1rem;
    color: #fff;
    background: #8cbb0f;
    border: 1px solid #8cbb0f;
    font-weight: 700;
    text-align: center;
}
a.apply-button:hover {
    background-color: #fff;
    color: #8cbb0f;

}


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

@media only screen and (max-width: 40rem) {
    body {
        font-size: 0.8125rem;
    }

    header  {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 1rem 0;
    }

    h1 {
        font-size: 1.375rem;
    }

    .job-details {
        margin-inline: 1.25rem;
    }

    .job-details p {
        line-height: 1.55;
    }

    .job-columns {
        grid-template-columns: 1fr;
    }

    .job-panel {
        min-height: 0;
        padding: 1.25rem;
    }

    .job-panel li,
    .diversity {
        text-align: left;
    }

    .closing-content {
        margin: 1.25rem;
    }

    .invitation,
    .contact h2 {
        font-size: 1rem;
    }

    .inquiries a {
        overflow-wrap: anywhere;
    }
}
