@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;
    line-height: 1.5;
    background: #d1cfcf;
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
	position: relative;
	max-width: 50rem;
	margin: 1rem auto;
	overflow: hidden;
    padding: 2rem;
    border: 1px solid #a09d9d;
    background: #fff;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

h1 {
    font-size: 2rem;
    text-align: center;
    color: #1f497d;
    margin: 1rem 0 3rem;
}

h2 {
    font-size: 1.2rem;
    color: #1f497d;
}

h3 {
    font-size: 1rem;
    color: #363535;
    font-style: italic;
    margin-bottom: 3rem;
}

p {
    margin-bottom: 1rem;
}

ul {
    margin: 0 0 1rem 1.25rem;
}
  
.bg {
    background: url(../images/bg.png);
}

footer {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: center;
}

footer .left {
    width: 40%;
}
footer .right {
    width: 60%;
}

footer .right p {
    text-align: center;
}

.margin-right {
    margin-right: 1.5rem;
}

@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;
    }
}

@media only screen and (max-width: 48rem) {
    footer {
        flex-direction: column;
    }

    footer .left,
    footer .right {
        width: 100%;
    }

    .none {
        display: none;
    }
}

@media only screen and (max-width: 40rem) {
    #wrapper {
        padding: 1rem;
    }
}

