@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@400;900&display=swap");

:root {
    --prim-color: #fbb042;
    --sec-color: #000000;
    --tert-color: #264e74;
    --text-color: #242424;
    --light-grey: #f7f7f7;
}

.news-content {
    display: flex;
    flex-direction: column;
    padding: 0 25%;
    background: var(--light-grey);
    min-height: 70vh;
}

.news-card {
    display: flex;
    background: white;
    font-weight: bold;
    padding: 25px;
    min-height: 100px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 1px 1px #e3e3e3;
    margin: 10px auto;
    cursor: pointer;
}

.news-card-txt {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
}

.news-card img {
    height: 100px;
    width: 100px;
    margin: auto 15px;
}

.title {
    font-size: 22px;
    margin: 0;
    color: var(--sec-color);
}

.date {
    margin: 0;
    color: var(--tert-color);
}

.nws-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.nws-img {
    height: 300px;
}

@media screen and (min-width: 601px) and (max-width: 1025px) {
    .news-content {
        padding: 0 10%;
        height: 80vh;
    }
}

@media screen and (max-width: 600px) {
    .news-content {
        padding: 0 5%;
    }

    .news-card {
        padding: 5px;
    }

    .title {
        font-size: 16px;
    }
}
