:root{
    --primary-color: #010F19;
    --secondary-color: hsla(205, 13%, 51%, 1);
    --darker-secondary-color: hsla(205, 13%, 45%, 1);
    --bg-primary: hsla(220, 12%, 95%, 1);
}
#container {
    margin: 80px 0 100px 0;
}
#container h2{
    text-align: center;
}
.post-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.post a{
    margin-bottom: 10px;
}
.post {
    width: 400px;
    margin: 0 25px;
    display: flex;
    flex-direction: column;
    position: relative;
}
.post .fa-check{
    font-size: 1rem;
    color: var(--bg-primary);
    background-color: var(--darker-secondary-color);
    margin: 0px 3px;
    border-radius: 50px;
    padding: 1px 2px;
}
.post img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.post .post_name{
    text-align: center;
    font-weight: 600;
    margin: 5px 0;
}
.post p{
    overflow: hidden;
    text-overflow: ellipsis;
}
.post .post_location {
    margin: 5px 0;
}
.post .post_date{
    margin: 5px 0;
}
.post .post_description{
    margin: 10px 0;
    font-style: italic;
    color: var(--darker-secondary-color);
}
.post_categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; 
}
.post .post_category {
    position: relative;
    padding: 1px 10px;
    border-radius: 50px;
    margin: 1px 0;
    color: var(--bg-primary);
    background-color: var(--darker-secondary-color);
}
.post a {
    color: var(--bg-primary);
    width: fit-content;
    padding: 7px 5px;
    border-radius: 10px;
    background-color: #010f197f;
}
.empty img{
    width: 100% !important;
    max-width: 500px;
}
#comments_container{
    display: flex;
    flex-direction: column;
    align-items: center;
}
#comment-rules p{
    font-size: 0.875rem;
    color: var(--darker-secondary-color);
    margin: 0 200px;
}
form {
    display: flex;
    flex-direction: column;
} 
form label {
    font-size: 1rem;
    font-family: "MuseoModerno", "Arial", sans-serif;
    margin-top: 20px;
}
input[type="text"], textarea {
    height: 40px;
    width: 400px;
    border-radius: 10px;
    border: 1px solid var(--secondary-color);
    background-color: hsla(205, 13%, 51%, 0.5);
    font-size: 1rem;
}
input[type="submit"] {
    display: flex;
    height: 40px;
    width: 100px;
    border-radius: 10px;
    background-color: var(--primary-color);
    color: var(--bg-primary);
    margin-top: 20px;
    cursor: pointer;
    font-size: 1rem;
    font-family: "MuseoModerno", "Arial", sans-serif;
    border: 0;
}
#comments {
    margin: 90px 0 20px 0;
    max-width: 500px;
}
.comment_infos {
    display: flex;
    align-items: center;
    gap: 10px;
}
.comment_infos img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}
.comment_infos p {
    font-size: 10px;
    color: var(--darker-secondary-color);
    align-items: center;
}
@media screen and (max-width: 768px)  {
    .empty img{
    width: 100% !important;
   }
   form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 90%;
    margin: 0 auto;
   }
   input[type="text"], textarea {
    width: 100% !important;
    text-align: left;
    }
}