@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Istok Web';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/istok-web-v24-latin-regular.eot'); 
    src: url('../fonts/istok-web-v24-latin-regular.eot?#iefix') format('embedded-opentype'), 
         url('../fonts/istok-web-v24-latin-regular.woff2') format('woff2'),
         url('../fonts/istok-web-v24-latin-regular.woff') format('woff'),
         url('../fonts/istok-web-v24-latin-regular.ttf') format('truetype'), 
         url('../fonts/istok-web-v24-latin-regular.svg#IstokWeb') format('svg');
}

@font-face {
    font-display: swap; 
    font-family: 'Istok Web';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/istok-web-v24-latin-700.eot'); 
    src: url('../fonts/istok-web-v24-latin-700.eot?#iefix') format('embedded-opentype'), 
         url('../fonts/istok-web-v24-latin-700.woff2') format('woff2'), 
         url('../fonts/istok-web-v24-latin-700.woff') format('woff'),
         url('../fonts/istok-web-v24-latin-700.ttf') format('truetype'),
         url('../fonts/istok-web-v24-latin-700.svg#IstokWeb') format('svg');
}

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #5c6971;
    font-family: 'Istok Web', 'Arial', sans-serif;
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.4;
    background-color: #fff;
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 0.0625rem solid #000;
}

:is(a:link,a:visited,a:active) {
    color: #000080;
    text-decoration: none;
    white-space: nowrap;  
}

a:hover {
    text-decoration: underline;
}

h1 {
    font-size: 1.625rem;
    font-weight: 400;
    color: #fff;
    background-color: #CAD400;
    padding: 1rem;
    border-top-right-radius: 2rem;
    border-top-left-radius: 2rem;
}

h2 {
    color: #5C6d71;
    font-size: 1rem;
    margin-bottom: 0.3125rem;
}

h3 {
    font-size: 1.25rem;
    margin: 0 0 0.625rem;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

p {
    margin-bottom: 0.625rem;
}

.margin {
    margin-bottom: 2.5rem;
}

ul {
    margin: 0 0  1rem 1.5rem;
}

ul li::marker {
    color: #CAD400;
}

header {
    border-top: 1.875rem solid #CAD400;
    position: relative;
}

.image {
    display: block;
}

.logo_container {
    max-width: 50rem;
    margin: 0 auto;
    position: relative;
    z-index: 100;
    bottom: 1.875rem;
}

.title {
    max-width: 50rem;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 0.125rem 0.25rem 0 rgb(0 0 0 / 25%);
    position: absolute;
    bottom: -5.55rem;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2rem;
}

.infos {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.625rem 1rem;
    background-color: #fff;
    border-bottom-right-radius: 2rem;
    border-bottom-left-radius: 2rem;
}

.info {
    width: 48%;
}

.info:first-of-type {
    border-right: 0.125rem solid #eeeff1;
}

.info p {
    margin: 0 0 0.625rem;
}

.info p i {
    font-size: 1.5em;
    color: #CAD400;
    margin: 0 0.625rem 0 0;
}

article {
    max-width: 50rem;
    margin: 0 auto 1.25rem;
    padding: 8.125rem 0.625rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 0.0625rem solid #eee;
}

.column {
    width: 60%;
}

.grey {
    width: 35%;
    background-color: #D6DCE5;
    padding: 1.25rem 1rem;
}

.grey p {
    text-align: justify;
}

footer {
    max-width: 50rem;
    margin: 0 auto;
    padding: 0.625rem 0.625rem 1.875rem;
}

a.apply {
    color: #fff;
    background-color: #CAD400;
    font-size: 1rem;
    text-decoration: none;
    width: 7.625rem;
    height: 3.375rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all ease-in-out .2s;
    border-radius: 2rem;
}

a.apply:hover {
    background-color: #b0b903;
}

@media only screen and (max-width: 49.938rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
    }

    .margin {
        margin: 0 0 1rem;
    }

    .nowrap {
        white-space: nowrap;
    }

    h1 {
        text-align: center;
        font-size: 1.5rem;
    }

    h3,
    h4 {
        margin: 0 0 0.3125rem;
    }

    header {
        border-top: 1.25rem solid #CAD400;
    }

    .logo_container {
        bottom: 1.25rem;
    }

    .title {
        position: static;
        transform: translateX(0);
    }

    .infos {
        flex-direction: column;
        align-items: center;
    }

    .info {
        width: 100%;
    }

    .info:first-of-type {
        border-right: none;
    }

    .info p {
        text-align: center;
    }

    article {
        padding: 1rem 0;
        flex-direction: column;
    }

    ul {
        margin: 0 0 1rem 1rem;
    }

    .column {
        width: 100%;
    }

    .grey {
        width: 100%;
        padding: 1rem;
    }

    .grey p {
        text-align: left;
    }

    footer {
        display: flex;
        justify-content: center;
        padding: 1rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
}