/* General styles */
header,
footer {
  background-color: grey;
  color: white;
  padding: 20px;
  text-align: center;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f0f4f8;
  color: #333;
  margin: 0;
  padding: 0;
  text-align: center;
  cursor: url("https://samay-raina.netlify.app/assets/img/respectable-ghoda.png"),
    auto;
}

#title {
  font-size: 2.5em;
  margin-bottom: 20px;
}

#img-div {
  margin: 20px auto;
  max-width: 800px;
}

#image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto; /* centers horizontally */
  border-radius: 3px;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

#image:hover {
  filter: grayscale(0%);
  cursor: url("https://samay-raina.netlify.app/assets/img/respectable-ghoda-hover.png"),
    auto;
}

#image2 {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
}

#img-caption {
  margin-top: 10px;
  font-style: italic;
  color: #555;
}

/*Slider*/
.slider-wrapper {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  overflow: hidden;
}

.slider {
  display: flex;
  transition: transform 0.5s ease;
}

.slider img {
  min-width: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
  filter: grayscale(100%);
}

.slider-img:hover {
  filter: grayscale(0%);
  border-radius: 0.5rem;
  cursor: url("https://samay-raina.netlify.app/assets/img/respectable-ghoda-hover.png"),
    auto;
}

.slider-nav {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.slider-nav a {
  display: block;
  width: 10px;
  height: 10px;
  background-color: white;
  border-radius: 50%;
  opacity: 0.7;
}

.slider-nav a:hover {
  opacity: 1;
}

samay {
  display: flex;
  font-size: 125%;
  font-style: oblique;
  text-align: justify;
  transition: color 0.3s ease-in-out;
}

#timeline {
  margin-top: 40px;
  font-size: 1.2em;
  line-height: 1.6em;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
}

#timeline h2 {
  margin-bottom: 20px;
}

#timeline ul {
  list-style-type: none;
  padding: 0;
  text-align: left;
}

#timeline ul li {
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
  color: #333;
}

#timeline ul li strong {
  font-weight: bold;
}

#tribute-info,
#timeline,
samay {
  max-width: 800px;
  margin: 40px auto;
  font-size: 1.2em;
  line-height: 1.6em;
  text-align: justify;
  color: #333;
  background-color: #f0f4f8;
  border-radius: 10px;
}

#tribute-info,
#timeline {
  padding: 20px;
}
#tribute-info h2,
#timeline h2 {
  margin-bottom: 20px;
  text-align: center;
  font-size: 2em;
}

samay {
  font-style: oblique;
  display: block;
  transition: color 0.3s ease-in-out;
}

#timeline ul {
  list-style-type: none;
  padding: 0;
}

#timeline ul li {
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}

#timeline ul li strong {
  font-weight: bold;
}

#tribute-link {
  display: inline-block;
  font-size: 1em;
  text-decoration: none;
  color: #333;
}

#tribute-link2 {
  display: inline-block;
  margin-top: 30px;
  font-size: 1.5em;
  text-decoration: none;
  color: #333;
}

#tribute-link:hover {
  text-decoration: underline;
}

#tribute-link2:hover {
  color: white;
}

footer {
  padding: 20px;
  text-align: center;
}

.socials {
  margin-bottom: 10px;
}

.socials a {
  font-size: 1.5rem;
  margin: 0 10px;
  text-decoration: none;
  transition: color 0.3s ease;
}



#bm-logo {
  width: 2.5em;
  height: 2.5em;
  object-fit: contain;
  vertical-align: middle;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

#bm-logo:hover {
  filter: grayscale(0%);
}
