:root {
    --gap: 1rem;
}

body {
    box-sizing: border-box;
    font-family: system-ui, sans-serif;
    display: grid;
    justify-content: center;
    grid-template-columns: minmax(auto, 1024px);
    margin: calc(var(--gap) * 2) 0;
    min-height: calc(100dvh - calc(var(--gap) * 4));
    background: conic-gradient(from 90deg at bottom right, cyan, rebeccapurple);
}

*,
*::before,
*::after {
    box-sizing: inherit
}

.wrapper {
    display: grid;
    /* align-items: start; */
    align-content: start;
    gap: var(--gap);
    padding: var(--gap);
    max-width: 1024px;
    background-color: whitesmoke;
    border-radius: var(--gap);
}

a {
    color: inherit;

    &:hover {
        text-decoration: none;
    }
}

footer {
    display: flex;
    align-items: center;
    gap: var(--gap);

    a {
        text-decoration: none;
    }

    a:nth-last-child(2) {
        margin-left: auto;
    }
}