@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #000;
    font: 1em/1.3em Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 800px;
    margin: 1rem auto;
    border: solid 1px #000;
    background: #fff;
    overflow: hidden;
    padding: 0;
}
p {
    padding-bottom: 1rem;
}
h1 {
    margin: 0 0 0.1rem;
    font-size: 2.492em;
    line-height: 1.1;
    text-transform: uppercase;

}
h2 {
    font-size: 1.3em;
    line-height: 1.3;
    font-weight: normal;
    margin: 0 0 1.3rem;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: #fff;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
}
header img {
   display: block;
}
article {
    position: absolute;
    top: 10rem;
    left: 2rem;
    color: #fff;
}
.contact {
    display: flex;
    justify-content: flex-start;
    gap: 2rem;
}
.contact p {
    font-weight: bold;
    font-size: 0.875em;
    line-height: 1.3em;
}
footer {
   position: absolute;
   bottom: 80px;
   left: 430px;
}


@media only screen and (max-width:798px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        background: #0E7DBF;
    }
    article {
        padding: 1rem 1rem 0;
        position: static;
    }
    footer {
        bottom: 2rem;
    }
}
@media only screen and (max-width:529px) {
    h1 {
        font-size: 2em;
    }
    footer {
        position: static;
        display: flex;
        justify-content: center;
        padding: 0 1rem 1rem;
    }
}
@media only screen and (max-width:399px) {
    h1 {
        font-size: 1.6em;
        text-align: center;
    }
    h2 {
        text-align: center;
    }
    .contact {
         flex-direction: column;
         gap: 0;
    }
    .contact p {
        text-align: center;
        margin: 0;
    }
}