body {
    font-family: Arial, sans-serif;
    background-color: #181818; /* Dark background color */
    color: #fff;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

.header {
    width: 100%;
    padding: 20px;
    text-align: center;
    background-color: #000;
    color: #fff;
    font-size: 32px;
    font-weight: bold;
    border-bottom: 1px solid #333;
}

.news-container {
    display: flex;
    gap: 20px;
    padding: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.news-item {
    position: relative;
    width: 300px;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.news-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover img {
    transform: scale(1.05);
}

.news-item .info {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    text-align: left;
    box-sizing: border-box;
    color: rgba(0, 0, 255, 0.5); /* Red text color */
}

.news-item .info p {
    margin: 0;
    font-size: 14px;
}

.news-item .info p:first-child {
    font-size: 16px;
    font-weight: bold;
}

.news-item:hover .info {
    background: rgba(0, 0, 100, 0.5); /* Red background on hover */
}