@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    color: #3C3C3C;
    font: 400 1em/1.5em Arial, sans-serif;
    background: #EDEDEB url('../images/bg.jpg') no-repeat fixed top center;
    background-size: cover;
}

#wrapper {
    position: relative;
    max-width: 790px;
    margin: 1rem auto;
    background: #fff;
    overflow: hidden;
    padding: 0;
}

p {
    padding-bottom: 1rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #009fe3;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1 {
    font-size: 1.125em;
    line-height: 1.3;
    padding-bottom: 1rem;
}

h2 {
    font-size: 1.125em;
    line-height: 1.3em;
    margin: 1rem 0 0.5rem;
    color: #009fe3;
}

ul {
    padding: 0 0 1rem;
    list-style: none;
}

li {
    padding-left: 1rem;
}

li:before {
    content: "•";
    float: left;
    margin: -1px 0 0 -1rem;
}

header {
    padding: 1rem;
    display: flex;
}

.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;
    }
}

main {
    padding: 3.75rem;
}

a.apply {
    padding: 0.625rem 1.25rem;
    background: #009fe3;
    color: #fff;
    display: block;
    margin: 1rem 0 0;
    width: fit-content;
}

@media only screen and (max-width:789px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -o-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    p :is(span, a) {
        display: inline-block;
    }

    body {
        background: #EDEDEB
    }

    header {
        justify-content: center;
    }

    main {
        padding: 2rem;
    }

    a.apply {
        margin: 1rem auto 0;
    }
}

@media only screen and (max-width:480px) {
    main {
        padding: 1rem;
    }
}