/* Custom styles */

body {
  background: url('madina2.JPG');
  background-size: cover; /* Ensures the image covers the entire background */
  background-position: center; /* Centers the background image */
  background-attachment: fixed; /* Makes the background image fixed during scrolling */
}


.navbar {
  background-color: #00BFFF; /* Change the background color to something visible */
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar1 {
  background-color: #f8f9fa;
}

.navbar-nav {
  justify-content: space-between;
  width: 100%;
}

.nav-item {
  padding: 10px 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.icon {
  font-size: 24px;
  color: white;
}

.text {
  font-size: 14px;
  color: white;
}

.bottom-navbar {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #00BFFF;
}

@media (max-width: 767px) {
  .navbar-nav {
    flex-direction: row; /* Display links horizontally on smaller screens */
  }
  .nav-item {
    padding: 10px 0;
  }
}

/* Grid View */
.grid-view .grid-item {
  float: left;
  width: 50%;
  box-sizing: border-box;
  padding: 10px;
}

.grid-view .grid-item img {
  width: 100%;
  height: auto;
}

/* List View */
.list-view .list-item {
  padding: 10px;
}

@keyframes borderRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.paused {
  animation-play-state: paused;
}

.cd-container {
  width: 133px;
  height: 133px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  margin-top: 50px;
  position: relative;
}

.cd-container::before,
.cd-container::after {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 5px solid transparent;
  border-radius: 50%;
}

.cd-container::before {
  border-top-color: deepskyblue;
  animation: borderRotate 5s linear infinite;
}

.cd-container::after {
  border-top-color: white;
  animation: borderRotate 3s linear infinite;
}

.cd {
  width: 80%;
  height: 80%;
  background-color: blue;
  border-radius: 50%;
}

.control-btns {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.control-btns button {
  border-radius: 50%;
  font-size: 24px;
  width: 50px;
  height: 50px;
  background-image: linear-gradient(to bottom, deepskyblue, blue);
}

#playPauseBtn {
  width: 80px;
  height: 80px;
  font-size: 32px;
  border-radius: 50px;
}

#prevBtn {
  margin-right: 10px;
}

#nextBtn {
  margin-left: 10px;
}

.btn-group {
  display: flex;
  align-items: center;
}

.progress-container {
  margin-top: 20px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.progress {
  height: 10px;
  border-radius: 5px;
  overflow: hidden;
  background-color: #ddd;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(to right, deepskyblue, blue);
}

.progress-container input[type="range"] {
  width: 100%;
  outline: none;
  appearance: none;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
}

.progress-container input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #007bff;
  cursor: pointer;
  position: relative;
  top: -15px; /* Adjust the position */
}

.progress-container input[type="range"]::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #007bff;
  cursor: pointer;
}

.info-container {
  margin-top: 20px;
}

.rounded-image {
  border-radius: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
