html {
    background: #222831;
    color: #DFD0B8;
    font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    margin: 0;
}

main {
    padding: 0 0.5rem;
}

#main-page-header {
    font-size: 3rem;
    margin-top: 3rem;
}

.footer-content {
    background-color: #1E232A;
    width: 100%;
    margin-top: auto;
    color: #a0aec0;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid #3d4659;
}

a {
    text-decoration: none;
}

.home-link {
    justify-self: left;
}

.home-link a {
    color: #BBC863;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}

.home-link a:hover {
    color: #29ABCD;
    transition: 0.5s ease-in-out;
}

.home-link a::after {
    content: "";
    background: linear-gradient(to right, #CD00A1, #29ABCD);
    border-radius: 10px;
    height: 5px;
    width: 0;
    position: absolute;
    left: 0;
    bottom: 0;
    transition: width 0.5s ease-in-out;
}

.category-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
}

.home-link a:hover::after {
    width: 100%;
}

@media (max-width: 768px) {

    html, body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    body {
        justify-content: flex-start;
    }

    #main-page-header {
        font-size: 1.8rem;
        text-align: center;
        margin-bottom: 1.2rem;
        padding: 0 0.5rem;
    }

    .footer-content {
        width: 100%;
        padding: 1.2rem 0.5rem;
        text-align: center;
        line-height: 1.4;
        font-size: 0.75rem;
        box-sizing: border-box;
        border-top: 1px solid #3d4659;
        background-color: #1E232A;
        margin-top: auto;
        color: #a0aec0;
    }
}