body {
    margin: 0px;
    color: #fff;
    background-color: #222222;
}

a,
nav.navigation a {
    color: #fff;
    padding: 0;
}

p {
    font-size: 1rem;
}

a {
    color: #8ac149;
}
a:hover {
    color: #6f9e3b;
}

img[src$='#center'] {
    display: block;
    margin: 1.0rem auto;
    max-width: 100%;
    height: auto;
}

.slides {
    width: 100%;
    height: auto;
    min-height: 630px;
}

.profile {
    margin: 20px auto 0 auto;
    text-align: center;
}

.profile .avatar {
    display: inline-block;
    width: 150px;
    height: 150px;
    border-radius: 50%;
}

nav {
    width: 100%;
}

nav.navigation {
    width: 80%;
    margin: 0 auto;
    margin-top: 1rem;
    padding: 0.5rem 0.5rem;
    background-color: #3a3a3a;
    border: 1px solid #8ac149;
    border-radius: 10px;
}

/* navigation bar cards */
.nav-cards {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.nav-card {
    width: 7rem;
    height: 100%;
    margin: 0.5rem;
    padding: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.nav-card:hover {
    /* Animate the card on hover */
    background-color: #3a3a3a;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
    transition: transform 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.nav-card img {
    width: 100%;
    height: auto;
    vertical-align: middle;
    border-radius: 0.5rem;
}

#home-button {
    background-color: #8ac149;
    border-radius: 0.5rem;
    color: #fff;
    height: 4rem;
    text-align: center;
    line-height: 4rem; /* Center text vertically */
}
#home-button:hover {
    background-color: #6f9e3b;
}
#about-button {
    background-color: #8ac149;
    border-radius: 0.5rem;
    color: #fff;
    height: 4rem;
    text-align: center;
    line-height: 4rem; /* Center text vertically */
}
#about-button:hover {
    background-color: #6f9e3b;
}

#list-page,
#single,
#archive {
    margin: 20px auto 0 auto;
    max-width: 70rem;
}

.item img {
    width: 100%;
    margin: 15px;
}

#list-page .title {
    display: inline-block;
    color: white;
    font-size: 1.6rem;
    font-weight: 400;
    margin: 0;
    width: 80%;
}

#list-page .title a {
    color: #fff;
    display: block;
}

#list-page .title a:hover {
    color: #8ac149;
}

#list-page .date {
    color: #fff;
    font-size: 1.6rem;
    width: 20%;
    float: right;
    text-align: right;
    position: relative;
    top: 1px;
}

#list-page .summary {
    color: #fff;
    font-size: 1rem;
    margin: 0 3rem 1rem 3rem;
    word-break: normal;
    overflow-wrap: anywhere;
    margin-bottom: 36px;
}

.banner {
    width: 100%;
    margin: 2rem 0 0 0;
    padding: 0;
}

.banner img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 100rem;
}

.banner figcaption {
    text-align: right;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    max-width: 95rem;
}

.tags {
    text-align: center;
}

#donate {
    text-align: center;
    margin-top: 2rem;
}

.text-center {
    text-align: center;
}

/* Particles
 */

/* https://fonts.google.com/specimen/Roboto+Mono#standard-styles */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@700&display=swap');

#particles-js {
    background-color: #222222;
    height: 300px;
    width: 100%;
    margin: 0px;
    padding: 0px;
}

#title {
    position: absolute;
    color: white;
    font-size: 4rem;
    font-family: 'Roboto Mono', sans-serif;
    text-align: center;
    width: 100%;
}

#typewriter-main {
    position: absolute;
    color: white;
    font-size: 2.5rem;
    font-family: 'Roboto Mono', sans-serif;
    text-align: center;
    font-weight: 700;
    width: 100%;
    margin-top: 7rem;
}

#typewriter-info {
    position: absolute;
    color: white;
    font-size: 1.5rem;
    font-family: 'Roboto Mono', sans-serif;
    text-align: center;
    /* display: none; */
    width: 100%;
    height: 5rem;
    margin-top: 12rem;
}


/* Mobile Support
 *
 */
@media only screen and (max-width: 768px) {
    #title {
        font-size: 3rem;
    }

    #typewriter-main {
        font-size: 2rem;
    }

    #typewriter-info {
        font-size: 1.2rem;
    }

    #list-page .title {
        font-size: 1rem;
        width: 70%;
    }

    #list-page .date {
        font-size: 1rem;
        width: 30%;
    }

    .nav-card {
        width: 4rem;
        margin: 0.2rem;
    }

    #home-button {
        width: 4rem;
        height: 2.5rem;
        text-align: center;
        line-height: 2.5rem; /* Center text vertically */
    }

    #about-button {
        width: 4rem;
        height: 2.5rem;
        text-align: center;
        line-height: 2.5rem; /* Center text vertically */
    }

    .item img {
        margin: 0px;
    }

    #list-page .summary {
        margin: 0 1rem 2rem 1rem;
    }
}
