.kepala{
    text-align: center;
    position: relative;
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* menu */

.navbar {
    background: #606c75;
    text-align: center;
    padding: 1rem 0;
}

.navbar a {
    color: white;
    margin: 0 1rem;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    border-radius: 3px;
}

.navbar a:hover {
    background-color: aliceblue;
    color: #606c75;
}

.konten{
    width: 100%;
    height: 100vh;
    margin: 15px;
    padding: 10px;
    display: flex;
    flex: 1;
}

.sidebar{
    display: grid;
    width: 10%;
    height: 98vh;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    background-color: rgb(255, 255, 255);
    margin: 10px;
    box-sizing: border-box;
    padding: 10px;
}
.sidebar a{
    display: block;             /* supaya link memenuhi lebar sidebar */
    padding: 15px;  
    text-decoration: none;      /* hilangkan garis bawah */
    color: black;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s ease;
}
.sidebar a:hover{
    background-color: #606c75;
}

.tengah{
    flex:1;
    width: 50%;
    height: 98vh;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    background-color: rgb(255, 255, 255);
    display: grid;
    margin: 10px;
}
.kanan{
    width: 20%;
    height: 98vh;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    background-color: rgb(241, 241, 241);
    margin: 10px;
}
    /* gambar */

    .gambar {
        display: grid;
        grid-template-columns: repeat(4, 1fr); 
        gap: 10px;
        padding: 10px;
        align-items: start; 
        justify-content: center;
    }

    .gambar img {
        width: 100%;
        height: 42.21vh;       
        border-radius: 10px;
        object-fit: cover;   
        display: block;
        transition: transform 0.3s ease; /* animasi halus */
    }
    .gambar img:hover {
        transform: scale(1.1);
        box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    }

/* footer */

footer {
    background: #606c75;
    color: white;
    text-align: center;
    padding: 5px;
    position: relative;
    width: 100%;
    height: 50px;
}