* {
    font-family: 'Inter Tight';
    color: white;
}

main {
    display: flex;
    justify-content: center;

    overflow: hidden;

    margin-top: calc(3rem + 32px);
    padding: 16px;

    /* ascuns footer by default - 3rem de la navi, 16px padding */
    min-height: calc(100vh - 4rem - 48px);

    scrollbar-gutter: stable;
}

footer {
    width: 1280px;
    margin: auto;

    margin-bottom: 0.5rem;

    display: flex;
    flex-direction: column;
    justify-content: center;

    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 0.5rem;

    gap: 8px;
}

footer * {
    color: rgba(255, 255, 255, 0.8)
}

@media screen and (max-width: 1312px) {
    footer {
        width: calc(100vw - 32px);
    }
}

@media screen and (max-width: 768px) {
    main {
        margin-top: calc(4rem - 0px);
        padding: 16px;

        /* ascuns footer by default - 3rem de la navi, 16px padding */
        min-height: calc(100vh - 4rem - 32px);
    }

    footer {
        width: 100vw;
        align-items: center;
    }
}

.decorated-link {
    font-weight: 500;
    transition: color 0.2s ease;
}

.decorated-link:hover {
    color: #0ED75F;

    text-decoration: underline;
    text-underline-offset: 1px;
}

/* Light mode :( */
@media (prefers-color-scheme: light), print {
    * {
        color: black;
    }

    footer {
        border-top: 1px solid rgba(0, 0, 0, 0.2);
    }

    footer * {
        color: rgba(0, 0, 0)
    }
}