@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: linear-gradient(180deg, rgba(239, 239, 239, 0.3) 18.75rem, rgba(239, 239, 239, 1) 50rem), url("../images/bg.jpg") no-repeat top center;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 52rem;
    margin: 1rem auto;
    overflow: hidden;
    font-weight: 400;
    padding: 0 1rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #6a9817;
    text-decoration: underline 1px dotted;
    white-space: nowrap;
}

a.tel {
    text-decoration: none;
    color: inherit;
}

h1 {
    font-size: 1.625rem;
    line-height: 1.3;
    margin: 1.25rem 0;
    color: #1d3b76;
}

h1 span {
    font-size: 1.25rem;
    font-weight: normal;
}

h2 {
    font-size: 1.25rem;
    line-height: 1.3;
    color: #1d3b76;
    padding: 0.75rem 1.625rem;
    background-color: #e6e6e6;
}

p {
    margin: 0 0 1.25rem;
}

section div *:last-child {
    margin: 0;
}

ul {
    margin: 0 0 .625rem;
    padding-left: 1rem;
}

section {
    border: 1px solid rgba(0, 0, 0, 0.125);
    margin: .75rem 0;
    background: #fff;
    box-shadow: 0 0 16px rgba(0, 0, 0, .125);
}

section div {
    padding: .75rem 1.625rem 1rem;
}

a.btn {
    width: 40%;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.5rem 0.75rem;
    border-radius: 3px;
    text-align: center;
    transition: all 0.2s ease-in-out;
    color: #ffffff;
    background-color: #6a9817;
    text-decoration: none;
    border: 2px solid #6a9817;
}

a.btn:hover {
    background-color: transparent;
    color: #6a9817;
}

header section {
    margin: 0 0 .75rem;
    background-color: #fff;
    padding: 1.5rem 1.625rem;
    display: flex;
}

footer {
    padding: .75rem;
    display: flex;
    justify-content: center;
}

@media only screen and (max-width: 49.9375rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: .75rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    body {
        background: rgba(239, 239, 239, 1);
    }

    h1 br {
        display: none;
    }
}

@media only screen and (max-width: 30rem) {
    header section {
        justify-content: center;
    }

    h1 {
        font-size: 1.4rem;
    }

    h2 {
        font-size: 1.1rem;
        padding: 0.75rem 1rem;
    }

    section div {
        padding: .75rem 1rem;
    }

    ul {
        padding-left: 1rem;
    }

    a.btn {
        width: 70%;
    }
}