@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Varela Round';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/varela-round-v20-latin-regular.eot');
    src: url('../fonts/varela-round-v20-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/varela-round-v20-latin-regular.woff2') format('woff2'), url('../fonts/varela-round-v20-latin-regular.woff') format('woff'), url('../fonts/varela-round-v20-latin-regular.ttf') format('truetype'), url('../fonts/varela-round-v20-latin-regular.svg#VarelaRound') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family: 'Varela Round', "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    border: solid 1px #000;
}

:is(a:link, a:visited, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a.link {
    color: #0000ff;
    text-decoration: underline;
}

article p {
    margin: 0 0 .625rem;
    text-align: justify;
}

h1 {
    font-size: 2.6rem;
    margin: 0 0 1rem;
    line-height: 1.2;
    color: #0081c8;
    text-align: justify;
}

h2 {
    margin: 2rem 0 .625rem;
    font-size: 1.5rem;
    line-height: 1.3;
}

h3 {
    font-size: 1rem;
    margin: 0 0 .625rem;
}

ul {
    padding: 0 0 0 3rem;
    margin-bottom: 2rem;
    text-align: justify;
}

.margin {
    margin-bottom: 2rem;
}

.color {
    color: #0070c0;
}

.tab {
    display: none;
}

label:hover {
    cursor: pointer;
}

.tab+label:nth-of-type(1) {
    position: absolute;
    top: 1rem;
    right: 5rem
}

.tab:last-of-type+label {
    position: absolute;
    top: 1rem;
    right: 1rem
}

.tab__content {
    display: none;
}

.tab:checked:nth-of-type(1)~.tab__content:nth-of-type(1),
.tab:checked:nth-of-type(2)~.tab__content:nth-of-type(2) {
    opacity: 1;
    display: block;
}

.tab:first-of-type:not(:last-of-type)+label {
    border: none;
}

.tab__content {
    background-color: transparent;
    width: 100%;
    opacity: 0;
}

header {
    display: flex;
    justify-content: center;
    padding: 4rem 5rem 0;
}

article {
    padding: 2rem 5rem;
}

footer {
    padding: 2rem 5rem;
    background: url("../images/bg.jpg")center/cover no-repeat;
    text-align: center;
    color: #fff;
}

footer h3 {
    margin: 0;
}

footer span {
    white-space: nowrap;
}

@media only screen and (max-width: 49.937rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }

    article p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
        text-align: left
    }

    h1 {
        text-align: left;
        font-size: 2rem;
    }
}

@media only screen and (max-width: 42rem) {

    header {
        padding: 4rem 2rem 0;
    }

    article,
    footer {
        padding: 2rem;
    }
}

@media only screen and (max-width: 35rem) {
    h1 {
        text-align: center;
        font-size: 1.7rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    h3 {
        font-size: 1rem;
    }

    ul {
        padding-left: 1rem;
    }

    header {
        padding: 4rem 1rem 0;
    }

    article,
    footer {
        padding: 2rem 1rem;
    }
}