:root {
    --aura-yellow: #F3E66A;
    --rock-grey: #C7C5B5;
    --oxidised-iron: #AB1E0E;
  }

* {
    padding: 0;
    margin: 0;
}

body {
    background-color: #C7C5B5;
    font-family: Arial, sans-serif;
    font-size: 3rem;
    color: var(--oxidised-iron);
    overflow: hidden;
}

model-viewer {
    width: 70dvw;
    height: 100dvh;
    margin: auto;
}

.text-container {
    width: 100dvw;
    height: 100dvh;
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
    box-sizing:border-box;
    padding: 1rem 1rem;
}

.sink {
    text-decoration: overline;
}

.upper-container, .lower-container  {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.lower-container {
    align-items: flex-end;
}

.inner-container {
    margin: auto;
    text-align: center;
    color: var(--rock-grey);
    width: 750px;
    font-size: 2.5rem;
    font-family: sans-serif;
}

.right-align {
    text-align: right;
}

a {
    text-decoration: none;
    color: var(--oxidised-iron);
    pointer-events: auto;
    transition: all 400ms ease;
}

a:hover {
    text-decoration: overline;
    text-decoration-color: var(--aura-yellow);
    color: var(--aura-yellow);
    transition: all 400ms ease;
}

@media (max-width: 850px) {
    body {
        font-size: 2rem;
    }
    .inner-container, .inner-container p {
        font-size: 1.8rem;
        width: 600px;
    }
    *, *:hover {
        text-decoration-thickness: 3px;
    }

    .upper-container, .lower-container  {
        flex-direction: column;
        justify-content: space-between;
    }

    .right-align {
        align-self: self-end;
    }

    .lower-container {
        align-items: flex-start;
    }

    model-viewer {
        width: 100dvw;
    }
}


