* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Make sure body takes full height */
}

header {
  text-align: center;
  padding: 0.5em 1em;
  background-color: #ffffff;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

header h1 {
  font-size: 3em;
  color: #333;
  margin-bottom: 0.5em;
}

header p {
  font-size: 1.25em;
  color: #666;
}

.main-layout {
  display: flex;
  flex-direction: row; /* Use row layout for main layout */
  flex-grow: 1; /* Make main layout grow to fill available space */
}

main {
  padding: 2em 1em;
  width: calc(100% - 250px); /* Subtract the sidebar width */
  margin-left: 250px; /* Offset to make room for the sidebar */
}

.sidebar {
  position: fixed;
  width: 250px;
  background-color: #222;
  color: white;
  padding: 20px;
  box-shadow: 3px 0 10px rgba(0, 0, 0, 0.1);
  top: 70px;
  left: 0;
  height: calc(100vh - 70px);
  overflow-y: auto;
  z-index: 10;
}

.sidebar ul {
  list-style: none;
}

.sidebar ul li {
  margin: 15px 0;
  margin-left: 10px;
}

.sidebar ul li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
}

.sidebar ul li a:hover {
  text-decoration: underline;
}

ul {
  list-style-type: none;
  padding-left: 0;
}

.ll {
  font-size: 17px;
}

section {
  padding: 2em 1em;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 2em;
}

section h2 {
  font-size: 2em;
  color: #333;
  margin-bottom: 0.75em;
}

section p {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 1em;
}

.gallery {
  display: flex;
  gap: 1em;
  justify-content: center;
}

.gallery img {
  width: 30%;
  border-radius: 8px;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.gallery img:hover {
  transform: scale(1.05);
}

#explore img:hover {
  transform: scale(1.05);
}

.play-button {
  display: inline-block;
  padding: 0.75em 1.5em;
  color: #fff;
  background-color: #0066cc;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  margin-top: 1.5em;
}

.play-button:hover {
  background-color: #004b99;
}

.cursor {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  pointer-events: none;
  transition: transform 0.1s ease-in-out;
  transform: translate(-50%, -50%);
}

@media (max-width: 768px) {
  .sidebar {
    position: relative;
    width: 100%;
    top: 0;
    left: 0;
  }

  main {
    margin-left: 0;
  }

  .gallery img {
    width: 45%;
  }
}

#explore {
  text-align: center;
}

.image-container {
  display: flex;  /* Aligns images in a horizontal row */
  justify-content: center;  /* Centers the images horizontally */
  gap: 20px;  /* Adds space between the images */
}

.image-item {
  text-align: center;  /* Centers the text below each image */
}

.image-item p {
  margin-top: 10px;  /* Adds space between the image and the text */
  font-size: 16px;  /* Adjust text size as needed */
}
