/* General Styling */
body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
}

/* Header Styling */
header {
    background-color: #2c3e50;
    color: #fff;
    padding: 20px 0;
    border-bottom: 4px solid #27ae60;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    margin: 0;
    font-size: 24px;
    color: white;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

header nav ul li a:hover {
    text-decoration: underline;
}

/* Main Content */
h1 {
    text-align: center;
    margin-top: 20px;
    color: #2c3e50;
}

a {
    text-decoration: none;
}

a.btn {
    display: inline-block;
    background: #27ae60;
    color: #fff;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s ease;
}

a.btn:hover {
    background: #2ecc71;
}

/* Table Styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table th, table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

table th {
    background-color: #f4f4f4;
    color: #333;
    font-weight: bold;
}

table tr:nth-child(even) {
    background-color: #f9f9f9;
}

table tr:hover {
    background-color: #f1f1f1;
}

/* Footer Styling */
footer {
    text-align: center;
    padding: 10px 0;
    background-color: #2c3e50;
    color: #fff;
    margin-top: 20px;
}

/* General Form Styling */
form {
    width: 50%;
    margin: 20px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

form label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #333;
}

form input[type="text"],
form input[type="number"],
form input[type="date"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

form input[type="text"]:focus,
form input[type="number"]:focus,
form input[type="date"]:focus {
    border-color: #27ae60;
    outline: none;
    box-shadow: 0 0 5px rgba(39, 174, 96, 0.5);
}

form button {
    display: block;
    width: 100%;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    background-color: #27ae60;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #2ecc71;
}

/* Form Header */
.hform {
    text-align: center;
    margin-bottom: 20px;
    color: #2c3e50;
}

/* Styling untuk tombol Kembali */
a.kembali-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #3498db;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

a.kembali-btn:hover {
    background-color: #2980b9;
}

.isi-isi {
    width: auto;
    margin: 20px auto;
    padding: 30px;
    background-color: #f9f9f9;
}

/* Styling untuk Slider */
.slider-container {
    width: 100%;
    max-width: 800px; /* Ukuran maksimal slider */
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out; /* Animasi pergeseran gambar */
}

.slide {
    width: 100%;
    height: 100%;  /* Pastikan gambar mengisi seluruh tinggi container */
    object-fit: cover; /* Menjaga rasio gambar agar tidak terdistorsi */
}

/* Tombol navigasi */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 18px;
    padding: 10px;
    cursor: pointer;
    z-index: 100;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Menambahkan efek animasi untuk pergeseran */
@keyframes slideAnimation {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}


