.newpost {
    display: block;
    width: auto;
    max-width: 1000px;
    min-height: 80px;
    margin-top: 30px;
    margin-right: auto;
    margin-left: auto;
    padding-left: 40px;
    padding-right: 40px;
    margin-bottom: 100px;
    padding: 30px;
    background-color: #f6f6f6;
    border-radius: 12px;
}

.newpost_img {
    display: flex;
    justify-content: center;
}

.newpost_img img {
    width: 100%;
    border-radius: 12px;
}

.newpost_text {
    margin-top: 20px;
}

.newpost_text #type {
    color: #3492eb;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
}

.newpost_text a {
    font-weight: 900;
    font-size: 35px;
}

#newpost_description {
    margin-top: 20px;
    margin-left: 30px;
    margin-right: 10px;
    line-height: 170%;
    width: auto;
}

/* ------ POSTS -----*/
.container {
    margin-left: 150px;
    margin-right: 190px;
}

.post {
    display: inline-block;
    width: 30%;
    margin: 10px;
    vertical-align: top;
    padding: 20px;
    margin: 25px;
    margin-bottom: 70px;
    margin-top: 0px;
}
  
.post:nth-child(3n+1) {
    clear: both;
}

.post_img {
    width: 100%;
    border-radius: 12px;
}

.post_type {
    color: #3492eb;
    font-size: 18px;
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 10px;
    text-align: left;
}

.post_title {
    font-weight: bold;
    font-size: 25px;
    margin-top: 10px;
    float:left;
    text-align: left;
    margin-bottom: 10px;
}

.ad {
    color: #363949;
    font-size: 20px;
}

/*----- RESPONSIVE DESIGN -----*/
@media(max-width: 992px) {
    .newpost {
        margin-left: 20px;
        margin-right: 20px;
    }

    .newpost_text #type {
        font-size: 15px;
        margin-bottom: 5px;
    }
    
    .newpost_text a {
        font-size: 25px;
    }
    
    #newpost_description {
        margin-top: 16px;
        margin-left: 0px;
        font-size: 14px;
        width: auto;
        margin-right: 0px;
    }

    .container {
        margin-left: 10px;
        margin-right: 10px;
        display: flex;
        justify-content: center;
        flex-direction: column;
    }
    
    .post {
        display: inline-block;
        width: 100%;
        margin: 0px;
        vertical-align: top;
        padding: 10px;
        margin: 0px;
        margin-bottom: 70px;
        margin-top: 0px;
    }
      
    .post:nth-child(3n+1) {
        clear: both;
    }

    .post_title {
        font-weight: 800;
        font-size: 20px;
        margin-top: 10px;
        float:left;
        text-align: left;
        margin-bottom: 10px;
    }
}