body {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 0px;
    padding: 0px;
    text-align: center;
}
 /*  */
.black {
    position: relative;
    width: 100%;
    height: 60px;
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Memusatkan konten ke kiri */
    padding-left: 10px; /* Padding untuk memberikan ruang dari tepi kiri */
}

.warna {
    color: white;
    text-decoration: none;
    font-size: 28px;
    font-weight: bold;
    list-style-type: none;
    display: flex;
    padding: 0;
}

.warna li:nth-child(1) a {
    font-size: 28px;
    margin-left: 25px;
} /* jarak berita dan besar */

.warna li:first-child {
    margin-right: 30px;
} /* jarak trending dari kiri */

.warna li {
    margin-right: 20px;
} /* jarak antar kategori */

.warna a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.image-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 100px;
    justify-items: center;
    margin-top: 20px;
}

.image-wrapper {
    text-align: center;
    width: 200px;
}

.image-box {
    background-color: gray;
    padding: 10px;
    border-radius: 8px;
    width: 200px;
    height: cover;
    overflow: hidden;
}

.image-box img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.image-box p {
    font-size: 18px;
}

.image-box a {
    text-decoration: none;
    color: black;
}
/* BERITA */

.date {
    padding: 7px 0px;
    font-size: 14px;
    line-height: 22px;
    color: #989898;
}

.berita1{
    text-align: center;
}

.img {
    width: 100%; /* Gambar mengisi 100% dari elemen induknya */
    max-width: 800px; /* Batas lebar maksimal */
    height: auto; /* Menjaga rasio aspek gambar */
    display: block;
    margin: 20px auto; /* Pusatkan gambar secara horizontal dengan margin otomatis */
}

footer {
    
    left: 0;
    bottom: 0;
    width: 100%;
    color: #c0c0c0;
    text-align: center;
    padding: 10px 0;
}

footer hr {
    margin: 0;
    border: none;
    border-top: 2px solid #000;
}
footer p {
    margin: 0;
    padding: 0;
    
}
