/*
    Variables
*/

:root {
    --background-color: lightgrey;

    --primary-text-color: rgb(40, 40, 40);
    --secondary-text-color: rgb(80, 80, 80);
    
    --primary-border-color: rgb(40, 40, 40);
    --secondary-border-color: rgb(80, 80, 80);
}

/* 
    HTML Elements
*/

body {
    margin: 0px auto;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    background-color: var(--background-color);
    color: var(--primary-text-color);
    font-size: x-large;
}

img {
    max-width: 100%;
}

@media screen and (max-width: 80em) {
    body {
        font-size: large;
    }
}

.top-container {
    display: flex;
    height: 100%;
}

.nav-container {
    flex: 1;
    text-align: center;
    padding-top: 130px;
    margin-left: 10px;
}

@media screen and (max-width: 80em) {
    .nav-container {
        display: none;
    }
}

.content-container {
    flex: 7;
    text-align: center;
}

.post-container {
    width: 70%;
    margin: auto auto 20px auto;
    text-align: left;
    padding: 10px;
}

@media screen and (max-width: 80em) {
    .post-container {
        width: 90%;
    }
}

.post-container-title {
    font-weight: bold;
    float: left;
}

.post-container-title:hover {
    color: var(--secondary-text-color);
    cursor: pointer;
}

.post-container-date {
    float: right;
    font-style: italic;
    font-size: large;
}

@media screen and (max-width: 80em) {
    .post-container-date {
        float: none;
        padding-top: 25px;
    }
}

.post-container-hr {
    border-bottom: 1px solid var(--primary-border-color);
    padding-top: 32px;
}

@media screen and (max-width: 80em) {
    .post-container-hr {
        padding-top: 0px;
    }
}

.post-container-description {
    padding-top: 20px;
    padding-bottom: 30px;
}

.post-container-category {
    border: 1px solid var(--primary-border-color);
    border-radius: 5px;
    padding: 5px;
    font-size: large;
    margin-right: 5px;
}

.nav-item {
    padding-bottom: 20px;
    width: fit-content;
    margin: auto;
}

.nav-item-link:hover {
    color: var(--secondary-text-color);
    cursor: pointer;
}

.nav-item-category {
    border: 1px solid var(--primary-border-color);
    border-radius: 5px;
    padding: 5px;
    margin: 5px auto 5px auto;
    width: fit-content;
}

.nav-item-category:hover {
    border: 1px solid var(--secondary-border-color);
    color: var(--secondary-text-color);
    cursor: pointer;
}