@charset "utf-8";


@font-face {
  font-display: swap; 
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/caveat-v23-latin-regular.eot');
  src: url('../fonts/caveat-v23-latin-regular.eot?#iefix') format('embedded-opentype'),
       url('../fonts/caveat-v23-latin-regular.woff2') format('woff2'), 
       url('../fonts/caveat-v23-latin-regular.woff') format('woff'),
       url('../fonts/caveat-v23-latin-regular.ttf') format('truetype'),
       url('../fonts/caveat-v23-latin-regular.svg#Caveat') format('svg');
}

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family: "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    background: #fff;
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
	position: relative;
	max-width: 50rem;
	margin: 1rem auto;
	overflow: hidden;
    border: 1px solid #ededed;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

h1 {
    font-size: 1.5rem;
    color: #fff;
    background-color: #00348b;
    width: fit-content;
    padding: 0.75rem 1rem;
}

h2 {
    font-size: 4rem;
    color: #00348b;
    line-height: 1;
    margin: 2rem 0 1rem;
}
h2 span {
    font-size: 8rem;
    color: #c60015;
}

h3 {
    font-size: 1.2rem;
    color: #00348b;
}

h4 {
    font-size: 1.45rem;
    color: #fff;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

ul {
    margin: 0.5rem 0 1rem 0;
    list-style-type: none;
}

ul li {
    background: url(../images/li.png) no-repeat left top;
    padding: 0 0 0.5rem 2rem;
}

header {
    background: url(../images/header-bg.png) top right no-repeat;

    padding: 1rem;
}

article {
    display: flex;
    gap: 1rem;
    margin: 1rem 0 0;
    padding: 1rem 1rem 0;
}

.left {
    width: 45%;
}

.info {
    display: flex;
    flex-direction: column;
}

.info .item {
    display: flex;
    gap: 1rem;
    align-items: center;
    border-bottom: 1px solid rgb(17, 142, 210);
    padding: 1rem 0;
}

.info .item:last-of-type {
    border: none;
}

.info .item p {
    margin: 0;
}

.info .item p span {
    color: #00348b;
    font-weight: 700;
}

.margin-top {
    margin-top: 3rem;
}


.right {
    width: 65%;
}

.box {
    background-color: #00348b;
    padding: 1rem 2rem;
    border-radius: 1rem;
    color: #fff;
    margin: 0 0 1rem 1rem;
}

.box .item {
    display: flex;
    gap: 1rem;
    align-items: center;
    border-bottom: 1px solid rgb(157, 195, 215);
    padding: 1rem 0;
}
.box .item:last-of-type {
    border: none;
}

.box .item p {
    margin: 0;
}

.box2 {
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid #0b6ed7;
    border-radius: 1rem;
    padding: 1rem;
    margin: 1rem 0 0 1rem;
}

.box2 .text h3 {
    font-size: 1.5rem;
}

.box2 .text .special {
    font-family: 'Caveat';
    color:#00348b;
    font-size: 2.2rem;
    position: relative;
    display: inline-block;
    transform: rotate(-3deg);
}

.decor {
    position: absolute;
    right: 8rem;
    bottom: 6.7rem;
}


footer {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    color: #fff;
    background-color: #00348b;
    padding: 0.5rem 1rem;
    position: relative;
}

footer p {
    margin: 0;
}

.footer-bg {
    position: relative;
    bottom: -0.5rem
}

.display-none {
    display: none;
}

@media only screen and (max-width: 49.938rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
}

@media only screen and (max-width: 48rem) {
    header {
        background: none;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .display-none {
        display: block;
    }

    h2,
    h2 span {
        font-size: 2rem;
    }
    h2 br {
        display: none;
    }

    article {
        flex-direction: column;
        gap: 0;
    }
    .left,
    .right {
        width: 100%;
    }

    .box,
    .box2 {
        margin: 0;
    }

    .box2 {
        margin-top: 1rem;
    }

    .decor {
        display: none;
    }
}

@media only screen and (max-width: 40rem) {
    footer {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
    }

    .box2 {
        flex-direction: column;
    }

    .box {
        padding: 1rem;
    }
}

