#red_line{
    text-align: center;
    border-top: 2px solid #e8175d;

    width: 90%; /* Defina uma largura */
    margin: 3.5rem auto;
    margin-bottom: -2rem;
}

#box_posts{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3.125rem;
    margin-top: 2rem;
    margin-bottom: 1.25rem;
    color: #fff;
    padding: 1.875rem;
}


.div_posts{
    display: flex;
    flex-direction: row;
    gap: 30px;
    transform: translateX(0) scale(1);
    transition: transform 0.2s;
}

.div_posts:hover h2{
    transition: color 0.1s ease-in-out; 
    color: #e8175d;
}

.div_posts:hover,
.div_posts:focus {
  transform: scale(1.02);
  cursor: pointer;
}


.box_text{
    width: 50rem;
    align-self: center;
}


.img_post{
    width: 7.5rem;
    border-radius: 0.625rem;
}

@media (max-width: 575.98px) {
    

    #box_posts{
        gap: 2.125rem;
        margin-top: -3.875rem;
        margin-bottom: 1.25rem;
        color: #fff;
        padding: 1.875rem;
        margin-left: 0rem;
    }
    
    #red_line{
        margin-left: 1rem;
        margin-bottom: 5rem;
        width: 92vw;
        border-top: 2px solid #e8175d;
    }
    
    
    .div_posts{
        display: flex;
        flex-direction: row;
        gap: 1.875rem;
        transform: translateX(0) scale(1);
        transition: transform 0.2s;
    }
    
    
    
    .box_text{
        width:14rem;
        align-self: center;
    }
    
    
    .img_post{
        width: 4rem;
        border-radius: 0.625rem;
    
    }
    
    .text{
        display: none;
    }

    .title{
        font-size: 1rem;
    }

}

@media (min-width: 576px) and (max-width: 767.98px){

    #box_posts{
        gap: 4.125rem;
        margin-top: 3.875rem;
        margin-bottom: 1.25rem;
        color: #fff;
        padding: 0.875rem;
        margin-left: -5rem;
    }
    
    
    .div_posts{
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 1.875rem;
        transform: translateX(0) scale(1);
        transition: transform 0.2s;
    }
    
    .text{
        width: 20rem;
    }
    
    .box_text{
        width:14rem;
        align-self: center;
        margin-top: 1rem;
    }
    
    
    .img_post{
        width: 8rem;
        height: 8rem;
        border-radius: 0.625rem;
    
    }

    .title{
        font-size: 1.3rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px){

    #box_posts{
        gap: 4.125rem;
        margin-top: 3.875rem;
        margin-bottom: 1.25rem;
        color: #fff;
        padding: 0.875rem;
        margin-left: -13rem;
    }
    
    
    .div_posts{
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 1.875rem;
        transform: translateX(0) scale(1);
        transition: transform 0.2s;
    }
    
    .text{
        width: 25rem;
    }
    
    .box_text{
        width:14rem;
        align-self: center;
        margin-top: 1rem;
    }
    
    
    .img_post{
        width: 8rem;
        height: 8rem;
        border-radius: 0.625rem;
    
    }

    .title{
        width: 19rem;
        font-size: 1.3rem;
        margin-bottom: 0.4rem;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px){

    #box_posts{
        gap: 4.125rem;
        margin-top: 3.875rem;
        margin-bottom: 1.25rem;
        color: #fff;
        padding: 0.875rem;
        margin-left: -70%;
    }
    
    
    .div_posts{
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 1.875rem;
        transform: translateX(0) scale(1);
        transition: transform 0.2s;
    }
    
    .text{
        width: 55rem;
        font-size: 1.3rem;
    }
    
    .box_text{
        width:1rem;
        align-self: center;
        margin-top: 1rem;

    }
    
    
    .img_post{
        width: 8rem;
        height: 8rem;
        border-radius: 0.625rem;
    
    }

    .title{
        width: 32rem;
        font-size: 1.8rem;
        margin-bottom: 0.4rem;
    }
}

