@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #333;
    font-family: "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    background: url(../images/bg.jpg) no-repeat top center;
    background-size: cover;
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
}

:is(a:link, a:visited, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a.link {
    color: #005eaa;
    text-decoration: underline;
}

p {
    margin-bottom: 1rem;
}

span {
    white-space: nowrap
}


h1 {
    font-size: 1.5rem;
    line-height: 1.3;
    color:#005eaa;
    margin: 1rem 0;
}

h2 {
    font-size: 1.187rem;    
    color:#005eaa;
}

ul {
    padding: 1rem 0 1rem 1rem;
}

ul li {
    padding-bottom: 0.5rem;
}

header {
    padding: 1rem;
    background-color: #fff;
    margin-bottom: 1rem;
}


.section {
    margin: 1rem 0;
    padding: 1rem 2rem;
    background: #fff;
}

.button {
    display: flex;
    margin: 1rem 0;
}

a.apply {
    background: #005eaa;
    border: 1px solid #005eaa;
    color: #fff;
    padding: 0.5rem 1rem;
    display: block;
    width: fit-content;
    margin-bottom: 1rem;
}

a.apply:hover {
    background: #fff;
    color: #004381;
}


.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;
    }
}

iframe {
    display: block;
    width: 100%;
    height: 28.125rem;
}


.iframe-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 52.4%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}


.iframe-wrapper iframe,
.iframe-wrapper object,
.iframe-wrapper embed {
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}



@media only screen and (max-width: 49.937rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    h1 {
        width: auto
    }

    h3 {
        margin-top: 0
    }
}

@media only screen and (max-width: 750px) {

    h1 {
        text-align: center
    }
}

@media only screen and (max-width: 37.5rem) {
    h2 {
        font-size: 1.375rem;
    }
}

