/* Base styles */
.quote-slider {
  width: 100%;
  height: auto;
  margin: 0 auto;
  overflow: hidden;
}

.quote-list {
  width: 100%;
  height: 100%;
  list-style-type: none;
  display: block;
  padding: 0;
  margin: 0;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
}

.quote-item {
  text-align: center;
  padding: 10px;
    border: none;
  animation: reset-slide-up 0s ease forwards; /* Start with the slider reset */
  animation: slide-up 10s linear infinite; /* Adjust the animation timing */
}


/* Media query for responsiveness */
@media (max-width: 768px) {
  .quote-slider {
    max-width: 100%; /* Adjust max-width as needed */
  }
}

/* Animation */
@keyframes reset-slide-up {
  0% {
    transform: translateY(0); /* Reset the slider to its original position */
  }
  100% {
    transform: translateY(0); /* Ensure it stays at the original position */
  }
}

/* Animation */
@keyframes slide-up {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(calc(-100% + 20px)); /* Adjust the value (+20px) to account for element's height or margin */
  }
}

.slider-container {
    width: 100%;
    height: auto;
    margin: 0 auto 20px;
    border: 1px solid #ccc;
    overflow: hidden;
    text-align: center;
    direction: rtl; /* اتجاه النص من اليمين لليسار */
}

.slider-container .slider-controls {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background-color: #f5f5f5;
}

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

.slide {
    box-sizing: border-box;
    padding: 20px;
    text-align: center;
    display: none;
}

.slide.active {
    display: block;
}

.slider-nav {
    padding: 5px 10px;
    border: none;
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
    border-radius: 3px;
    margin: 0 5px; /* تباعد بين الأزرار */
}

/* Media Query for Small Devices */
  @media (max-width: 768px) {
    .slider-container {
        width: 100%;
        margin: 0 auto;
    }

    .slider-container .slider-controls {
        height: auto;
        flex-wrap: wrap;
    }

    .slider-nav {
        margin: 5px;
    }
}

#videoList {
    list-style: none;
    padding: 0;
}

#videoList li {
    margin-bottom: 10px;
}

#videoPlayerContainer {
    margin-top: 20px;
}

video {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 0 auto;
    display: block;
}

.link-group {
    margin-bottom: 20px;
}

.notification-link,
.profile-link,
.logout-link {
    display: block;
    text-decoration: none;
    color: #333;
    margin-bottom: 5px;
}

.notification-link:hover,
.profile-link:hover,
.logout-link:hover {
    color: #555;
}
