main {
    padding: 1rem;
    display: grid;
    grid-template-columns: 250px auto;
    gap: 2rem;
    margin-top: 40px !important;
}

.intro-container{
    margin: 6% 4% 0 4%;
}

#welcome-text {
    text-align: center;
    font-size: 25px;
    margin-top: 80px !important;
}

#view-option-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

#view-option-container button {
    background: none;
    border: 2px solid slategray;
    border-radius: 5px;
    transition: all 0.2s linear !important;
}

#view-option-container button:hover {
    background-color: #423651;
}

.filter-bar {
    border: 2px solid slategray;
    border-radius: 5px;
    background: none;
    position: sticky;
    top: 20px;
    height: 100vh;
    margin-bottom: 2.5vh;
}

.filter-bar ul {
    list-style: none;
    padding: 10px;
}

.filter-bar li {
    padding: 0.5rem 0;
    cursor: pointer;
    color: white;
    border: 1px solid slategray;
    border-radius: 5px;
    margin-bottom: 10px;
    transition: all 0.2s linear !important;
}

.filter-bar li:hover {
    scale: 1.04;
}

.filter-bar li i {
    font-size: 15px;
}

.filter-toggle-btn{
    background: #423651;
    color: white;
    width: 100%;
    text-align: left;
    border: 1px solid slategray;
    border-radius: 2px;
    font-size: 17px;
    font-weight: 900;
    cursor: pointer;
    padding-top: 10px;
    padding-bottom: 10px;
}
.filter-toggle-btn i{
    font-weight: 900 !important;
}

#filter-toggle{
    transition: all 0.2s linear !important;
}

#filter-toggle:hover{
    background: #57476a;
}

.filter-toggle-btn i{
    font-size: 17px;
}

#post-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.post {
    border: 2px solid slategray;
    border-radius: 5px;
    box-shadow: 8px 12px #423651;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s linear !important;
    margin-bottom: 2.2rem;
}

.post:hover {
    scale: 1.02;
    box-shadow: 12px 16px #423651;
}

.post img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post h2 {
    margin: 0;
    padding: 1rem;
    font-size: 1.3rem;
    background: #423651;
    border-bottom: 2px solid slategray;
}

.post p {
    color: white;
    font-size: 1.1rem;
    padding: 1rem;
}

.post .date-and-time{
    display: flex;
    justify-content: left;
    padding-left: 1rem;
    gap: 20px;
    align-items: center;
    font-size: 20px;
    margin-top: -6px;
    background: #423651;
    border-bottom: 2px solid slategray;
    border-top: 2px solid slategray;
}

.post .date-and-time i{
    font-size: 17px;
    padding: 0 8px 0 0;
}

.post .read-more {
    display: inline-block;
    padding: 0.5rem 1rem 0.5rem 1rem;
    background: none;
    color: white;
    text-decoration: none;
    text-align: center;
    border: 2px solid slategray;
    border-radius: 5px;
    font-size: 15px;
    transition: all 0.2s linear !important;
    margin: 1rem;
}

.post .read-more:hover{
    scale: 1.02;
    background: none !important;
    box-shadow: 4px 6px #423651;
}

.post .read-more i{
    position: relative;
    margin-right: 10px;
    font-size: 15px;
    padding: 0;
}

/* RESPONSIVENESS SETTINGS */
@media (max-width: 1160px) {
    #welcome-text {
        font-size: 25px;
        margin-bottom: 5vh;
    }
    .post .read-more:hover{
        margin-left: 2vw;
    }
    main {
        grid-template-columns: 1fr;
    }
    .filter-toggle-btn{
        text-align: center;
        padding-left: 0;
        padding-right: 0;
    }
    .filter-bar {
        width: 100%;
        position: static;
        margin-right: 200px;
        height: fit-content !important;
    }
    .filter-bar.active {
        display: block;
    }
    .filter-bar li:hover{
        scale: 1.01 !important;
    }
    #read-more-btn{
        display: none;
    }
}
@media (max-width: 710px) {
    #welcome-text{
        margin: 6% 4% 5vh 4%;
        text-align: left;
    }
    #view-option-container{
        display: none;
    }
    #post-container{
        display: block !important;
    }
    #post-container .post{
        margin-bottom: 2.5rem;
    }
}
/********************/

/* ANIMATIONS, SCROLLBAR ETC. */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/********************/
