@charset "utf-8";

:root {
    font-size: 16px;
    scrollbar-width: none;
}

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

body {
    color: #000;
    background: #fff;
    font-family: Arial, sans-serif;
}

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

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

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

.job-ad {
    display: flex;
    flex-direction: column;
    min-height: 71.0744rem;
    border-top: 1px solid #d4d4d4;
    font-size: 0.8264rem;
    font-weight: 700;
    line-height: 1.0248rem;
}

.banner {
    position: relative;
    padding-bottom: 0.2479rem;
}

.banner img {
    display: block;
    width: 100%;
}

.application {
    position: absolute;
    top: 84.582%;
    right: 1.81818%;
    display: block;
    width: 32.2314%;
    padding: 0.2479rem 0.4132rem 0.3306rem;
    border-radius: 0.3306rem;
    background: #6ba45c;
    color: #fff;
    box-shadow: 0 0.3306rem 0.4132rem #0005;
    transform: rotate(-3deg);
    transform-origin: center;
}

.application::after {
    position: absolute;
    top: 0.5785rem;
    right: 0.5785rem;
    width: 1.8182rem;
    height: 1.8182rem;
    background-image: radial-gradient(circle, #fff 0.0992rem, transparent 0.1157rem);
    background-size: 0.4132rem 0.4132rem;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    content: "";
}

.application span {
    display: block;
    white-space: nowrap;
}

.application-label {
    font-size: 0.8678rem;
    line-height: 1.0744rem;
}

.application-date {
    font-size: 1.6529rem;
    font-weight: 400;
    line-height: 1.8182rem;
}

.application-url {
    font-size: 1.6529rem;
    font-weight: 400;
    letter-spacing: -0.0413rem;
    line-height: 1.8182rem;
}

article {
    padding: 1.0744rem 6.28099% 0;
}

.intro {
    width: 69%;
    font-size: 0.9174rem;
    line-height: 1.405rem;
}

h1 {
    margin: 0.4132rem 0 0.6612rem;
    font-size: 2.0661rem;
    font-style: italic;
    line-height: 2.8099rem;
}

.contact {
    display: grid;
    grid-template-columns: 23.44% auto;
    font-size: 0.8264rem;
    line-height: 1.157rem;
}

.columns {
    display: grid;
    grid-template-columns: 46.3158% 48.206%;
    column-gap: 5.4782%;
    margin-top: 1.4876rem;
}

h2 {
    margin-bottom: 0.5785rem;
    font-size: 0.9091rem;
    line-height: 1.2397rem;
}

ul {
    list-style: none;
}

li {
    position: relative;
    padding-left: 1.157rem;
}

li::before {
    position: absolute;
    top: -0.0826rem;
    left: 0;
    color: #6ba45c;
    content: "»";
    font-family: Arial, sans-serif;
    font-size: 1.3223rem;
    font-weight: 400;
    line-height: 1.0248rem;
}

.duties {
    margin-top: 2.3967rem;
}

.personal-profile {
    margin-top: 2.3141rem;
}

footer {
    margin-top: auto;
    padding: 0 6.28099% 0.9091rem;
    color: #77a964;
    font-family: Cambria, Georgia, serif;
    font-size: 1.157rem;
    font-style: italic;
    line-height: 1.4876rem;
}

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

    .job-ad {
        min-height: 53.75rem;
        font-size: 0.625rem;
        line-height: 0.775rem;
    }

    .banner {
        padding-bottom: 0.1875rem;
    }

    .application {
        padding: 0.1875rem 0.3125rem 0.25rem;
        border-radius: 0.25rem;
        box-shadow: 0 0.25rem 0.3125rem #0005;
    }

    .application::after {
        top: 0.4375rem;
        right: 0.4375rem;
        width: 1.375rem;
        height: 1.375rem;
        background-image: radial-gradient(circle, #fff 0.075rem, transparent 0.0875rem);
        background-size: 0.3125rem 0.3125rem;
    }

    .application-label {
        font-size: 0.6563rem;
        line-height: 0.8125rem;
    }

    .application-date,
    .application-url {
        font-size: 1.25rem;
        line-height: 1.375rem;
    }

    .application-url {
        letter-spacing: -0.0313rem;
    }

    article {
        padding: 0.8125rem 6.28099% 0;
    }

    .intro {
        font-size: 0.6938rem;
        line-height: 1.0625rem;
    }

    h1 {
        margin: 0.3125rem 0 0.5rem;
        font-size: 1.5625rem;
        line-height: 2.125rem;
    }

    .contact {
        font-size: 0.625rem;
        line-height: 0.875rem;
    }

    .columns {
        margin-top: 1.125rem;
    }

    h2 {
        margin-bottom: 0.4375rem;
        font-size: 0.6875rem;
        line-height: 0.9375rem;
    }

    li {
        padding-left: 0.875rem;
    }

    li::before {
        top: -0.0625rem;
        font-size: 1rem;
        line-height: 0.775rem;
    }

    .duties {
        margin-top: 1.8125rem;
    }

    .personal-profile {
        margin-top: 1.75rem;
    }

    footer {
        padding: 0 6.28099% 0.6875rem;
        font-size: 0.875rem;
        line-height: 1.125rem;
    }
}
