@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&family=Oswald:wght@200..700&display=swap');
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #000;
    font: 400 1.125em/1.3 "Jost", Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 665px;
    min-width: 250px;
    margin: 1rem auto;
    border: solid 2px #746352;
    background: #F2ECE8 url('./bg.jpg') no-repeat top center;
    overflow: hidden;
    height: 998px;
    padding: 3rem 2.25rem 0;
}
p {
    padding-bottom: 1rem;
}
h1 {
    margin: 1rem 0 2.5rem;
    font: 500 3.688em/1.3 "Oswald", Arial, sans-serif;
    letter-spacing: 1.5px;
}
h1 span {
    font-size: 0.7em;
}
h2 {
    font-size: 1.438em;
    line-height: 1.3;
    padding: 1rem 0;
    font-weight: 500;
    color: #F2ECE8;
}
h1, h2 {
    text-transform: uppercase;
    text-align: center;
}
a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}
header {
    display: flex;
    justify-content: center;
}
hr {
    border: 0;
    border-bottom: 2px solid #978472;
    margin: 1.25rem auto 1.5rem 2.625rem;
    width: 77%;
}
.flex strong {
    display: block;
    font-weight: 600;
}
.flex p {
    padding: 0;
    line-height: 1.5;
}
.flex {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #978472;
    margin-bottom: 0.75rem;
    width: 85%;
    margin-left: 2.625rem;
}
footer {
    padding: 3.25rem 2.625rem 1rem 2rem;
    margin: 0 -2.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
footer::before {
    content: "";
    width: 1px;
    height: 47%;
    position: absolute;
    left: 52%;
    top: 4.25rem;
    background-color: #F2ECE8;
}
footer p {
    color: #F2ECE8;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.938em;
    line-height: 1.4;
}
@media only screen and (max-width: 664px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        height: auto;
        padding: 1rem 1rem 0;
        background: #F2ECE8;
    }
    h2 {
        width: fit-content;
        margin: 2rem auto;
        padding: 0.75rem 1rem;
        background-color: #746352;
    }
    .flex, hr {
        width: auto;
        margin-left: 0;
    }
    article br, footer::before {
        display: none;
    }
    article {
        padding-bottom: 1rem;
    }

    h1 {
        font-size: 3em;
    }
    footer {
        background-color: #746352;
        padding: 1rem;
        margin: 0 -1rem;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}
@media only screen and (max-width: 525px) {
    h2 {
        font-size: 1.3em;
    }
    h1 {
        font-size: 2.25em;
    }
}
@media only screen and (max-width: 400px) {
    .flex {
        flex-direction: column;
    }
    .flex p {
        text-align: center;
    }
}