@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: #f3f0f0;

}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
	position: relative;
	max-width: 50rem;
	margin: 1rem auto;
	overflow: hidden;
    padding: 3rem 4rem;
    background-color: #fff;
    border: 1px solid #ededed;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a.link {
    color: #0000ff;
    text-decoration: underline;
}

a:hover {
    text-decoration: underline;
}

h1 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1rem;
    margin: 1rem 0;
}

h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

ul {
    margin: 0 0 1rem 2rem;
}

ul li {
    line-height: 2;
}
  
footer {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
}

footer p {
    width: 45%;
}

@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) {
        #wrapper {
        padding: 2rem 3rem;
    }
    
    footer {
        flex-direction: column;
    }

    footer p {
        width: 100%;
    }

    ul {
        margin: 0 0 1rem 1rem;
    }

    ul li {
        line-height: 1.5;
    }
}

@media only screen and (max-width: 40rem) {
    #wrapper {
        padding:1rem;
    }
}

