.scrollable-container{
    width: 95%;
    height: 600px;
    margin: auto;
    margin-top: 10px;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
    overflow-y: scroll;
}

.news-card{
    width: 100%;
    height: 200px;
    aspect-ratio: 1/1;
    border: 1px black solid;
    border-radius: 20px;
    padding: 10px;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: row;
    transition: 0.3s;
    margin: auto;
    margin-top: 10px;
    margin-bottom: 10px;
}

.news-card:hover{
    background-color: red;
    color: white;
}

.news-image{
    width: auto;
    height: 180px;
    aspect-ratio: 16/9;
    background-color: red;
    background-position: center;
    background-size: cover;
    border-radius: 15px;
}

.news-info{
    margin: auto;
    margin-left: 20px;
    margin: auto;
    margin-top: 0;
    margin-left: 20px;
    width: 60%;
}

.news-info h4{
    font-size: 1.7rem;
    margin: auto;
    margin-left: 0;
    margin-bottom: 0;
}

.news-info p{
    margin: auto;
    margin-left: 0;
    margin-top: 10px;
}

.news-quick{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    width: 10%;
    height: 50%;
    margin: auto;
    margin-right: 0;
}

.news-quick a{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    text-decoration: none;
    background-color: black;
    color: white;
    width: 100%;
    height: auto;
    padding-block: 5px;
    border-radius: 10px;
}

.news-quick i{
    margin-right: 5px;
}

.news-quick p{
    padding: 5px;
    padding-inline: 12px;
    background-color: red;
    color: white;
    border-radius: 40px;
    font-size: 0.9rem;
    width: 100%;
}

@media screen and (max-width: 600px){
    .news-card{
        justify-content: start;
        flex-direction: column;
        height: 550px;
    }

    .news-image{
        width: 100%;
        height: 160px;

    }

    .news-info{
        width: 100%;
        margin: auto;
        margin-left: 0;
    }

    .news-info h4{
        font-size: 1.3rem;
        margin-top: 15px;
    }

    .news-info p{
        margin-bottom: 10px;
    }

    .news-quick{
        flex-direction: row;
        margin: auto;
        margin-left: 0;
        height: fit-content;
        width: 100%;
    }

    .news-quick a{
        margin-left: 10px;
    }
}