@charset "utf-8";

/* Standard */
:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
}

html {
    min-height: 100%;
}

body {
    font: 1em/1.3em Arial, "Segoe UI", Calibri, sans-serif;
    color: #1864AD;
}

#wrapper {
    position: relative;
    margin: 1rem auto;
    overflow: hidden;
    max-width: 815px;
    border: solid 2px #1864AD;
    background: #fff;
}

p {
    padding-bottom: 0.5rem;
}

h1 {
    margin: 0rem 0rem 0.5rem;
    font-size: 1.7em;
    line-height: 1.1em;
}

h2 {
    font-size: 4.3em;
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: 2px;
    background: #74C053;
    padding: 1rem 0.7rem 0;
    text-align: center;
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 20px 0 0px 20px;
    color: #fff;
}

h2 span {
    font-size: 2.5em;
    display: block;
    font-weight: 700;
    line-height: 0.8em;
}

h3 {
    font-size: 1em;
    line-height: 1.3;
}

: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 {
    padding: 0.7rem;
}

section p {
    text-align: center;
}

section {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0.4rem 3rem 0 0.5rem;
}

article {
    padding: 0 1.3rem;
}

footer {
    margin: -160px 0 0.5rem;
}

footer p {
    text-align: right;
    border-radius: 20px 0 0px 20px;
}

figure {
    margin: 0 0.7rem 0 0.3rem;
    display: flex;
    justify-content: end;
}

.link {
    color: #fff;
    background: #016BB3;
    padding: 0.2rem 1rem;
    line-height: 1.2;
    margin-left: 390px;
}

.yellow {
    background: #FEDF0F;
    padding: 0.3rem 1.5rem;
    font-size: 1.75em;
    margin: 0 0 -3px 240px;
    line-height: 1.2;
}

img {
    max-width: 100%;
    height: auto;
}

@media only screen and (max-width:814px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p {
        text-align: left;
    }

    p :is(span, a) {
        display: inline-block;
    }

   .hide_m{
    display: none;
   }

    header {
        display: flex;
        justify-content: center;
    }

    footer {
        margin: 1rem;
    }

    h2 {
        position: static;
        font-size: 2em;
        padding: 0.5rem 1rem;
        border-radius: 20px;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .yellow,
    .link {
        margin: 0;

    }

    figure {
        display: flex;
        justify-content: center;
    }

    .yellow {
        font-size: 1.375em;
    }

    footer p {
        text-align: center;
        margin: 0;
        border-radius: 20px;
    }
}