* {
    font-family: "Noto Sans", sans-serif;
    color: black;
}

body {
    background-color: #fbdfeb;
}

div#navbar ul#navbar-ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    background-color: #0a0a0a;
    display: flex;
    align-items: center;
}

div#navbar ul#navbar-ul li {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 28px;
    text-decoration: none;
    position: relative;
}

div#navbar ul#navbar-ul li:hover {
    background-color: #ffffff;
    color: #0a0a0a;
    transition-duration: 0.5s;
}

div#navbar ul#navbar-ul li form {
    color: white;
}

div#navbar ul#navbar-ul li:hover form {
    color: #0a0a0a;
    transition-duration: 0.5s;
}

#resources-dropdown {
    top: 3rem;
    left: 0;
}

#resources-dropdown div {
    background-color: #0a0a0a;
    color: white;
    padding-left: 1.688rem;
}

#resources-dropdown div:hover {
    background-color: white;
    color: #0a0a0a;
    transition-duration: 0.5s;
}

div#title {
    color: white;
    background-position: center center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/media/progress_pride.jpg');
    background-size: cover;
    font-family: 'Lexend';
}

#mail-list a, #email a {
    background-color: rgb(91, 187, 235);
    border: 2px solid rgb(91, 187, 235);
    color: white;
}

#mail-list a:hover, #email a:hover {
    background-color: white;
    color: rgb(91, 187, 235);
    transition-duration: 0.5s;
    border: 2px solid rgb(91, 187, 235);
}

#email-small a, #mail-list-small a {
    background-color: rgb(91, 187, 235);
    border: 2px solid rgb(91, 187, 235);
    color: white;
    font-size: 1rem;
    padding: 0.75rem;
}
#email-small a:hover, #mail-list-small a:hover {
    background-color: white;
    color: rgb(91, 187, 235);
    transition-duration: 0.5s;
    border: 2px solid rgb(91, 187, 235);
}

.submit-btn {
    padding: 4px;
    background-color: rgb(91, 187, 235);
    border: 2px solid rgb(91, 187, 235);
    color: white;
}

.submit-btn:hover {
    background-color: white;
    color: rgb(91, 187, 235);
    transition-duration: 0.5s;
    border: 2px solid rgb(91, 187, 235);
}

#news-list {
    display: grid;
    grid-template-columns: repeat(3, 28rem);
    grid-row-gap: 3rem;
    justify-items: center;
}

.page-title {
    font-size: 5rem;
}

.article-box {
    width: 25rem;
    height: 25rem;
    border: 3px solid black;
    aspect-ratio: 1;
    position: relative;
}

.article-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
}

.article-box:hover {
    border: 3px solid rgb(91, 187, 235);
    transition-duration: 0.5s;
}

.container-grid {
    display: grid;
    justify-items: center;
}

.article-subbox {
    position: absolute;
    bottom: 0px;
    padding: 0.5rem;
    background: linear-gradient(rgba(91, 187, 235, 0), rgb(91, 187, 235), rgb(91, 187, 235));
    width: 100%;
    font-weight: bold;
    max-height: 33%;
    overflow: hidden;
}

h1 {
    font-size: 2.5rem;
}

.form-with-validation {
    max-width: 600px;
    font-size: 1rem;
    padding: 1rem;
    display: flex;
    flex-flow: column;
    gap: 1rem;
}

.form-with-validation div {
    display: flex;
    flex-flow: column;
    gap: 0.5rem;
}

.form-with-validation input {
    padding: 0.25rem;
    max-width: 300px;
}

.news-form-with-validation {
    max-width: 1000px;
    width: 1000px;
    font-size: 1rem;
    padding: 1rem;
    display: flex;
    flex-flow: column;
    gap: 1rem;
}

.news-form-with-validation div {
    display: flex;
    flex-flow: column;
    gap: 0.5rem;
}

.news-form-with-validation input {
    padding: 0.25rem;
    max-width: 600px;
}

.news-article-subcontents {
    max-width: 50%;
}

footer {
    background-color: rgba(91, 187, 235, 0.25);
    margin-top: 7rem;
}

.home {
    display: grid;
    grid-template-columns: repeat(2, 35rem);
    align-items: center;
    gap: 5rem;
}

.home-logo-links { 
    display: grid;
    grid-template-columns: repeat(5, 5rem);
    gap: 2rem;
    padding-top: 1rem;
    padding-bottom: 0.5rem;
    align-items: center;
}

.home-logo-links-text { 
    display: grid;
    grid-template-columns: repeat(5, 5rem);
    gap: 2rem;
}

.contact-footer-board {
    display: grid;
    grid-template-columns: repeat(2, 12rem);
    gap: 5rem;
    padding-top: 1rem;
    padding-bottom: 0.5rem;
    justify-items: center;
    font-size: 1.25rem;
}

.footer-board-roles {
    font-size: 1rem;
}

.footer-email {
    color: rgb(127, 72, 255);
    text-decoration: underline;
}