/* Reset dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Gaya umum */
body {
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Header */
header {
    background: linear-gradient(135deg, #0052cc, #003399);
    color: #fff;
    padding: 20px;
    text-align: center;
    width: 100%;
    height: 20vh;
    position: relative;
    z-index: 1000;  
}

header h1 {
    font-size: 35px;
    font-weight: bold;
    text-align: center;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 10px 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1,0em;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #ffd700;
}

/* Hero section */
.hero {
    background: url('https://source.unsplash.com/1600x900/?school,students') no-repeat center center/cover;
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 20px;
}

.hero h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: black;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5)
}

.hero p {
    font-size: 1.3em;
    color: black;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5)
}

/* Konten utama */
.content {
    padding: 50px 20px;
    text-align: center;
    background: white;
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.content h2 {
    font-size: 2em;
    color: #0052cc;
    margin-bottom: 10px;
}

/* Footer */
footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h2 {
    animation: fadeIn 1.5s ease-in-out;
}

.hero p {
    animation: fadeIn 1.5s ease-in-out;
}

.hero {
    background: url('background.jpg') center/cover fixed;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.navbar {
    position: fixed;
    width: 100%;
    background-color: transparent;
    transition: all 0.3s ease-in-out;
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.8);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

button {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border-radius: 5px;
}

button:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}

.pengurus {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.card {
    width: 250px;
    padding: 15px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
    background: #fff;
}

.card img {
    width: 100%;
    border-radius: 10px;
}

.card h2 {
    margin: 10px 0 5px;
    font-size: 20px;
}

.card p {
    font-size: 16px;
    color: #555;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

header {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 20px 0;
}

section {
    padding: 20px;
    margin: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #2c3e50;
}

footer {
    text-align: center;
    padding: 10px;
    background: #2c3e50;
    color: white;
    position: relative;
    bottom: 0;
    width: 100%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f4f4f4;
    text-align: center;
}

header {
    background: #007bff;
    color: white;
    padding: 20px;
    font-size: 24px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1000px;
    margin: auto;
}

.grid-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.grid-item img {
    width: 100%;
    border-radius: 5px;
}

.grid-item h3 {
    margin: 10px 0;
    color: #333;
}

.grid-item p {
    color: #666;
}

.grid-item:hover {
    transform: scale(1.05);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

th {
    background-color: #007bff;
    color: white;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

#kontak {
    text-align: center;
    padding: 40px;
    background-color: #f9f9f9;
}

form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

input, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background-color: #0056b3;
}

header {
    background-color: #007bff;
    color: white;
    text-align: center;
    padding: 15px;
}

header h1 {
    margin: 0;
    font-size: 24px;
}

nav {
    margin-top: 10px;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}