html {
    background-color: #131313;
    display: flex;
    color: white;
    text-align: center;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1em;
    z-index: 0;
}

a {
    color: white;
    text-decoration: underline;
}

a:hover {
    color: #415CE8;
}

header {
    /*background-image: url();*/
    background-image: linear-gradient(
    45deg,
    rgb(15 32 120 / 100%),
    rgb(0 0 0 / 100%),
    rgb(15 32 120 / 100%));
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    background-attachment: scroll;
    margin: 0;
    width: 100%;
    max-width: 100%;
}

.banner img {
    width: 200px;
    margin: 0;
    padding: 0;
}

nav ul:not(.dropdown-menu ul) {
    background-color: white;
    font-size: 1.3em;
    margin-right: auto;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    list-style: none;
    color: #0F2078;
    margin-top: 0;
    max-width: 100%;
}

nav ul li:not(.dropdown-menu ul li) {
    margin-right: 1rem;
    padding: 0.5rem;
}

.flair::before {
  background-size: cover;
  background-size: 25px 25px;
  display: inline-block;
  width: auto; 
  height: 20px;
  margin-right: 5px;
  margin-bottom: 0;
  content:"✦";
}

#on_page {
    background-color: #0F2078;
}

#on_page a{
    color: white;
}

#on_page .dropdown-menu a{
    color: #0F2078;
}

nav a{
    color: #0F2078;
    text-decoration: underline;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: white;
    max-width: 200px;
    width: fit-content;
    z-index: 1;
    right: 0;
    padding: 0.2rem;
}

.dropdown-menu ul {
    list-style: none;
    padding: 0.2rem;
    margin: 0.2rem;
    text-align: left;
}

.dropdown:hover .dropdown-menu{
    display: flex;
    flex-direction: column;
    align-items: center;
}
#m_sidebar {
    display: none;
}
body {
    margin: 0;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.home_title, .about_title {
    margin: 0.5rem;
}

.home_title h1, .about_title h1 {
    font-size: 3em;
    text-decoration: underline;
}

.content_row {
    display: grid;
    grid: auto-flow / 1fr 1fr 1fr;
    gap: 1rem;
    padding: 0.5rem;
    margin: 2rem;
    height: fit-content;
    width: auto;
}

.content_box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    border-radius: 3px;
}

.content_box a {
    height: 100%;
    width: 100%;
}

.featured {
    display: flex;
    flex: 1;
    flex-direction: column;
    background-color: white;
    text-decoration: none;
    color: #0F2078;
    align-items: center;
}

.featured img {
    background-color: black;
    width: auto;
    height: 200px;
    margin: 0.5rem;
    padding: 1rem;
    border-radius: 3px;
    aspect-ratio: 1 / 1;
}

.featured h3 {
    background-color: white;
    font-size: 1.5em;
}

/*mobile layout*/
@media only screen and (max-width: 900px) {
    body {
        max-width: 100%;
    }
    nav {
        max-width: 100%;
    }
    .content_row {
        grid-template-columns: 1fr;
    }
    #m_on_page {
        background-color: #0F2078;
    }
    #m_on_page a{
    color: white;
}
    #nav_row {
        margin: 0;
    }
    #nav_bar {
        display: none;
    }
    #m_sidebar {
        display: flex;
        flex-direction: row;
        height: auto;
        box-shadow: inset 0 0 0 2px white;
        background-color: black;
        width: 100%;
        max-width: 100%;
    }
    #m_sidebar summary {
        margin: 0.5em;
        padding: 1em;
        color: white;
        text-decoration: 1px underline;
    }
    #m_nav_menu {
        text-align: left;
        overflow: hidden;
    }
    #m_nav_menu ul {
        list-style-type: none;
        display: flex;
    }
    #m_nav_menu ul li {
        width: 100%;
        margin-left: 1em;
    }
    #m_nav_menu ul li a{
        display: block;
        text-align: left;
        padding: 2px;
    }
    #m_nav_menu li::marker {
        content: '✦';
        font-size: 30px;
        color: #0F2078;
    }
}