/* ضبط تصميم شريط التنقل */
.navbar {
  font-family:"Limelight", sans-serif;
  display: flex;
  justify-content: center;
  background-color: #137995b0;
  flex-wrap: wrap;}

.nav-list {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.navbar li {
  position: relative;
  list-style: none;
  flex-wrap: wrap
}

.navbar a {
  display: block;
  padding: 16px;
  color: rgba(249, 249, 249, 0.864);
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.navbar a:hover {
  background-color: #2b2b2b;
}

/* القوائم الفرعية */
.navbar ul ul {
  display: none;
  position: absolute;
  top: 100%;
  background-color: #444444;
  min-width: 180px;
  z-index: 999;
  flex-direction: column;
}

.navbar li:hover > ul {
  display: flex;
}

/* زر تسجيل الدخول */
.login-button a {
  background-color: white;
  color: #515151;
  padding: 10px 16px;
  margin-left: 10px;
  border-radius: 5px;
  font-weight: bold;
  transition: 0.3s;
}

.login-button a:hover {
  background-color: #ffffffcc;
  color: #dbdddd;
}

 /* Banner styles */
    .banner {
      position: relative;
      width: 100%;
      height: 400px; /* adjust height as needed */
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      text-align: center;
    }

    /* Video styling */
    .banner video {
      position: absolute;
      top: 50%;
      left: 50%;
      min-width: 100%;
      min-height: 100%;
      width: auto;
      height: auto;
      transform: translate(-50%, -50%);
      z-index: 1;
      object-fit: cover;
    }

    /* Title text on top of video */
.willkommen{ position: relative;
      z-index: 2;
      font-size: 2em;
      font-weight: bold;
      text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
      padding: 0 20px;
      color: #0292bac2;
text-align: center;
font-family: 'Ruwudu', serif;
padding: 0;
margin: 0;
}


 .cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

.card {
  background: #ffffff;
  background-image: linear-gradient(rgb(192 192 192 / 32%),rgba(173, 216, 230, 0.547)); background-repeat: none;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.card div {
  padding: 1.5rem;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 4px solid #070707;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #333;
  font-family: "Delius Swash Caps", cursive;
    text-align: center;

}

.card h5 {
  font-size: 1.1rem;
  color: #0292ba;
  margin-bottom: 1rem;
  font-family:"Limelight", sans-serif;
}

.card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  font-family: "Delius Swash Caps", cursive;
}

.card a {
  display: inline-block;
background-color: #444444;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  box-shadow: 2px 4px 20px 3px rgb(178 178 178);
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.card a:hover {
  background-color: #2b2b2b;
}




.banner {
  background-image: url('img/43044787-kontinuierlich-einer-linie-zeichnung-das-kinder-steigen-treppe-von-bucher-lesen-erhoht-sich-wissen-welche-konnen-erhohen-ansteigen-das-wurde-von-ein-besser-leben-buch-festival-konzept-single-linie-design-illustration-vektor.jpg'); /* ضع رابط الصورة هنا */
  background-size: cover;
  background-position: center;
  padding: 60px 20px;
  text-align: center;
  color: white;
  position: relative;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

.banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4); /* تعتيم فوق الصورة */
  border-radius: 10px;
}

.banner-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: auto;
}

.banner h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.banner p {
  font-size: 18px;
  margin-bottom: 20px;
}

.banner-btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #FFD700; /* لون ذهبي */
  color: black;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
}

.banner-btn:hover {
  background-color: #e6c200;
}
