
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f5f7fa;
    color: #222;
}



header {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: white;
    text-align: center;
    padding: 50px 20px;
}

header h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

header p {
    font-size: 18px;
}




nav {
    background-color: white;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);

    position: sticky;
    top: 0;
    z-index: 100;
}

nav a {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: bold;
    margin: 0 15px;
    transition: color 0.3s;
}

nav a:hover {
    color: #2563eb;
}


/* =========================
   MAIN
========================= */

main {
    max-width: 900px;
    margin: 30px auto;
    padding: 0 20px;
}




section {
    background-color: white;
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

section h2 {
    color: #1e3a8a;
    font-size: 25px;
    margin-bottom: 20px;
    border-bottom: 2px solid #2563eb;
    padding-bottom: 8px;
}

section h3 {
    color: #2563eb;
    margin-top: 20px;
    margin-bottom: 10px;
}




.foto-profil {
    display: block;
    width: 180px;
    height: 220px;
    object-fit: cover;

    border-radius: 12px;

    margin: 0 auto 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}


section p {
    margin-bottom: 12px;
}




ul {
    margin-left: 25px;
}

li {
    margin-bottom: 7px;
}


table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    overflow: hidden;
}

caption {
    caption-side: top;
    text-align: left;
    font-weight: bold;
    margin-bottom: 10px;
}

th,
td {
    border: 1px solid #d1d5db;
    padding: 12px;
    text-align: left;
}

th {
    background-color: #1e3a8a;
    color: white;
}

tbody tr:nth-child(even) {
    background-color: #f1f5f9;
}

tbody tr:hover {
    background-color: #e0e7ff;
}



a {
    color: #2563eb;
}

#kontak a {
    font-weight: bold;
    text-decoration: none;
}

#kontak a:hover {
    text-decoration: underline;
}




footer {
    background-color: #1e293b;
    color: white;
    text-align: center;
    padding: 25px 20px;
    margin-top: 40px;
}

footer p {
    margin: 0;
}




@media (max-width: 600px) {

    header {
        padding: 40px 15px;
    }

    header h1 {
        font-size: 25px;
    }

    header p {
        font-size: 16px;
    }

    nav a {
        display: inline-block;
        margin: 5px 8px;
        font-size: 14px;
    }

    main {
        padding: 0 12px;
    }

    section {
        padding: 20px;
    }

    section h2 {
        font-size: 22px;
    }

    .foto-profil {
        width: 140px;
        height: 140px;
    }

    table {
        font-size: 14px;
    }

    th,
    td {
        padding: 8px;
    }
}