:root {
    --red: #E31E4E;
    --dred: #b6163e;
    --white: #fbf3f9;
}

html * {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    background-image: url("/assets/background.webp");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    font-family: 'nng-plain-regular', sans-serif;
    font-size: 20px;
    line-height: 135%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@font-face {
    font-family: 'nng-inktrap-bold';
    src: url('../assets/nng-inktrap-bold.woff2') format('woff2')
}

@font-face {
    font-family: 'nng-plain-regular';
    src: url('../assets/nng-plain-regular.woff2') format('woff2')
}

header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 0 24px;
    flex-shrink: 0;
}

main {
    display: flex;
    flex-direction: row;
    margin: 24px;
}

.left {
    width: 50%;
    margin-right: 80px;
}

.right {
    width: 50%;
    display: flex;
    justify-content: flex-end;
}

h1 {
    font-family: 'nng-inktrap-bold', sans-serif;
    font-size: 6vw;
    color: var(--white);
    white-space: nowrap;
    margin: 4vw 0;
}

h2 {
    font-family: 'nng-inktrap-bold', sans-serif;
    font-size: 6vw;
    color: var(--red);
    white-space: nowrap;
    margin: 4vw 0;
}

h3 {
    font-family: 'nng-inktrap-bold', sans-serif;
    font-size: 30px;
    color: var(--red);
    text-decoration: underline;
    margin: 0 0 18px 0;
    text-align: right;
}

.left-content {
    width: 394px;
      margin-bottom: 18px;
}

p {
    color: var(--white);
}

.first-pg {
    margin-top: 0;
}

figure {
    margin: 6px 40px 0 0;
    text-align: right;
}

.links {
    display: flex;
    flex-direction: column;
    color: var(--red);
    font-size: 30px;
    line-height: 114%;
    white-space: nowrap;
}

.links-mobile {
    display: none;
}

a {
    text-decoration: none;
    color: var(--red);
}

a:hover {
    color: var(--white);
}

.final {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 6px;
}

.final:hover {
    text-decoration: none;
}


span::after {
    content: " ";
}


footer {
    position: fixed;
    bottom: 0;
    right: 24px;
    text-align: right;
    color: var(--white);
    flex-shrink: 0;
}

@media (max-width: 1174px) {
    figure {
        margin-right: 1em;
    }
}

@media (max-width: 1100px) {
    img {
        max-width: 150%;
        height: auto;
    }

    .left {
        margin-right: 0;
    }

    .right {
        width: 80%;
    }
    
    p {
        font-size: 1.833vw;
    }

    .left-content {
        width: unset;
    }

    .links {
        font-size: 2.73vw;
    }

    header, main {
        margin: 0.5em;
    }
}

@media (hover: none) and (min-width: 600px) and (max-width: 1366px) {
    body {
        justify-content: initial;
        background-position: 33%;
        background-repeat: repeat-y;
    }

    header {
        margin-bottom: 20vh;
    }
}

@media (max-width: 999px) {
    body {
        background-position: 25%;
    }

    img {
        max-width: 90%;
    }

    p {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    body {
        background-size: auto;
        background-position: 35%;
    }

    main {
        flex-direction: column-reverse;
    }

    .right {
        width: 100%;
        justify-content: space-between;
        align-items: flex-end;

    }

    figure {
        text-align: initial;
        margin-right: 0px;
    }

    /* img {
        max-width: 100%;
    } */

    .links {
        font-size: 28px;
    }
}

@media (max-width: 623px) {
    .links, h2, a {
        color: var(--dred);
    }

    body {
        background-position: 37%;
        background-repeat: repeat-y;
    }

    .left {
        width: 53%;
    }

    .links {
        font-size: 4.55vw;
    }

    footer p {
        color:  var(--dred);
        margin-top: 0;
    }
}

@media (max-width: 425px) {
    body {
        background-position: 39.5%;
    }

    .left {
        width: 100%;
    }

    .left-content {
        margin-bottom: 0;
    }

    .right {
        flex-direction: column-reverse;
        justify-content: initial;
        align-items: initial;
    }

    .links {
        display: none;
    }

    .links-mobile {
        display: block;
        display: flex;
        justify-content: space-between;
        font-size: 21px;
    }

    .side1 a {
        color: var(--white);
    }

    .side2 {
        text-align: right;
    }
    
    img {
        max-width: 100%;
    }

    footer {
        position: initial;
        margin-right: 0.5em;
    }
}