@charset "utf-8";

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
    font-size: 16px;
}

body {
    color: #000;
    font-family: "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    border: solid 1px #000;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1 {
    font-size: 1.7rem;
    margin: 1.5rem 0;
}

h2 {
    font-size: 1.1rem;
    color: #1E1E38;
    margin: 1rem 0;
}

ul {
    margin: 0 0 0 1rem;
}

.title {
    background-color: #1E1E38;
    padding: 1.5rem;
}

.title :is(h1,p) {
    color:#fff;
}

article {
    padding: 1.5rem 2rem;
}

article p {
    margin-bottom: 1rem;
}

.flex {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.flex section {
    width: 50%;
    background-color: #1e1e380a;
    padding: 1.5rem;
}

article section {
    background-color: #1e1e380a;
    padding: 1.5rem;
}

.button {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.button a {
    background: #FA0021;
    color: #fff;
    font-weight: 700;
    padding: 0.4rem 2rem;
    border-radius: 5px;
}

footer {
    padding: 1rem 2rem 2rem;
}

footer p {
    font-size: 0.625rem;
}

@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;
    }

    .flex {
        flex-direction: column;
    }

    .flex section {
        width: 100%;
    }
}

@media only screen and (max-width: 30rem) {
    
    article,
    .title,
    footer {
        padding: 1rem;
    }
}

