/* Menggunakan unit relatif (vh/vw) untuk ukuran gambar */
* {
    font-family: "Noto Sans", sans-serif;
}

/* --- STYLING RESPONSIVE UNTUK KONTEN UTAMA --- */
#batas-konten {
    margin-left: 10%; /* Default untuk layar yang lebih kecil */
    margin-right: 10%; /* Default untuk layar yang lebih kecil */
    padding-top: 7dvh;
}

/* Styling Navbar agar memiliki batas yang sama dengan konten utama */
#batas-nav {
    margin-left: 10%;
    margin-right: 10%;
}

#foto {
    height: 20vw; /* Ukuran relatif terhadap viewport width */
    width: 20vw;
    max-height: 150px; /* Batasan maksimum agar tidak terlalu besar di desktop */
    max-width: 150px;
    border-radius: 50%;
}

/* Ukuran gambar link diperkecil dan dibuat responsif */
.img-link {
    height: 20vw; /* Lebih besar di mobile */
    max-height: 100px; /* Batasan maksimum di desktop */
    width: auto;
    border-radius: 5px;
    margin-bottom: 5px; /* Tambahkan sedikit jarak di bawah gambar */
}

/* --- MEDIA QUERY UNTUK LAYAR DESKTOP/LAPTOP (min-width: 1440px) --- */
@media (min-width: 1440px) {
    #batas-konten, #batas-nav {
        margin-left: 30%; /* Kembali ke lebar 30% di layar besar */
        margin-right: 30%;
    }

    #foto {
        height: 10vw;
        width: 10vw;
    }

    .img-link {
        height: 10vw;
    }
}

p {
    text-align: justify;
}

#footer-link {
    color: #ffffff;
    text-decoration: none;
}

.certificate-thumbnail {
    height: auto;
    width: 10rem;
    object-fit: contain;
}

.btn-modern{
    padding: 7px;
    text-decoration: none;
    color: black;
    border-radius: 5px;
    border: 2px solid black;
}

.btn-modern:hover{
    padding: 7px;
    text-decoration: none;
    color: white;
    background-color: black;
    border-radius: 5px;
    border: 2px solid black;
}

.certificate-info p{
    font-weight: 300;
    text-align:start;
    width: 20rem;
}

#isi-sertifikat{
    margin-left: 20px;
    margin-right: 20px;
}

#more-certificates {
    /* Aturan untuk menyembunyikan konten */
    display: none; 
    /* Transisi opsional untuk tampilan yang lebih mulus (smooth) */
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* CSS untuk menampilkan saat diaktifkan oleh JS */
#more-certificates.expanded {
    display: block; 
    opacity: 1;
}

.carousel-inner h6, .carousel-inner p, .carousel-inner a{
    text-align: center;
}

.carousel-inner h6{
    font-size: large;
    font-weight: bold;
}

.carousel-inner span{
    text-decoration:underline;
}