/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    background-color: orangered;
    color: #fff;
    padding: 20px 0;
}

header h1 {
    background-color: #742f17;
    text-align: center;
    margin-bottom: 10px;
}

header img {
    position: absolute;
    width: 100px;
    height: 100px;
    left: 20px;
    display: flex; 
}

header button{
    position: absolute;
    left: 93%;
    top: 53px;
    display:flex;
}

nav ul {
    
    list-style: none;
    text-align: center;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* Main Content */
.berita-utama {
    margin: 20px 0;
}

.berita-utama img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.berita-utama h2 {
    margin-bottom: 10px;
}

.berita-utama p {
    margin-bottom: 10px;
    justify-content: baseline;
    text-align: justify;
    position: relative;
}

.berita-utama a {
    color: #007BFF;
    text-decoration: none;
}

.berita-utama a:hover {
    text-decoration: underline;
}

.berita-terbaru h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
    background-color:#742f17 ;
}

.grid-berita {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.grid-berita article {
    background-color: #fff;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.grid-berita img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.grid-berita h3 {
    margin-bottom: 10px;
}

.grid-berita p {
    margin-bottom: 10px;
}

.grid-berita a {
    color: #007BFF;
    text-decoration: none;
}

.grid-berita a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}

