@import url('../css/main.css');

section.MainBody {
    width: 100%;
    padding: 25px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

section.MainBody>h2 {
    color: #fff;
}

.newspaper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}

.newspaper>.News {
    width: 49%;
    height: 152px;
    margin-top: 12px;
    padding: 6px 4px;
    border-radius: 4px;
    background-color: #1B0E3D;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.newspaper>.News>img {
    width: 100%;
    height: 83px;
    object-fit: cover;
    border-radius: 5px;
}

.newspaper>.News>p {
    width: 70%;
    height: 30px;
    font-size: 7px;
    color: #fff;
}

.newspaper>.News>a {
    display: flex;
    align-self: flex-end;
    width: 60px;
    height: 18px;
    background-color: #fff;
    border-radius: 4px;
    text-decoration: none;
    color: #1B0E3D;
    justify-content: space-between;
    align-items: center;
    padding: 4px;
    box-sizing: border-box;
}

.newspaper>.News>a>span {
    font-size: 8px;
}



@media only screen and (min-width: 1024px) {
    .newspaper {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        width: 100%;
        padding: 0px 12%;
        box-sizing: border-box;
    }

    .newspaper>.News {
        width: 25%;
        height: 152px;
        margin-top: 12px;
        padding: 6px 4px;
        border-radius: 4px;
        background-color: #1B0E3D;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
}