body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: larger;
    display: flex;
    flex-direction: column;
    height: 100vh;
    margin: 0;
    scrollbar-width: none;
    background-color: #ffffff;
    color: #000000;
}

body.dark-theme {
    background-color: #121212;
    color: #e0f0d0;

    a {
        color: #00c300
    }
    a:visited {
        color: #6d9c00
    }
    a:hover {
        color: #7cff7c
    }
}

body.light_theme {
    background-color: #ffffff;
    color: #000000;
}


@media (prefers-color-scheme: dark) {
    body {
        background-color: #121212;
        color: #d0f0e0;
        a {
            color: #00c300
        }
        a:visited {
            color: #6d9c00
        }
        a:hover {
            color: #7cff7c
        }
    }

    body.light-theme {
        background-color: #ffffff;
        color: #000000;
        a {
            color: #0000FF
        }
        a:visited {
            color: #800080
        }
        a:active {
            color: #FF0000
        }
        a:hover {
            color: #1111FF
        }
    }
}


main {
    flex: 1;
    margin-inline: 1rem;
}

@media (min-width: 768px) {
    main {
        margin-inline: 20rem;
    }
}

header {
    display: flex;
    flex-direction: row;
    justify-content: space-around;

    img {
        display: inline;
        vertical-align: middle;
    }

    h1 {
        display: inline;
        font-size: large;
        text-align: center;
        text-decoration: none;
    }
    a {
        text-decoration: none;
    }
    div {
        display: flex;
        flex-direction: row;
        
        justify-content: center;
        align-items: center;

        nav {
            display: flex;
            flex-direction: row;
            justify-content: flex-end;
            align-items: center;
        }

        md-filled-tonal-button {
            max-height: 1rem;
            margin: 0.5rem;
            img {
                display: block;
            }
        }
    }
    
}

#splash-home {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    text-align: center;

    margin-top: 5rem;
    margin-bottom: 5rem;

    height: 10rem;

    a {
        text-decoration: none;
        color: darkslategrey;
    }

    a:hover {
        color: blue;
    }

    strong {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
}

.articles-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.article-card {
    border-radius: 20px;
    --md-elevation-level: 1;
    position: relative;

    padding: 10px;

    .tag {
        border-radius: 5px;
        border: 1px lightcoral solid;
        padding-inline: 0.2rem;
        background-color: lightpink;
        cursor: pointer;
    }

    .tag:hover {
        background-color: lightcoral;
    }

    h3 {
        margin: 0;
    }

    h4 {
        margin:0;
        margin-top: 1rem;
        margin-bottom: 2rem;
        font-style: italic;
        font-size: medium;
        font-weight: lighter;
    }

    width: 20rem;
    max-width: 20rem;
}

.article-card-bottom {
    display: flex;
    justify-content: right;
}

.project {
    margin-top: 3rem;
    margin-bottom: 3rem;
    .project-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 2rem;

        h2, h4 {
            margin:0;
        }
    }
    .project-body {
        margin-bottom: 1.5rem;

        .project-contributors {
            display: flex;
            flex-direction: column;
        }
    }
    .project-bottom {
        display: flex;
        flex-direction: row;
        justify-content: space-between;

        md-filled-tonal-button {
            display: flex;
            justify-content: center;
            align-items: center;

            span {
                display: flex;
                align-items: center;
            }
        }
    }
}

footer {
    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    min-height: 7.5rem;
}