:root{
    color: black;
    color: white;
    color: red;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    outline: none;
    border: none;
    text-decoration: none;
    text-transform: none;
    transition: 0.5s linear;
}

a{
    color: black;
    text-decoration: none;
    margin: 10PX;
}

.logo-wrapper {
    padding: 20px 0px;
    display: flex;
    align-items: center;
}

/*search */
/* CSS untuk menempatkan simbol pencarian dan input sejajar */
.input-group {
    position: absolute;
    top: 25px;
    right: 0;
    display: flex;
    align-items: center; /* Mengatur elemen berdampingan secara vertikal */
}

/* Sesuaikan tampilan input sesuai kebutuhan Anda */
.input-group input {
    /* Atur tampilan input sesuai kebutuhan */
    border: none;
    border-radius: 0;
    padding: 5px 10px;
    width: 100%;
}

/* Sesuaikan tampilan simbol pencarian sesuai kebutuhan Anda */
.input-group .btn {
    /* Atur tampilan tombol pencarian sesuai kebutuhan */
    background-color: red; /* Warna latar belakang */
    border: none;
    border-radius: 0;
    padding: 5px 10px;
    color: white; /* Warna teks */
}

/*menu berita*/
.menu {
    background: red;
    border: 2px solid red; /* Menambahkan garis merah sekitar menu */
    padding: 15px;
}

.menu-items {
    list-style: none;
    margin: 0;
    padding: 10;
    display: flex; /* Menggunakan display: flex; untuk menyusun item horizontal */
    justify-content: space-between; /* Membuat spasi di antara item */
}

.menu-items a {
    text-decoration: none;
    color: black;
}

.menu-items a:hover {
    color: white;
}

/* Gaya tautan dropdown */
.dropdown-menu {
    list-style: none;
    padding: 0;
    position: absolute;
    background: red;
    display: none;
    z-index: 1; /* Mengatur urutan tampilan */
}

.menu-items li:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    display: block;
    padding: 10px 15px;
}

.dropdown-menu a {
    color: #333;
    text-decoration: none;
    padding: 20px 15px;
}

.dropdown-menu a:hover {
    color: #fff;
}

/*berita*/
section {
    padding: 2rem 9%;
}

.heading {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    padding: 1rem;
    margin: 2rem 0;
    background: red;
}

.heading span {
    color: white;
}

.btn-container {
    display: flex;
    justify-content: center; /* Mengatur tombol di tengah horizontal */
    margin-top: 1rem;
}

.btn {
    display: inline-block;
    border-radius: 5rem;
    background: red;
    color: black; /* Mengganti warna teks menjadi putih */
    padding: 1rem 2.5rem;
    cursor: pointer;
    font-size: 1.5rem;
    text-align: center;
}

.btn:hover {
    color: white; 
}

.container-berita {
    max-width: 1000px;
    max-height: 1000px;
    margin: 0 auto;
    text-align: center;
    padding: 25px 20px;
}

.container-berita .heading {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #ff0000;
}

.container-berita .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30px, 1fr));
    gap: 15px;
}

.container-berita .box-container .box {
    background-color: red;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px;
    text-align: left;
}

.container-berita .box-container .box .image {
    margin-bottom: 20px;
    overflow: hidden;
    height: 250px;
    border-radius: 5px;
}

.container-berita .box-container .box .image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.container-berita .box-container .box .article h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: black;
}

.container-berita .box-container .box .article p {
    font-size: 1em;
    color: #000000;
}