*{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    background-color: rgb(214, 37, 37);
}

.menu{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
img{
    width: 10%;
}

div ul{
    display: flex;
    gap: 3em;
    justify-content: right;
    padding: 1em;
}
div ul li{
    list-style: none;

}
div ul li a{
    text-decoration: none;
    color: white;
    font-size: bold;
}
div ul li a:hover{
    color: rgb(235, 235, 30);
}

.news{
    padding: 50px 30px;
}

.news h2{
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: rgb(235, 235, 30);
}

.news-container{
    display: grid;
    gap: 25px;
}

.news-card{
    display: flex;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(6, 7, 0, 0);
    transition: .3s;
}

.news-card:hover{
    box-shadow: 0 0 20px rgb(133, 143, 3);
}

.news-card img{
    width: 320px;
    height: 220px;
    object-fit: cover;
}

.news-content{
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-category{
    background-color: rgb(235, 235, 30);
    color: black;
    padding: 5px 12px;
    border-radius: 20px;
    width: fit-content;
    font-size: .8rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.news-content h3{
    margin-bottom: 15px;
    color: white;
}

.news-content p{
    color: #d4d4d4;
    margin-bottom: 20px;
}





@media(max-width:768px){

    .news-card{
        flex-direction: column;
    }

    .news-card img{
        width: 100%;
        height: 220px;
    }
}
