@import url('https://fonts.googleapis.com/css2?family=Fira+Code&family=Quicksand:wght@400;500&display=swap');

:root {
    --link: #22d3ee;
    --link-visited: #a5f3fc;
    --text-color: #edf2f4;
    --bg-color: #2b2d42;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    max-width: 864px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 1.25rem 0.5rem 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Quicksand', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

a {
    text-decoration: none;
}

ul {
    list-style-position: inside;
}

.container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 2rem;
}

.main-header .name {
    color: #94a3b8;
    font-weight: 500;
}

.heading {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.posts {
    align-self: flex-start;
    font-size: 1.125rem;
    line-height: 1.5rem;
}

.posts .title {
    margin-bottom: 1rem;
    font-weight: 500;
}

.posts ul {
    padding-left: 1rem;
    margin-bottom: 6rem;
}

.posts li {
    color: var(--link);
    padding-bottom: 0.5rem;
}

.posts a {
    color: var(--link);
}

.posts a:hover,
.main-header .name:hover {
    text-decoration: underline;
}

.posts a:visited {
    color: var(--link-visited);
}

.main-footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.5rem 2rem;
    border-top: 1px solid var(--text-color);
    font-family: 'Fira Code', monospace;
    text-align: center;
}

.heart {
    display: inline-block;
    color: #f43f5e;
    animation: beat 1s ease-in infinite alternate;
    cursor: default;
}

/* Hehe... fun! */
.heart:hover {
    animation-duration: 0.35s;
}

.social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    list-style-type: none;
    margin-bottom: 1rem;
}

.social a {
    color: var(--text-color);
}

.copyright {
    font-family: 'Quicksand', sans-serif;
}

@keyframes beat {
    from {
        transform: scale(0.95);
    }
    to {
        transform: scale(1.4);
    }
}