@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #1F3864;
    font-family: "Arial", sans-serif;
    font-size: 0.9375rem;
    line-height: 1.5;
    font-weight: 400;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 52.5rem;
    margin: 1rem auto;
    overflow: hidden;
    background: url("../images/bg_top.png") top 1.25rem right/auto no-repeat, #fff;
    background-size: 15.625rem;
    border: solid 0.0625rem #000;
    padding: 2rem 1rem 2rem 3rem;
}

:is(a:link, a:visited, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a:hover {
    text-decoration: underline;
}

p {
    margin-bottom: 1rem;
}

.margin {
    margin: 0;
    color: #2F5496;
}

.color {
    color: #9b4169;
    margin: 1rem 0 1.875rem;
}

h1 {
    font-size: 1.3rem;
    position: relative;
    text-align: center;
    color: #2F5496;
    line-height: 1.3;
}

h1 span {
    display: block;
    font-weight: normal;
}

h2 {
    font-size: 1.25rem;
    padding-bottom: 0.375rem;
    position: relative;
    text-align: center;
    font-weight: normal;
    color: #2F5496;
}

h3 {
    font-size: 1.125rem;
    padding-bottom: 0.3rem;
    color: #2F5496;
}

ul {
    list-style: none;
    padding-bottom: 1rem;
}

ul li {
    padding: 0 0 0 1.375rem;
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1.375rem;
    font-size: 1.375em;
    line-height: 1;
}

.flex {
    display: flex;
    gap: 1.25rem;
    padding-top: 1.5rem;
}

header div {
    position: relative;
    display: inline-block;
    padding: 2.75rem 3rem 0;
    margin-bottom: 3.125rem;
}

header div::before {
    content: url("../images/bg1.png");
    position: absolute;
    left: 3%;
    top: 1.875rem;
}

header div::after {
    content: url("../images/baloons1.png");
    position: absolute;
    left: -2%;
    top: -1%;
}

article {
    flex: 53%;
}

footer {
    padding: 6.25rem 1rem 0.0625rem;
    flex: 47%;
    background: url("../images/bg3.png") 0 0 /100% 100% no-repeat;
    position: relative;
    text-align: justify;
    color: #2F5496;
}

aside {
    position: relative;
    margin: 15.625rem 0 0;
    text-align: center;
}

aside::before {
    content: url("../images/baloons1.png");
    position: absolute;
    top: -150px;
    left: -10px;
}

.bubbles {
    position: absolute;
    bottom: -10px;
    right: 10px;
}

footer h2 {
    text-align: center;
    font-weight: bold;
    font-size: 0.9375rem;
}

footer::before {
    content: url("../images/baloons1.png");
    position: absolute;
    top: -1%;
    left: -5%;
}

@media only screen and (max-width: 52.4375rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    header p br {
        display: none;
    }
}

@media only screen and (max-width: 46rem) {
    #wrapper {
        padding: 1rem;
        background: #fff;
    }

    .flex {
        display: block;
        text-align: left;
        padding-top: 0;
    }

    header {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    aside::before,
    footer::before {
        display: none;
    }

    aside {
        margin: 0.625rem 0;
    }

    footer {
        padding: 1rem 0.625rem 0.0625rem;
    }

    .bubbles {
        position: static;
        margin: 0 auto 10px;
    }
}

@media only screen and (max-width: 38rem) {
    ul li {
        padding-left: 1.5rem;
    }

    header div {
        text-align: center;
        padding: 0.625rem 0;
        background: url("../images/bg1.png")0 0 /100% 100% no-repeat;
    }

    header div::before,
    header div::after {
        display: none;
    }
}