@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #fff;
    font: 400 1.25em/1.3em Segoe, "Segoe UI", Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 536px;
    margin: 1rem auto;
    border: 1px solid #000;
    background: #fff url('../images/bg.jpg') no-repeat top center;
    overflow: hidden;
    height: 774px;
    padding: 1.625rem 2.25rem 1rem;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
p {
    padding-bottom: 0.5rem;
}
h1, h2 {
    font-weight: 900;
}
h1 {
    margin: 0;
    font-size: 1em;
    line-height: 1.3;
    color: #000;
}
h1 span {
    font-weight: 400;
}
h1 span:first-of-type {
    display: block;
}
h2 {
    font-size: 1.7em;
    line-height: 1.2;
}
h3 {
    font-size: 0.95em;
    line-height: 1.2;
    font-weight: 400;
    text-align: center;
    transform: rotate(-12.5deg);
    width: fit-content;
    margin: 0.5rem -2rem 0 auto;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
.bg {
    margin: 6rem 0 11rem 1.75rem;
}
.flex {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
}
.social {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
}
.flex strong {
    font-weight: 600;
}
.flex p {
    padding-bottom: 0;
}
footer {
    position: absolute;
    bottom: 1.25rem;
    right: 1.75rem;
}
@media only screen and (max-width: 535px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        background: #068FD0;
        height: auto;
        padding: 1rem 2rem;
    }
    p a, span {
        display: inline-block;
    }
    .bg {
        background: #fff;
        padding: 0.5rem 1rem;
        margin: 1.5rem 0;
    }
    h1 br, h3 br:not(:first-of-type) {
        display: none;
    }
    h2 {
        font-size: 1.5em;
    }
    h3 {
        transform: none;
        width: 100%;
        background-color: #F78F2E;
        padding: 0.5rem 1rem;
        margin: 1.5rem 0;
    }
    footer {
        position: static;
        display: flex;
        justify-content: center;
        padding-top: 1.5rem;
    }
}
@media only screen and (max-width: 480px) {
    #wrapper {
        padding: 1rem;
    }
    h1, h2, h3 {
        text-align: center;
    }
}
@media only screen and (max-width: 440px) {
    .flex {
        flex-direction: column;
        align-items: center;
    }
    .flex p {
        text-align: center;
    }
}