@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family: "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    border: solid 1px #000;
}

:is(a:link, a:visited, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a:hover {
    text-decoration: underline;
}

article p {
    padding-bottom: 1rem;
}

.gray {
    text-align: center;
    font-size: 1.2rem;
    color: #747373;
}

h1 {
    font-size: 1.7rem;
    line-height: 1.3;
    padding-bottom: 3rem;
    text-align: center;
    color: #e89e23;
}

h2 {
    font-size: 1.3rem;
    font-weight: normal;
    width: 17rem;
    padding: .5rem 1rem .5rem 3rem;
    display: inline-block;
    margin: 0 0 .5rem -3rem;
    border-radius: 2rem;
    background-color: #e89e23;
    color: #fff;
}

ul {
    padding: 0 0 2rem 1rem;
}

.text {
    position: absolute;
    bottom: 4rem;
    right: 1rem;
    text-align: right;
    width: 20rem;
}

.contact p {
    display: flex;
    align-items: center;
    gap: .5rem;
}

header {
    padding: 1rem;
    display: flex;
}

article section:first-of-type {
    padding: 1rem 2rem 12rem;
    background: url("../images/bg1.jpg") top /contain no-repeat;
}

article section:last-of-type {
    position: relative;
    padding: 1rem 2rem 5rem;
    background: url("../images/bg2.jpg") bottom /contain no-repeat;
}

footer {
    padding: 1rem 2rem;
    text-align: center;
}

.iframe-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.iframe-wrapper iframe,
.iframe-wrapper object,
.iframe-wrapper embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media only screen and (max-width: 49.938rem) {

    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    header {
        justify-content: center;
    }

    .gray {
        padding-top: 1rem;
    }

    article br {
        display: none;
    }

    article :is(section:first-of-type, section:last-of-type) {
        padding: 0 2rem;
        background: #d1d1db;
    }

    .text {
        position: static;
        width: auto;
        text-align: left;
        background-color: #e89e23;
        padding: 1rem 2rem;
        margin: 0 -2rem 1rem;
    }
}

@media only screen and (max-width: 35rem) {
    h1 {
        padding-bottom: 1.5rem;
        font-size: 1.5rem;
    }

    .gray {
        font-size: 1rem;
    }

    ul {
        padding-bottom: 1rem;
    }

    article :is(section:first-of-type, section:last-of-type) {
        padding: 0 1rem;
    }
}