@charset "utf-8";

: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: #ededed;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 59rem;
    margin: 1rem auto;
    overflow: hidden;
    background-color: #fff;
    padding: 2rem 3rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.width {
    width: 75%
}

h1 {
    font-size: 1.8rem;
    line-height: 1.3;
    margin: 1rem 0;
    color: #009bcf;
}

h1 span {
    font-size: 1.1rem;
    font-weight: normal;
    display: block;
    top: .3rem;
}

h2 {
    font-size: 1.6rem;
    line-height: 1.3;
    font-weight: 700;
    margin: 1.5rem 0 1rem;
}

h2::after {
    content: "";
    height: 6px;
    width: 7rem;
    background-color: #000;
    display: block;
    margin: 0.8rem 0 1rem;
}

h2 span {
    font-size: 1.3rem;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

h4 {
    color: #d50032;
}

h5 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

ul {
    margin: 0 0 1rem 3rem;
}

header {
    display: flex;
    justify-content: end;
}

article {
    border-bottom: 1px solid #000;
    margin-bottom: 1rem;
    position: relative;
}

.flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.flex .left {
    width: 55%;
}

.flex .right {
    width: 40%;
}

.socials {
    font-size: 0.85rem;
}

.grey {
    color: #7c7878;
    font-weight: 700;
}

.blue,
a.blue {
    color: #009bcf;
}

.image {
    position: absolute;
    top: 25rem;
    right: -4rem;
}

@media only screen and (max-width: 58.938rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    h2 br {
        display: none;
    }

    .image {
        position: static;
        margin: 1rem auto;
    }

    .flex {
        flex-direction: column;
    }

    .flex .left,
    .flex .right {
        width: 100%;
    }

    .socials {
        margin-top: 1rem;
    }

    .width {
        width: 100%;
    }
}

@media only screen and (max-width: 40rem) {
    header {
        justify-content: center;
    }

    h2 {
        font-size: 1.2rem;
    }

    ul {
        margin-left: 1rem;
    }
}