* {
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  margin: 0;
  background: #f9fbff;
  color: #333;
}

/* Header */
.kelas-header {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  color: white;
  text-align: center;
  padding: 30px 20px;
}

.kelas-header h1 {
  margin: 0;
  font-size: 2rem;
}

.kelas-header p {
  margin-top: 8px;
  font-size: 1rem;
}

/* Container */
.kelas-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}

/* Bab Card */
.bab-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.2s ease;
}

.bab-card:hover {
  transform: translateY(-5px);
}

.bab-card h2 {
  margin-top: 0;
  font-size: 1.3rem;
}

.bab-card p {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

/* Button */
.btn {
  display: inline-block;
  background: #4facfe;
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: 600;
}

.btn:hover {
  background: #2f8cff;
}

  .header-group p {
    margin: 0;
    font-family: 'The Season', cursive;
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeIn 1s ease-in-out forwards;
    opacity: 0; /* Hidden until animation starts */
  }
    
  .welcome-top {

    font-family: 'Arial', sans-serif;
    font-size: 35px;
    font-weight: bold; /* Bold text */
    color: green; /* Green text */
    text-shadow: 
  -2px -2px 0 #fff, 
   2px -2px 0 #fff, 
  -2px  2px 0 #fff, 
   2px  2px 0 #fff, 
  -2px  0px 0 #fff, 
   2px  0px 0 #fff, 
   0px -2px 0 #fff, 
   0px  2px 0 #fff; /* White outline */
    animation: slideInFromTop 1.5s ease-in-out forwards;
    opacity: 0; /* Hidden until animation starts */
  }
  
  /* "Welcome to" slides in smoothly */
  @keyframes slideInFromTop {
    0% {
      opacity: 0;
      transform: translateY(-20px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
