/* Reset some basic styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body, h1, form {
    margin: 0;
    padding: 0;
}

.login-container {
    background-color: #ddd;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
}
/* CSS untuk memberi jarak pada logo */
.navbar img {
    margin-right: 15px; /* Atur jarak sesuai kebutuhan */
    vertical-align: middle; /* Untuk menyelaraskan logo dengan teks */
}

.login-container h1 {
    margin-bottom: 20px;
    color: #333;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    position: absolute;
    top: 0;
    width: 100%;
    padding: 1rem 0;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
}

header .logo {
    font-size: 1.5rem;
    margin-left: 1rem;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

header nav ul li a:hover {
    color: #ffdd57;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('images/profil.jpg') no-repeat center center/cover;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4); /* Overlay */
}
.user {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Agar memenuhi tinggi layar */
    text-align: center; /* Teks rata tengah */
    background-color: #f0f0f0; /* Latar belakang contoh */
}

.user h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.user p {
    font-size: 18px;
    color: #333;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero .btn {
    background: #ff5e57;
    color: #fff;
    padding: 0.8rem 2rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

.hero .btn:hover {
    background: #ff3d2e;
}

/* Features Section */
.features {
    padding: 3rem 0;
    background: #f9f9f9;
    text-align: center;
}

.features h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.feature-list {
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    flex-wrap: wrap;
}

.feature-item {
    flex: 1 1 30%;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.feature-item h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
}
