:root {
    --color-teal: #013333;
    --color-red: #874F4F;
    --color-cream: #FAF8F2;
    --space: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

body {
    background-color: var(--color-teal);
    color: var(--color-cream);
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    line-height: 1.17em;
    letter-spacing: 0.125em;
    text-transform: uppercase;
    font-weight: 600;
}

@media (max-width: 900px) {
    body {
        font-size: 10px;
    }
}

main {
    position: relative;
    z-index: 8;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 64px;
    width: 44%;
    max-width: 848px;
    margin: 0 auto;
    padding-top: var(--space);
    padding-bottom: var(--space);
}

@media (max-width: 900px) {
    main {
        width: 85%;
    }
}

.flex {
    display: flex;
    gap: 78px;
    align-items: center;
}

@media (max-width: 900px) {
    .flex {
        gap: 20px;
    }
}

.header a {
    color: inherit;
    text-decoration: none;
}

.body__bg {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-red);
    clip-path: polygon(100% 0, 100% 100%, 0% 100%);
}

@media (max-width: 900px) {
    .body__bg {
        clip-path: polygon(0 63%, 100% 36%, 100% 100%, 0% 100%)
    }
}