@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Barlow Condensed';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/barlow-condensed-v12-latin-regular.eot');
    src: url('../fonts/barlow-condensed-v12-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/barlow-condensed-v12-latin-regular.woff2') format('woff2'), url('../fonts/barlow-condensed-v12-latin-regular.woff') format('woff'), url('../fonts/barlow-condensed-v12-latin-regular.ttf') format('truetype'), url('../fonts/barlow-condensed-v12-latin-regular.svg#BarlowCondensed') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Barlow Condensed';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/barlow-condensed-v12-latin-700.eot');
    src: url('../fonts/barlow-condensed-v12-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/barlow-condensed-v12-latin-700.woff2') format('woff2'), url('../fonts/barlow-condensed-v12-latin-700.woff') format('woff'), url('../fonts/barlow-condensed-v12-latin-700.ttf') format('truetype'), url('../fonts/barlow-condensed-v12-latin-700.svg#BarlowCondensed') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #444f4f;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 400;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 60rem;
    margin: 1rem auto;
    overflow: hidden;
    background: url("../images/bg.jpg");
    border: solid 1px #000;
}

:is(a:link, a:visited, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a.link {
    color: #dc0a2e;
    text-decoration: underline;
}

a.link:hover {
    text-decoration: none;
}

article p {
    padding-bottom: 1.5rem;
}

h1 {
    font-size: 4rem;
    line-height: 1.1;
    padding-bottom: 1.5rem;
}

h2 {
    font-size: 1.2rem;
}

h3 {
    font-size: 5rem;
}

h3 span {
    background: url("../images/underline-straight.svg") center bottom /contain no-repeat;
}

h4 {
    font-size: 2rem;
}

ul {
    padding: 0 0 1.5rem 1.5rem;
}

.flex {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.flex > div {
    flex: 50%;
}

.big {
    font-size: 1.3rem;
    padding-bottom: 1.5rem;
}

.button a {
    font-weight: 700;
    font-size: 1.2rem;
    background: url("../images/btn_bg.svg") center/100% 100% no-repeat;
    padding: .3rem 1rem;
}

.button a:hover {
    background: url("../images/btn_bg_red.svg") center/100% 100% no-repeat;
    color: #fff;
}

header {
    display: flex;
    padding: 2rem;
}

article {
    padding: 0 2rem;
}

footer {
    padding: 0 2rem 2rem;
    display: flex;
    align-items: start;
    justify-content: end;
    gap: 1.5rem
}

footer > div:last-of-type {
    flex: 0 0 60%;
}

.normal {
align-items: flex-start}

@media only screen and (max-width: 59.938rem) {

    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    h3 {
        font-size: 3.5rem;
    }
}

@media only screen and (max-width: 50rem) {
    h1 {
        font-size: 3rem;
        text-align: center;
    }

    .flex,
    footer {
        display: block;
    }

    .big {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .button {
        justify-content: center;
    }
}

@media only screen and (max-width: 42rem) {
    header {
        justify-content: center;
        padding: 2rem 1rem;
    }

    article {
        padding: 0 1rem;
    }

    footer {
        padding: 0 1rem 1rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h3 {
        font-size: 3rem;
    }

    h4 {
        font-size: 1.7rem;
    }

    .big {
        font-size: 1.15rem;
    }
}

@media only screen and (max-width: 32rem) {
    h1 {
        font-size: 1.9rem;
    }
}
