@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:is(a:link, a:visited, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

body {
    color: #231F20;
    font-family: 'Fira Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.4;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    border: 1px solid #231F20;
    background-color: #fff;
    overflow: hidden;
    padding: 3rem;
}

p {
    margin-bottom: 1rem;
}

h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin: 1.5rem 0;
    text-align: center;
}

h1 span {
    font-size: 1.2rem;
}

h2 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;;
}

ul {
    margin: 0 0 1.5rem 1.25rem;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

header p {
    width: 80%;
}

header img {
    width: 10rem;
}

.center {
    text-align: center;
}

footer {
    margin-top: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

footer p {
    width: 80%;
    font-size: 0.9rem;
}

footer img{
    width: 6rem;
}

a.link {
    color: blue;
    text-decoration: underline;
}

@media only screen and (max-width: 49rem) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: 1rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    header {
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    header p,
    footer p {
        width: 100%;
    }

    footer {
        flex-direction: column;
    }

}
@media only screen and (max-width: 35rem) {
    h1 {
        font-size: 1.5rem;
    }

    h1 span {
        font-size: 1.1rem;
    }
}