@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Roboto Flex';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-flex-v26-latin-regular.eot');
    src: url('../fonts/roboto-flex-v26-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-flex-v26-latin-regular.woff2') format('woff2'), url('../fonts/roboto-flex-v26-latin-regular.woff') format('woff'), url('../fonts/roboto-flex-v26-latin-regular.ttf') format('truetype'), url('../fonts/roboto-flex-v26-latin-regular.svg#RobotoFlex') format('svg');
}

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #181a1e;
    font-family: 'Roboto Flex', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
    background-color: #fff;
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
    position: relative;
    overflow: hidden;
    background: #fff;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a:hover {
    text-decoration: underline;
}

p {
    margin: 0 0 1.25rem;
}

span,.nowrap {
    white-space: nowrap;
}

ul {
    margin: 0 0 1.875rem;
    list-style: none;
}

ul li {
    margin: 0 0 0.9375rem;
    padding: 0 0 0 1.25rem;
}

ul li:before {
    content: "";
    background-color: #181a1e;
    width: 0.25rem;
    height: 0.25rem;
    border-radius: 50%;
    position: relative;
    display: block;
    float: left;
    top: .562rem;
    margin: 0 0 0 -1.25rem;
}

h1 {
    font-size: 40px;
    margin: 1.25rem 0 1rem;
}

h1 small {
    font-weight: normal;
}

h2 {
    font-size: 24px;
    font-weight: 400;
    margin: 0 0 0.3125rem;
}

header {
    box-shadow: 0 0.3125rem 0.625rem -0.3125rem #e7e9f1;
}

.logo {
    max-width: 66rem;
    margin: 0 auto;
    padding: 1rem;
}

.images {
    max-width: 66rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.slider {
    position: relative;
}

.slider > img {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: imageAnimation 18s linear infinite 0s;
}

.slider > img:nth-of-type(1) {
    position: static;
    opacity: 1;
}

.slider > img:nth-of-type(2) {
    animation-delay: 6s;
}

.slider > img:nth-of-type(3) {
    animation-delay: 12s;
}

@keyframes imageAnimation {
    4% {
        opacity: 1;
    }

    33% {
        opacity: 1;
    }

    38% {
        opacity: 0;
    }
}

article {
    max-width: 66rem;
    margin: 0 auto;
    padding: 1rem;
}

footer {
    max-width: 66rem;
    margin: 0 auto 2.5rem;
    padding: 1rem;
}

a.apply {
    color: #fff;
    background-color: #cc0000;
    font-weight: 700;
    width: 8.875rem;
    height: 2.875rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

a.apply:hover {
    background-color: #E60000;
    text-decoration: none;
}

@media only screen and (max-width: 65.937rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
        margin: 0 0 1rem
    }

    ul li {
        margin: 0;
        padding: 0 0 0 1rem;
    }

    ul li:before {
        margin: 0 0 0 -1rem;
        top: .625rem
    }

    .logo {
        padding: 0 0 1rem
    }

    .images,
    article {
        padding: 1rem 0 0
    }

    footer {
        padding: 0;
        margin: 0 auto
    }
}

@media only screen and (max-width: 768px) {
    h1 {
        font-size: 30px;
        text-align: center;
    }
    
    .logo {
        display: flex;
        flex-direction: column;
        align-items: center
    }
}

@media only screen and (max-width: 480px) {
    a.apply {
        width: 100%
    }
    
    article p:last-of-type {
        text-align: center;
    }
}
