* {
    box-sizing: border-box;
}

:root {
    --color-background: #9be3e9;
    --color-link: #215863;
    --color-link-border: #56acbe;
    --color-text: #0f434e;
    --color-button-background: #0e5867;
    --color-button-background-hover: #0e3f49;
    --color-button-text: #fff;
    --footer-height: 4rem;
    --footer-color-background: rgba(112, 193, 200, 0.47);
}

@media (prefers-color-scheme: dark) {
    :root {
        --color-background: #07262d;
        --color-link: #85b0b9;
        --color-link-border: #1a4a55;
        --color-text: #add7e0;
        --footer-color-background: rgba(4, 21, 24, 0.45);
    }
}

html {
    background-color: var(--color-background);
    color: var(--color-text);
    font-family: 'DM Sans', sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 300;
    margin: 0;
    padding: 0;
}

body {
    color: var(--color-text);
    margin: 0 auto;
    padding: 0;
}

a {
    border-bottom: 2px solid var(--color-link-border);
    color: var(--color-link);
    display: inline-block;
    font-weight: bold;
    line-height: 1.2;
    text-decoration: none;
}

a:hover {
    border-bottom: 2px dotted var(--color-link-border);
}

body {
    margin: 0 auto;
    min-height: 100vh;
    height: 100vh;
}

h1 {
    font-size: 5rem;
    margin-top: 2rem;
    text-align: center;
}

.c-content {
    align-items: center;
    display: flex;
    font-family: 'DynaPuff', sans-serif;
    justify-content: center;
    margin: 0 auto;
    max-width: 70rem;
    min-height: calc(100vh - var(--footer-height));
    text-align: center;
}

.c-content__inner {
    padding: 1.5rem;
}

.c-description {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.c-button {
    background: none;
    background-color: var(--color-button-background);
    border: none;
    border-radius: 24px;
    color: var(--color-button-text);
    font-family: inherit;
    font-size: 1.2rem;
    line-height: 1;
    margin: 0;
    padding: 0.65rem 1.5rem;
    transition: background-color 0.25s ease;
}

.c-button:hover {
    background-color: var(--color-button-background-hover);
}

.c-footer {
    align-items: center;
    background-color: var(--footer-color-background);
    display: flex;
    font-size: 0.85rem;
    height: var(--footer-height);
    inset: auto 0 0 0;
    justify-content: center;
    padding: 1rem 1.5rem 1rem;
    position: fixed;
    text-align: center;
    width: 100%;
}

@media (min-width: 750px) {
    :root {
        --footer-height: 3rem;
    }
}
