@charset "utf-8";

:root {
    font-size: 1rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
    background-color: #F1F1F1;
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
    position: relative;
    max-width: 55rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    box-shadow: -0.1rem 0.1rem 1rem #999;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.nowrap {
    white-space: nowrap;
}

p {
    margin: 0 0 1.25rem;
}

a.link:hover {
    text-decoration: underline;
}

ul {
    margin: 0 0 1.25rem;
    padding: 0;
    list-style: none;
}

ul li {
    padding: 0 0 0 1.25rem;
}

ul li:before {
    content: "";
    background-color: #164194;
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    position: relative;
    display: block;
    float: left;
    top: 0.4375rem;
    margin: 0 0 0 -1.25rem;
}

h1 {
    font-size: 2.25rem;
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
}

h2 {
    color: #164194;
    font-size: 1.1875rem;
    font-weight: 400;
    text-transform: uppercase;
    margin: 0 0 0.3125rem;
}

header {
    position: relative;
}

.logo {
    position: absolute;
    top: 1.25rem;
    right: 0;
}

.certificate {
    position: absolute;
    bottom: -0.625rem;
    right: 3.125rem;
}

.top_content {
    padding: 1.25rem;
}

.top_content > p:last-of-type {
    margin: 0;
}

.title {
    color: #fff;
    background-color: #164194;
    padding: 1.875rem;
    border-bottom: 0.25rem solid #FFED00;
}

.box {
    background-color: #F8F8F8;
    margin: 1.25rem;
    padding: 1.25rem;
    border-bottom: 0.25rem solid #164194;
}

.btn_container {
    display: flex;
    justify-content: center;
    margin: 3.75rem 0 2.5rem;
}

a.btn {
    color: #164194;
    background-color: transparent;
    letter-spacing: 0.125rem;
    border: 0.25rem solid #164194;
    width: 17.5rem;
    height: 2.875rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer {
    color: #505050;
    background-color: #D5D5D5;
    margin: 1.25rem;
    padding: 1.25rem;
}

footer > p:last-of-type {
    margin: 0;
}

@media only screen and (max-width: 54.9375rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 0.625rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    h1 {
        font-size: 1.625rem;
        line-height: 1.4;
    }

    .logo {
        position: static;
        padding: 0.625rem 0;
    }

    .logo img {
        display: block;
    }

    .certificate {
        width: 15vw;
        bottom: 0.625rem;
        right: 0.625rem;
    }

    .image img {
        display: block;
    }

    .top_content {
        padding: 0.625rem;
    }

    .title {
        padding: 0.625rem;
    }

    .box {
        margin: 0.625rem 0;
        padding: 0.625rem;
    }

    .btn_container {
        margin: 2.5rem 0 1.25rem;
    }

    footer {
        margin: 0;
        padding: 0.625rem;
    }

    footer > p:last-of-type {
        margin: 0;
    }
}