@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v44-latin-regular.eot');
    src: url('../fonts/open-sans-v44-latin-regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/open-sans-v44-latin-regular.woff2') format('woff2'),
        url('../fonts/open-sans-v44-latin-regular.woff') format('woff'),
        url('../fonts/open-sans-v44-latin-regular.ttf') format('truetype'),
        url('../fonts/open-sans-v44-latin-regular.svg#OpenSans') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #282827;
    font: 400 0.9375rem/1.5em 'Open Sans', Arial, sans-serif;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 53.125rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    border: solid 0.0625rem #282827;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a.link:hover {
    color: #289548;
}

a.mail:hover {
    color: #289548;
}

.nowrap {
    white-space: nowrap;
}

h1 {
    background-color: #019641;
    text-align: center;
    color: #fff;
    margin: 0;
    padding: 1rem;
    font-size: 1.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 1rem;
    color: #019641;
    margin: 1rem 0 0.625rem;
}

h1,
h2 {
    font-family: "Arial", sans-serif
}

ul {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
}

ul li {
    padding-left: 1rem
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1rem;
    font-size: 1.375rem;
    line-height: 1;
}

.margin {
    margin: 1.875rem 0;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .section:first-of-type {
    width: 70%;
}

header .section:last-of-type {
    padding: 0 1.5rem 0 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

header .section p {
    text-align: center;
    margin: .5rem 0 0;
}

article {
    padding: 0;
}

.flex {
    display: flex;
    justify-content: space-between;
}

article .section {
    width: 65%;
    padding: 1rem 1rem 0 2rem;
}

:is(article, footer) p:not(:last-of-type) {
    margin: 0 0 1rem;
}

.aside {
    background: #d1ede1;
    padding: 1rem;
    width: 33.5%;
}
span{
    white-space: nowrap;
}
.aside p span {
    color: #019641;
    font-weight: bold;
}

.aside a.apply {
    background: #019641;
    border: solid 0.0625rem #019641;
    text-align: center;
    color: #fff;
    padding: .5rem 2rem;
    display: block;
    margin: 1.5rem 0;
}

.aside a.apply:hover {
    background: transparent;
    color: #019641;
}

footer {
    background: #d1ede1;
}

footer .section {
    width: 66.5%;
    padding: 0 1rem 2rem 2rem;
    background: #fff;
}
.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;
    }
  }
 
@media only screen and (max-width: 53.0625rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    ul {
        margin: 0 0 1rem;
    }
}

@media only screen and (max-width: 48rem) {
    .flex {
        justify-content: flex-start;
        flex-direction: column;
    }

    article .section,
    .aside,
    footer .section {
        width: 100%;
        padding: 1rem 2rem;
    }

    .aside {
        display: flex;
        justify-content: space-between;
        column-gap: 1rem;
    }

    .aside a.apply {
        margin: 1rem 0 .5rem;
    }

    footer {
        background: #fff;
    }

    .margin {
        margin: 0 0 1rem;
    }
}

@media only screen and (max-width: 37.125rem) {
    header {
        padding: 0;
        justify-content: center;
        align-items: center;
        flex-direction: column-reverse;
    }

    header .section:first-of-type {
        width: 100%;
    }

    header .section:last-of-type {
        padding: 0 1rem 1rem;
    }
}

@media only screen and (max-width: 30rem) {
    .aside {
        padding: 1rem;
    }

    :is(article, footer) .section {
        padding: 1rem 1rem 0;
    }

    h1 {
        margin: 0;
    }

    .aside {
        flex-direction: column;
    }

    .aside p {
        text-align: center;
    }

    .aside a.apply {
        padding: .5rem 3rem;
    }
}

@media only screen and (max-width: 23.5rem) {
    .aside a.apply {
        width: 100%;
    }
}
