@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Playfair+Display:wght@600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "DM Sans", sans-serif;
    background: linear-gradient(180deg, #f5f8f6, #eef7f2, #ffffff);
    color: #555;
    min-height: 100vh;
}

/* Container utama */
.sejarah-container {
    width: 88%;
    max-width: 700px;
    margin: 30px auto 40px;
}

/* Kotak sejarah */
.sejarah-text {
    background: #ffffff;
    padding: 20px 23px;
    border-radius: 12px;
    border: 1px solid #e2eee8;
    box-shadow: 0 5px 15px rgba(25, 60, 45, 0.07);

    font-size: 12px;
    line-height: 1.8;
    text-align: justify;
    color: #5f6f68;
}

/* Judul otomatis */
.sejarah-text::before {
    content: "Sejarah Desa Oelomin";
    display: block;

    font-family: "Playfair Display", serif;
    font-size: 21px;
    font-weight: 700;
    color: #087443;

    padding-bottom: 8px;
    margin-bottom: 13px;

    border-bottom: 2px solid #ffd54f;
}

/* Jika data kosong */
.data-kosong {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    text-align: center;

    font-size: 12px;
    color: #7b8c85;

    box-shadow: 0 5px 15px rgba(25, 60, 45, 0.06);
}

/* Tombol kembali */
.btn-kembali {
    display: inline-flex;
    align-items: center;

    margin-top: 14px;
    padding: 8px 13px;

    background: #e8f5ec;
    color: #087443;

    border-radius: 7px;
    text-decoration: none;

    font-size: 11px;
    font-weight: 600;

    transition: 0.2s ease;
}

.btn-kembali:hover {
    background: #087443;
    color: #ffffff;
}

/* Tampilan HP */
@media (max-width: 600px) {

    .sejarah-container {
        width: 92%;
        margin-top: 20px;
    }

    .sejarah-text {
        padding: 17px;
        font-size: 11px;
        line-height: 1.7;
    }

    .sejarah-text::before {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .btn-kembali {
        font-size: 10px;
        padding: 7px 11px;
    }
}