/* Reset browser defaults */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body styles */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, "Noto Sans", sans-serif,
               "Apple Color Emoji", "Segoe UI Emoji";
  background: #fff;
  color: #24292f;
  margin: 0;
  padding: 32px 16px;
  line-height: 1.6;
}

/* Main container */
.container {
  max-width: 820px;
  margin: 0 auto;
}

/* Headings */
h1, h2, h3 {
  color: #24292f;
  margin-bottom: 12px;
}
/* Navigation bar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0 24px;
  border-bottom: 1px solid #d0d7de;
  margin-bottom: 24px;
}

.navbar a {
  text-decoration: none;
  color: #0969da;
  font-weight: 500;
  margin-left: 16px;
}

.navbar a:hover {
  text-decoration: underline;
}

/* Buttons */
.button {
  display: inline-block;
  background-color: #0969da;
  color: #fff;
  font-size: 15px;
  padding: 8px 14px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.button:hover {
  background-color: #0550ae;
}

/* Article previews */
.kad-catatan {
  border: 1px solid #d0d7de;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 16px;
  transition: box-shadow 0.2s ease;
}

.kad-catatan:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.kad-catatan h2 {
  margin-bottom: 8px;
  font-size: 20px;
}

.kad-catatan a {
  color: #0969da;
  text-decoration: none;
}

.kad-catatan a:hover {
  text-decoration: underline;
}

.kad-catatan .snippet {
  color: #484f58;
  margin-bottom: 8px;
}

.kad-catatan .tags {
  font-size: 13px;
  color: #57606a;
}

/* Footer */
footer {
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid #d0d7de;
  font-size: 14px;
  color: #6e7781;
  text-align: center;
}
/* === Hero Section === */
.hero-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 80vh; /* Takes 80% of the screen height */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  border-radius: 12px;
  overflow: hidden;
  margin: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Dark overlay for better text readability */
.hero-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.45); /* Adjustable darkness */
  z-index: 1;
}

/* Text Styling */
.hero-text {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 20px;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
}

/* Call-to-action button */
.hero-text button {
  background-color: #00897b;
  color: white;
  padding: 12px 24px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.hero-text button:hover {
  background-color: #00695c;
  transform: scale(1.05);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-image {
    height: 60vh;
  }
  .hero-text h1 {
    font-size: 2rem;
  }
  .hero-text p {
    font-size: 1rem;
  }
  .hero-text button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* Main Logo */
.logo-img {
  width: 80px;      /* Adjust this size as you like */
  height: auto;     /* Keeps aspect ratio */
}

/* Footer Emoji-Sized Logos */
.emoji-size {
  width: 24px;      /* Small emoji-like size */
  height: 24px;     /* Force them to be square */
  vertical-align: middle; /* Align nicely with text */
  margin-right: 6px;      /* Small gap between logo and text */
}

/* Navbar Container */
nav {
  text-align: center;
  margin: 20px 0;
}

/* Navbar List */
nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Navbar Items Inline */
nav ul li {
  display: inline-block;
  margin: 0 10px;
}

/* Style Navbar Links Like Button */
nav ul li a {
  background-color: #4CAF50; /* Same green as hero button */
  color: white;
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-size: 16px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Hover & Focus Effect */
nav ul li a:hover,
nav ul li a:focus {
  background-color: #45a049; /* Slightly darker green on hover */
  transform: scale(1.05);
}

.hero-text button {
  background-color: #4CAF50;
  color: white;
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.hero-text button:hover {
  background-color: #45a049;
  transform: scale(1.05);
}

.kanan{
  margin: 20px;
  text-align: center;
  background-color: #98fb98;
}

@font-face {
  font-family: 'Nasakh';
  src: url(https://raw.githubusercontent.com/mustafa0x/qpc-fonts/f93bf5f3/various-woff2/UthmanTN1%20Ver10.woff2);
}

.nasakh{
  font-family: "Nasakh";
  font-size: 50px;
}

.gambar{
  width: 800px;
}