/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* Header */
.header {
  text-align: center;
  padding: 30px 20px;
  background-color: rgb(51, 134, 169);
  color: white;
}

.header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.header p {
  font-size: 1.1rem;
  opacity: 0.9;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
}
.nav-links {
    display: flex;
    gap: 20px; /* space between About, Learn, Wiki */
    list-style: none;
}


.nav-links a {
    text-decoration: none;
    color: black;
    font-weight: 500;
}


.nav-links a:hover {
    color: #1e90ff;
    font-weight: 600;
}

/* Body */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #a6adbe; /* dark background */
  color: white;
}

/* Category */
.category {
  margin: 20px;
}

.category h2 {
  margin-bottom: 10px;
}

/* Horizontal Scroll Row */
.row {
  display: flex;
  overflow-x: auto;
  gap: 15px;
  padding-bottom: 10px;
}

/* Hide scrollbar (optional clean look) */
.row::-webkit-scrollbar {
  display: none;
}

/* Video Cards */
.card {
  min-width: 180px;
  text-decoration: none;
  color: white;
  transition: transform 0.2s;
}

.card img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 10px;
}

.card p {
  font-size: 0.9rem;
  margin-top: 5px;
}

/* Hover effect */
.card:hover {
  transform: scale(1.08);
}