html {
    height: 100%;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main {
    flex: 1;
}
li, h1 {
    font-family: 'Roboto Mono';
}
p, label {
    font-family: 'Open Sans';
}
.site-logo {
    width: 200px;
    height: 200px;
}
.nav-container {
    display: flex;
    flex-direction: column;
    border-bottom: 3px black solid;
    background-color: #0077B6;
    border-radius: 10px;
}
#addModal {
    display: none;
    flex-direction: column;
    align-items: center;
    position: fixed;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 119, 182, 0.4);
    padding-top: 60px;
    color: #CAF0F8;
}
.modal {
    position: fixed;
    z-index: 1000;
}
.addContent {
    display: none;
    flex-direction: column;
    background-color: gray;
    align-items: flex-end;
    text-align: center;
    padding: 20px;
    border-radius: 15px;
}
#addPostCloseBtn {
    background: none;
    border: none;
    font-size: 30px;
    width: fit-content;
}
#addPostCloseBtn:hover {
    cursor: pointer;
}
.nav-links {
    list-style: none;
    display: block;
    text-align: center;
}
.nav-links li {
    padding: 5px;
}
.nav-links li a{
    padding: 5px;
    font-size: 30px;
    text-decoration: none;
    color: #CAF0F8;
    height: 100%;
}
.nav-links li a:hover {
    background-color: #CAF0F8;
    color: #0077B6;
}
#image-placeholder {
    width: 150px;
    height: auto;
}
#add-post {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-self: center;
    align-items: center;
    background-color: #CAF0F8;
    color: #0077B6;
    margin: 20px 0px;
    width: 70%;
    border: 2px dashed black;
    border-radius: 10px;
    padding: 20px;
}
#add-post h1 {
    margin-left: 15px;
}
#add-post:hover {
    cursor: pointer;
}
.posts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    margin: 20px;
    border: 3px black solid;
    border-radius: 10px;
}
.articleImg {
    justify-self: center;
    align-self: center;
    margin: 20px 0px 20px 20px;
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    width: 100%;
    max-width: 300px;
    height: auto;
    border: 3px #CAF0F8 solid;
    border-radius: 10px;
}
.articleHeader {
    grid-column: 2 / 3;
}
#image-placeholder {
    height: 100px;
    width: 100px;
    border-radius: 10px;
}
#add-post p {
    width: 35%;
    padding-left: 20px;
}
.footer-container {
    background-color: #0077B6;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    padding-left: 10px;
    border-radius: 10px;
    border-top: 3px black solid;
    margin-bottom: 10px;
}
.media-icons {
    height: 50px;
    width: auto;
    padding: 10px 5px;
}
.posts{
    text-align: center;
    background-color: #0077B6;
    color: white;
}

/* CSS for the Contact Form Page */
#contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
    margin: 15px 0px;
    background-color: #CAF0F8;
    border: 3px solid black;
    border-radius: 10px;
    align-self: center;
    height: 56vh;
}
#contact-form label, input, textarea {
    width: 80%;
}
#submitButton {
    margin-top: 15px;
}
#clearPostsBtn {
    width: 25%;
    align-self: flex-end;
    margin-bottom: 20px;
}

/* Media Query for Responsive Design */

@media (min-width: 600px) {
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
    }
    .nav-links {
        display: flex;
        align-self: center;
        justify-items: flex-end;
        margin-right: 15px;
    }
}