* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
    background-color: #f4f4f4;
}


header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #003a63;
    color: white;
}

header h1 {
    font-size: 24px;
}

.all-news-link {
    color: #ffd700;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.all-news-link:hover {
    color: #ffffff;
}

.news-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 20px;
    background-color: #003a63;
}

.featured-news {
    flex: 2;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.featured-news img {
    width: 100%;
    height: 400px;
    display: block;
    border-radius: 8px;
    transition: transform 0.5s ease;
}

.featured-news:hover img {
    transform: scale(1.05);
}

.news-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 10px 15px;
    border-radius: 5px;
    max-width: 90%;
    width: 50%;
}

.news-content h2 {
    font-size: 24px;
    margin-bottom: 5px;
    color: #ffd700;
}

.news-date {
    font-size: 14px;
}

.other-news {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-item {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-item:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.news-link {
    display: flex;
    text-decoration: none;
    color: #333;
    width: 100%;
}

.news-item img {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.news-info {
    padding: 10px;
}

.news-info h3 {
    margin-top: 30px;
    font-size: 25px;
    margin-bottom: 5px;
    color: #1d3b5e;
}

.news-info .news-date {
    font-size: 12px;
    color: #666;
}

@media (max-width: 768px) {
    .news-container {
        flex-direction: column;

    }
    .featured-news, .other-news {
        width: 100%;
    }
}
