@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    background: #EFEFEF;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
}

:is(a:link, a:visited, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.color {
    color: #181474;
}

p {
    margin: 0 0 .625rem;
}

h1 {
    font-size: 1.375rem;
    line-height: 1.3;
    margin: .625rem 0 1.25rem;
}

h2 {
    font-size: 1.625rem;
    line-height: 1.3;
    margin: 0 0 1rem;
}

h3 {
    color: #e60000;
    font-size: 1.1875rem;
    margin: 0 0 0.625rem;
}

h4 {
    font-size: 1.1875rem;
    margin: 0 0 0.3125rem;
}

ul {
    list-style: none;
}

ul li {
    padding: 0 0 0 0.9375rem;
}

ul li:before {
    content: "";
    background-color: #e60000;
    width: 0.375rem;
    height: 0.375rem;
    position: relative;
    display: block;
    float: left;
    top: 0.5rem;
    margin: 0 0 0 -0.9375rem;
}

header {
    background-color: #fff;
    padding: 1.375rem 2rem;
    margin: 0 0 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row-reverse;
}

header i {
    padding-right: .312rem;
}

.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;
    }
}

.container {
    background-color: #fff;
    padding: 1rem 1.5rem;
    margin: 0 0 0.5rem;
}

.row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

figure > i {
    font-size: 3em;
}

.row > figure {
    width: 3.75rem;
    margin: 0;
}

.text {
    width: calc(100% - 5rem);
}

.button_container {
    display: flex;
    justify-content: center;
    margin: 1.25rem 0;
}

a.apply {
    color: #fff;
    background-color: #e60000;
    font-size: 1.125rem;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 14.375rem;
    height: 3.125rem;
    border: 0.0625rem solid #e60000;
    transition: all 200ms linear;
}

a.apply:hover {
    color: #e60000;
    background-color: #fff;
}

a.color {
    color: #181474;
    font-weight: 700;
    text-decoration: underline;
}

.contact {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem;
}

.contact p {
    margin: 0
}

.details {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    width: 40%;
    column-gap: 1.25rem;
}

.location_width {
    width: 48%;
}

.details > figure {
    margin: 0;
}

.iframe-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 1.875rem;
    height: 0;
    overflow: hidden;
}

.iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

footer {
    background-color: #FAFAFB;
    margin: .5rem 0 0;
    padding: 1rem 1.5rem;
}

footer p {
    margin: 0;
    text-align: center;
}

@media only screen and (max-width: 49.937rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: .5rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
}

@media only screen and (max-width: 48rem) {

    span {
        white-space: nowrap
    }

    h1 {
        width: 100%;
        margin: 1rem 0;
    }

    h2 {
        font-size: 1.625rem;
        margin: 1.25rem 0 0.625rem;
    }

    header {
        padding: 1rem;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        text-align: center;
    }

    .container {
        padding: 1rem;
    }

    .button_container {
        margin: 1.25rem 0;
    }

    .row > figure {
        text-align: center;
    }

    .details {
        margin: 0;
    }

    footer {
        background-color: #FAFAFB;
        margin: 0.5rem 0 0;
        padding: 1rem 1.5rem;
    }
}

@media only screen and (max-width: 30rem) {
    h2 {
        text-align: center;
        font-size: 1.125rem;
    }

    .row {
        flex-direction: column;
        align-items: center;
    }

    .text {
        width: 100%;
    }

    .text > h3 {
        text-align: center;
        margin: 1rem 0;
    }

    .text > p {
        text-align: center;
    }

    .contact {
        flex-direction: column;
        align-items: center;
        gap: 1.25rem;
        text-align: center;
    }

    .details {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

}

@media only screen and (max-width: 23.437rem) {
    header img {
        margin: .312rem 0 0;
    }
}
