/* ========== ESTRUTURA GERAL DO FEED ========== */

#feedContainer{
    max-width: 800px;
    width: 100%;

    margin: auto;
}


/* ========== POST ========== */

.post{
    width: 100%;
    margin-bottom: 50px;
    padding: 20px 0px;

    border-bottom: 2px solid var(--green3);
}


/* ========== CABEÇALHO DO POST ========== */

.post-header{
    padding: 15px;
    margin-bottom: 20px;

    background-color: #1c1c1c;
    color: white;

    border-top-right-radius: 15px;
}


/* ========== INFORMAÇÕES DO POST ========== */

.post-info{
    display: flex;
    justify-content: space-between;

    font-size: 0.8em;
}


/* ========== CONTEÚDO DO POST ========== */

#feedContainer h2{
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.7em;
    margin-bottom: 5px;
}

#feedContainer h3{
    margin-bottom: 5px;
}

#feedContainer p{
    margin-bottom: 10px;
}

#feedContainer img{
    display: block;
    max-width: 100%;
    max-height: 800px;
    margin: auto;
}


/* ========== GALERIA DE IMAGENS (COLLECTION) ========== */

.collection{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;

    margin-bottom: 20px;

    border-radius: 10px;
    overflow: hidden;
}

.collection button{
    z-index: 100;
    position: absolute;

    padding: 15px 8px;

    color: white;
    background-color: rgba(0,0,0,0.5);

    border-radius: 5px;
}

.backward{
    left: 0;
}

.forward{
    right: 0;
}


/* ========== CONTAINER DAS IMAGENS ========== */

.imagesContainer{
    position: relative;
    flex-direction: column;

    width: 500px;
    max-width: 100%;
    max-height: 90vh;

    overflow: hidden;
    padding: 30px;
}


/* ========== INFORMAÇÕES DA IMAGEM ========== */

.imgInfo{
    position: absolute;
    bottom: 0px;
    right: 50%;

    padding: 3px 8px;

    background-color: rgba(0,0,0,0.5);
    color: white;

    border-radius: 5px;

    font-size: 0.9em;
    transform: translateX(50%);
}


/* ========== RODAPÉ DO POST ========== */

.post-footer h4{
    margin-bottom: 5px;
}

.post-footer li{
    list-style-position: inside;
    padding: 5px;
    padding-left: 0;
}


/* ========== RESPONSIVIDADE ========== */

@media (max-width: 650px){
    .imagesContainer{
        padding: 0px;
    }
}
