@charset "utf-8";

/* Standard */
:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
}

html {
    min-height: 100%;
}

body {
    font: 1em/1.3em Calibri, sans-serif;
    color: #fff;
}

#wrapper {
    position: relative;
    margin: 1rem auto;
    overflow: hidden;
    max-width: 515px;
    border: solid 1px #000;
    background: #fff url('../images/bg.jpg') no-repeat top;
}

p {
    padding-bottom: 1rem;
    font-weight: 700;
}

h1 {
    margin: 16px 0rem 0.7rem;
    font-size: 1.188em;
    line-height: 1.1em;
    background: #0C6FB8;
    border-radius: 0 30px 30px 0;
    padding: 0.5rem 1rem;
    width: fit-content;

}

h1 small {
    font-size: 0.7em;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}

ul {
    padding: 0rem 0rem 1rem 0rem;
    list-style: none;
}

li {
    padding: 0 0 0 16px;
}

ul li:before {
    content: "\2022";
    font-size: 1em;
    float: left;
    margin: 0 0 0 -16px;
}

header {
    position: relative;
}

header a:first-of-type {
    position: absolute;
    top: 5%;
    height: 23%;
    right: 3%;
    width: 18%;
}

header a:last-of-type {
    position: absolute;
    top: 31%;
    right: 3%;
    height: 23%;
    width: 18%;
}

article {
    padding: 0 1rem;
}

footer {
    padding: 0 1rem 0.5rem;
}

img {
    max-width: 100%;
    height: auto;
}

@media only screen and (max-width:514px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        background: #fff;
    }
    p{
        color: #000;
    }

    p :is(span, a) {
        display: inline-block;
    }
}