
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    text-decoration: none;
    list-style: none;
    border: none;
    outline: none;
}

/* Reset link */
a {
    color: inherit;
}

/* Reset button */
button {
    background: none;
    border: none;
    cursor: pointer;
}

/* Reset input fields */
input, select, textarea {
    font: inherit;
}

body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

.container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

header {
    background: white;
    padding: 20px;
}

.logo {
    width: 80px;
    height: auto;
}

h1 {
    font-size: 32px;
    font-weight: bold;
}

h1 .blue {
    color: #687EFF;
}

h1 .black {
    color: black;
}

nav {
    background: #333;
    padding: 15px 0;
}

nav .btn {
    background: #687EFF;
    color: white;
    padding: 10px 20px;
    margin: 5px;
    text-decoration: none;
    font-size: 18px;
    border-radius: 8px;
    display: inline-block;
}

.categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0;
    padding: 20px;
    background: #222;
}

.box {
    width: calc(50% - 20px); /* 2 kolom di layar besar */
    max-width: 300px;
    height: 150px;
}

/* Jika layar kecil, buat 1 kolom */
@media (max-width: 600px) {
    .box {
        width: 100%;
        max-width: none;
    }
}


.green {
    background: #2ecc71;
}

.blue {
    background: #687EFF;
}

.gray {
    background: #555;
}

.darkblue {
    background: #0915C7;
}

.logo {
    width: 250px; /* Sesuaikan ukuran */
    height: auto;
    display: block;
    margin: 20px auto; /* Tengah otomatis */
}

footer {
    padding: 20px;
    background: white;
    font-size: 14px;
}

header, nav, footer {
    width: 100%;
    max-width: 100%;
}
