* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f0f4f8;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
}

#container {
    width: 100%;
    max-width: 100%;
    border: 2px solid #000;
    background-color: #fff;
}

#header {
    background-color: #5298f2;
    text-align: center;
    width: 100%;
    height: 300px;
}

#header img {
    width: 100%;
    height: 300px;
    display: block;
}

#navbar {
    background-color: #1a51cd;
    padding: 12px;
    display: flex;
    gap: 20px;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
}

#navbar a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

#main-wrapper {
    display: flex;
    min-height: 400px;
}

#content {
    flex: 1;
    padding: 20px;
    border-right: 2px solid #000;
}

.img-content {
    width: 250px;
    margin-top: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.buku-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.buku-box {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.buku-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.buku-cover {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 10px;
}

.buku-box h4 {
    font-size: 14px;
    color: #2c3e50;
    margin-bottom: 6px;
}

.buku-box p {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

.btn-pinjam {
    display: inline-block;
    background-color: #2575fc;
    color: white;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.btn-pinjam:hover {
    background-color: #1a58c8;
}

#sidebar {
    width: 220px;
    background-color: #afd2fc;
    padding: 20px 15px;
    text-align: center;
}

.img-sidebar {
    width: 100%;
    margin-bottom: 15px;
}

.menu-list {
    list-style: none;
}

.menu-list li {
    margin-bottom: 10px;
}

.menu-list a {
    display: block;
    background: #fff;
    padding: 8px;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#footer {
    background-color: #1a51cd;
    color: white;
    text-align: center;
    padding: 70px;
    border-top: 2px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
   
}

