@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: url('../fonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v30-latin-regular.woff') format('woff'), url('../fonts/roboto-v30-latin-regular.ttf') format('truetype'), url('../fonts/roboto-v30-latin-regular.svg#Roboto') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.eot');
    src: url('../fonts/roboto-v30-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-700.woff2') format('woff2'), url('../fonts/roboto-v30-latin-700.woff') format('woff'), url('../fonts/roboto-v30-latin-700.ttf') format('truetype'), url('../fonts/roboto-v30-latin-700.svg#Roboto') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    color: #173270;
    line-height: 1.75rem;
    font-size: 22px;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 720px;
    margin: 1rem auto;
    border: 1px solid #000;
    overflow: hidden;
    background: url(../images/background.jpg) no-repeat;
    height: 718px;
    padding: 0 20px;
}

header {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

article>a>img {
    position: absolute;
    z-index: 3;
    right: 71px;
    bottom: 107px;
}

:is(strong, h2, h3, h4) {
    font-weight: 700;
}

h1 {
    margin: 1.625rem 0;
    font-size: 23px;
    line-height: 27px;
    text-align: center;
}

h1 span {
    font-weight: normal;
    display: block;
}

.color {
    color: #CB2E7D;
    display: block;
}

h2 {
    font-size: 45px;
    margin: 100px -2px 0;
    line-height: 1.2;
    width: 355px;
    text-align: center;
    text-shadow: 0px 0px 1px dimgrey;
}

h2 span {
    color: #CA2F7D;
    display: block;
    font-size: 45px;
    line-height: 1.2;
}

p {
    margin: 0 0 1rem;
    text-align: center;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #FFF;
    white-space: nowrap;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.title {
    padding: 14px 16px 1px;
    width: 279px;
    position: absolute;
    background: #FFF;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    -webkit-box-shadow: 5px 9px 16px 0px #000, 5px 5px 15px 5px rgba(0, 0, 0, 0);
    box-shadow: 5px 9px 16px 0px #000, 6px 5px 15px 5px rgba(0, 0, 0, 0);
    bottom: 0;
    left: 55px;
}

.nowrap {
    white-space: nowrap;
}

@media all and (max-width:719px) {
    #wrapper {
        margin: 0 auto;
        border: none;
        padding: 0 1rem;
        background-size: cover;
        background-position: top right;
    }

    :is(p, h1) {
        hyphens: auto;
        text-wrap: pretty;
    }
}

@media all and (max-width:700px) {
    #wrapper {
        background: #602A43 url(../images/background-mobile.jpg) no-repeat;
        background-position: top right;
        height: auto;
    }

    .title {
        position: static;
    }

    h2 {
        margin: 1rem;
    }

    article {
        display: flex;
        justify-content: center;
        margin: 6rem 165px 0 2rem;
    }
}

@media all and (max-width:680px) {
    header {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    article {
        margin: 11rem 1rem 0;
        flex-wrap: wrap;
        position: relative;
    }

    footer {
        margin: 20px 0 0;
    }

    br:not(h1 br) {
        display: none;
    }

    .title {
        width: 100%;
        height: auto;
        padding: 1rem;
        margin: 0;
    }

    :is(.colum-left, .colum-right) {
        width: 100%;
        margin: 0 0 2rem;
    }

    h2 {
        margin-top: 0;
        width: auto;
    }

    article>a>img {
        position: static;
    }
}