body {
    box-sizing: border-box;
    color: #636778; /* Mengubah warna teks utama menjadi hitam */
    margin: 0px;
    padding: 0px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.65;
    font-style: normal;
    color: #636778;
    font-family: "Heebo", sans-serif;
    background-color: #ffffff;
    text-rendering: optimizelegibility;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

.history-section {
    padding: 80px 0;
    text-align: center;
}

.history-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center; /* Posisikan konten di tengah */
}

.history-title {
    font-size: 30px;
    font-weight: bold;
    color: #636778; /* Mengubah warna judul menjadi hitam */
    margin-bottom: 30px;
    text-align: center; /* Posisikan judul di tengah */
}

.history-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    width: 80%;
    display: flex;
    flex-wrap: wrap; /* Memastikan wrap ke baris baru */
    justify-content: space-between; /* Mengatur ruang antara elemen */
    position: relative;
    margin: 0 auto; /* Memastikan elemen berada di tengah */
}

.history-list-item {
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    position: relative;
    width: calc(50% - 10px); /* Mengatur lebar elemen */
    box-sizing: border-box;
}

.history-list-item.show {
    opacity: 1;
    transform: translateY(0);
}

.history-year {
    font-size: 24px;
    font-weight: bold;
    color: #636778; /* Mengubah warna tahun menjadi hitam */
}

.history-description {
    font-size: 15px;
    color: #636778; /* Mengubah warna teks menjadi hitam */
    position: relative;
    padding: 20px;
    border: 2px solid #816f6f69; /* Mengubah warna border menjadi hitam */
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1;
    transition: background-color 0.3s ease;
}

.history-description:hover {
    background-color: #007bff;
    color: #fff;
}

.history-description:before {
    content: "";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0; /* Menghapus tanda panah */
    border-color: transparent transparent transparent transparent; /* Mengatur warna border */
    z-index: 0;
}

/* Penyesuaian untuk zig-zag */
.history-list-item:nth-child(odd) {
    margin-bottom: 80px; /* Menambahkan margin bawah untuk elemen ganjil */
}

.history-list-item:nth-child(even) {
    margin-top: 190px; /* Menambahkan margin atas untuk elemen genap */
}

/* Spasi yang lebih terkendali pada perangkat seluler */
@media only screen and (max-width: 600px) {
    .history-content {
        width: 90%; /* Mengurangi lebar konten untuk perangkat seluler */
    }

    .history-list-item {
        width: 100%; /* Mengatur lebar elemen menjadi 100% untuk perangkat seluler */
        margin-bottom: 20px; /* Reset margin bottom untuk perangkat seluler */
    }

    .history-list-item:nth-child(odd) {
        margin-bottom: 40px; /* Menyesuaikan margin bawah untuk elemen ganjil di perangkat seluler */
    }

    .history-list-item:nth-child(even) {
        margin-top: 40px; /* Menambahkan margin atas untuk elemen genap di perangkat seluler */
    }
}