@charset "utf-8";

/* Standard */
:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
}

html {
    min-height: 100%;
}

body {
    font: 0.813em/1.3em Calibri, sans-serif;
    color: #000;
}

#wrapper {
    position: relative;
    margin: 1rem auto;
    overflow: hidden;
    max-width: 930px;
    border: solid 1px #000;
    background: #fff;
}

p {
    padding-bottom: 1rem;
}

h1 {
    margin: 0rem 0rem 1rem;
    font-size: 1.375em;
    line-height: 1.1em;
}

h1 small {
    font-size: 0.7em;
    font-weight: 400;
}

h2 {
    font-size: 1.5em;
    background: #D9D9D9;
    line-height: 1.1;
    padding: 0.5rem 3rem 0.5rem 0.5rem;
    width: fit-content;
    box-shadow: -3px 2px 1px 0px #ADADAD;
    margin: 0 0 2rem 0;
}

h3 {
    font-size: 1.188em;
    line-height: 1.3;
    padding-bottom: 0.5rem;
}

h4 {
    font-size: 1em;
    line-height: 1.3;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}

ul {
    padding: 0 0 1rem;
    list-style: none;
}

li {
    padding: 0 0 0 16px;
}

ul li:before {
    content: "\2022";
    font-size: 1em;
    float: left;
    margin: 0 0 0 -16px;
}


.content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 1.5rem 0.5rem 0.5rem 1.5rem;
}

header {
    width: 333px;
}

article {
    width: 500px;

}

.background {
    background: #D9D9D9;
    padding: 0.5rem;
    margin-top: 4rem;
}

.box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.background ul {
    padding-bottom: 0;
    font-size: 0.875em;
    line-height: 1.3;
}

.background li:before {
    content: "✓";
}

figure {
    margin: 0 0 5rem -0.5rem;
}

.contact {
    background: #D9D9D9;
    padding: 0.5rem 0.5rem 0;
    width: fit-content;
}

footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 39%;
    position: absolute;
    left: 0;
    bottom: 0;
}

footer p {
    padding-bottom: 0.3rem;
    font-size: 0.875em;
}

.small {
    font-size: 0.813em;
    line-height: 1.3;
    display: flex;

}

.small span {
    padding-right: 0.4rem;
}

i {
    color: #E20C3F;
    font-size: 1.5em;
}

img {
    max-width: 100%;
    height: auto;
}

@media only screen and (max-width:929px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p {
        text-align: left;
    }


    p :is(span, a) {
        display: inline-block;
    }
}

@media only screen and (max-width:890px) {

    header,
    article {
        width: 100%;
    }

    li br,
    .contact br {
        display: none;
    }

    figure {
        display: flex;
        justify-content: center;
        margin: 0 0 1rem;
    }

    .content {
        display: block;
        padding: 1rem;
    }

    h2 {
        width: 100%;
        text-align: center;
        margin: 0 0 1rem;
        padding: 0.7rem;
    }

    footer {
        position: static;
        width: 80%;
        padding: 1rem;
    }

    .background {
        margin: 0;
    }

}

@media only screen and (max-width:580px) {
    footer {
        width: 100%;
    }

    h2 {
        font-size: 1.8em;
    }
}

@media only screen and (max-width:460px) {
    .small {
        padding-top: 1rem;
    }
}