/* MAIN */

main {
    border-radius: 8px;
    width: 100%;
    height: 100%;
    margin: 0 auto;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex: 1;
    margin-bottom: 60px;
}


.main-content {
    height: 100%;
}

.main-sidebar h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.cat-sidebar {
    background-color: rgba(19, 180, 19, 0.738);
    border: 8px solid rgba(29, 255, 48, 0.738);
    height: 100%;
    width: 100%;
    color: white;
    font-size: 1rem;
    padding: 24px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.cat__img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.cat__img:hover {
    transform: scale(1.5);
    transition: all 0.3s ease;
}

.chat-sidebar {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}


.chat-sidebar__content iframe{
    overflow-y: scroll;
    max-height: 300px;
    max-width: 250px;
}

/* ------------------- POST ------------------ */

.post {
    color: white;
    margin-bottom: 24px;
    border: 1px solid #f9f9f9;
    padding: 24px 16px;
    width: 100%;
    background-color: #3d3d3dad;
    border: 4px solid #555555
}

.post__article {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.post__article img {
    border-radius: 50%; 
    z-index: 999;
}

.post__article time {
    margin-left: -4px;
    margin-right: 8px;
    background-color: #00000096;
    padding: 8px;
    font-weight: bold;
}

.post__title {
    margin: 16px 0 8px 0
}

.post__text{
    display: flex;
    flex-direction: column;
    align-self: center;
    justify-content: center;
}

.post--text {
    background-color: red;
}

@media (max-width: 767px) {
    main {
        display: flex;
        flex-direction: column;
    }
}

@media(min-width: 768px) {
    main {
        height: 100%;
        width: 100%;
    }

    .main-content {
        width: 50%;
    }

    .cat-sidebar {
        width: 22%;
        height: 50vh;
    }

    .chat-sidebar {
        width: 22%;
    }
}