@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #B8DAEC;
    font: 1.125em/1.3 Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 820px;
    margin: 1rem auto;
    border: solid 1px #000;
    background: #BBDAEC url('../images/bg.jpg') no-repeat top center;
    overflow: hidden;
    padding: 1rem 26.25rem 1rem 2.375rem;
    height: 554px;
}
p {
    padding-bottom: 0.75rem;
}
h1 {
    margin: 0;
    font-size: 1.4em;
    line-height: 1.2;
}
h1 + p {
    padding-right: 1.25rem;
}
h2 {
    font-size: 2.4em;
    line-height: 1.15;
    margin: 0.25rem 0;
    text-transform: uppercase;
    position: relative;
    width: fit-content;
}
h2::before {
    content: "";
    width: 123px;
    height: 88px;
    background: url('../images/txt.png') no-repeat center;
    position: absolute;
    top: -38px;
    right: -25px;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}
img {
    max-width: 100%;
    height: auto;
}
.flex {
    display: flex;
    justify-content: flex-start;
    gap: 0.5rem;
}
.flex > p {
    padding-top: 0.5rem;
}
.flex div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 0.625rem;
}
.flex div p {
    text-align: center;
    font-size: 0.75em;
    line-height: 1.3;
}
footer p {
    margin: 0.75rem -15rem 0 0;
}
footer p, .social i {
    color: #EE1D23;
}
.social i {
    font-size: 1.5em;
    line-height: 1.2;
}
@media only screen and (max-width: 819px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem 2rem 0;
        background: #2B2331;
        height: auto;
    }
    header {
        display: flex;
        justify-content: center;
    }
    h2 {
        margin: 2rem auto 1rem;
    }
    h1 + p {
        padding-right: 0;
    }
    h1 {
        margin-bottom: 1rem;
    }
    footer p {
        margin: 0 -2rem;
        background-color: #B9D9EB;
        padding: 1rem 2rem;
        text-align: center;
    }
    p span {
        display: inline-block;
    }
}
@media only screen and (max-width: 480px) {
    body {
        font-size: 1em;
    }
    #wrapper {
        padding: 1rem 1rem 0;
    }
    h2 {
        padding-right: 35px;
    }
    h2::before {
        right: 0;
    }
    .flex br {
        display: none;
    }
    .flex {
        flex-direction: column;
        align-items: center;
    }
}
@media only screen and (max-width: 400px) {
    h2 {
        font-size: 2em;
        padding: 1rem 3.375rem 0 0;
    }
}