/* Default layout for screens larger than 800px */
.andalan_surat {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: flex-start;
}

.keahlian_sertifikat ul {
    list-style: none;
    padding: 0;
}

.keahlian_sertifikat ul li {
    cursor: pointer;
    position: relative;
    padding: 6px 12px 6px 30px;
    margin-bottom: 10px;
    background-color: cadetblue;
    border-radius: 4px;
    transition: background-color 0.6s ease, color 0.6s ease, box-shadow 0.6s ease, transform 0.6s ease;
}

.keahlian_sertifikat ul li::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 50%;
    width: 8px;
    height: 8px;
    border: 2px solid rgba(255, 255, 255, 0.75);
    border-radius: 50%;
    transform: translateY(-50%) scale(0.7);
    opacity: 0.45;
    transition: background-color 0.6s ease, border-color 0.6s ease, box-shadow 0.6s ease, opacity 0.6s ease, transform 0.6s ease;
}

.gelap .keahlian_sertifikat ul li {
    background-color: teal;
}

.keahlian_sertifikat ul li:hover {
    background-color: darkseagreen;
}

.gelap .keahlian_sertifikat ul li:hover {
    background-color: darkorange;
}

.slides img.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    transform: translateY(0);
    transition: opacity 0.9s ease, transform 0.9s ease;
    pointer-events: auto;
}

.slide-container {
    height: 255px; /* Batasi tinggi agar efek scroll terlihat */
    overflow: hidden;
    position: relative;
    width: 100%;
    z-index: 9;
}

.slides {
    position: relative;
    width: 100%;
}

.slides img {
    display: block;
    width: 100%;
    height: auto;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(8px);
    transition: opacity 0.9s ease, transform 0.9s ease, visibility 0s linear 0.9s;
    pointer-events: none;
}

.keahlian_sertifikat ul li.active {
    font-weight: bold;
    color: black; /* Warna untuk menandai item yang aktif */
    background-color: darkseagreen;
    box-shadow: inset 4px 0 0 mediumvioletred, 0px 0px 8px rgba(199, 21, 133, 0.45);
    transform: translateX(4px);
}

.keahlian_sertifikat ul li.active::before {
    background-color: mediumvioletred;
    border-color: white;
    box-shadow: 0px 0px 8px mediumvioletred;
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.gelap .keahlian_sertifikat ul li.active {
    font-weight: bold;
    color: white; /* Warna untuk menandai item yang aktif */
    background-color: darkorange;
    box-shadow: inset 4px 0 0 #ffca28, 0px 0px 8px rgba(255, 202, 40, 0.55);
}

.gelap .keahlian_sertifikat ul li.active::before {
    background-color: #ffca28;
    border-color: white;
    box-shadow: 0px 0px 8px #ffca28;
}

.keahlian_sertifikat ul {
    white-space: nowrap;
    /* word-wrap: normal;
    overflow: visible; */
    /* properti word-wrap atau properti overflow-wrap */
}

/* Responsive layout for screens smaller than 800px */
@media screen and (max-width: 800px) {
    .andalan_surat {
        flex-direction: column;
        align-items: center;
    }

    .gambar_sertifikat, .keahlian_sertifikat {
        width: 100%;
    }
}
