body {
  background-color: #a33fb0;
  position: relative;
  margin-top: 60px;
  font-family: 'Poppins', sans-serif;
}

nav {
  position: fixed; 
  top: 0;
  left: 0;
  width: 100%;
  text-align: left;
  padding: 10px 0;
  z-index: 3; 
  display: flex;
  align-items: center;
}

nav a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
  font-family: 'Poppins', sans-serif;
  transition: transform 0.3s ease, color 0.3s ease; 
}

nav a:hover {
  transform: scale(1.2); 
  color: #C596F6;
}

.home-btn {
  color: white;
  margin-right: 15px;
  text-decoration: none;
  font-weight: 500;
  padding: 10px;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  background-color: rgba(19, 29, 104, 0.5);
  color: white;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  padding: 10px;
  border: none;
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: rgba(47, 74, 149, 0.9);
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  color: white;
  padding: 10px;
  text-decoration: none;
  display: block;
  font-family: 'Poppins', sans-serif;
}

.dropdown-content a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.dropdown:hover .dropdown-content {
  display: block;
}

h1 {
  color: #F3DAFC;
  font-size: 31.5px;
  position: fixed; 
  top: 4%;
  left: 84.5%; 
  margin: 0; 
  text-align: right;
  z-index: 2; 
}

h2 {
  color: #F3DAFC;
  font-size: 65px;
  position: fixed;
  top: 7%; 
  left: 84.5%; 
  margin: 0; 
  text-align: right;
  z-index: 2; 
}

h3 {
  color: #F3DAFC;
  font-size: 75px;
  position: fixed;
  top: 6%; 
  left: 1.5%; 
  margin: 0; 
  text-align: left;
  z-index: 2; */
}

p {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #F3DAFC;
  margin-left: 22px;
  margin-top: 300px;
  text-align: left;
}

p1 {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  color: white;
  margin-left: 90px;
  margin-top: 200px;
  text-align: left;
}


/* Binder Container */
.binder-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
}

/* Closed Binder Image */
#closedBinder {
  max-width: 50vw;
  max-height: 80vh;
  cursor: pointer;
  object-fit: contain;
  margin-right: 500px;
  margin-top: -110px;
}

/* Open Binder Container */
#openBinderContainer {
  display: none;
  position: absolute;
  top: 43%;
  left: 50%;
  transform: translate(-60%, -50%);
  width: 80vw;
  height: auto;
  max-height: 80vh;
}

/* Open Binder Image */
#openBinderContainer .binder-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Additional Images (Photos) */
.binder-photo {
  position: absolute;
  width: 15%;
}

/* Reset Button */
.reset-button {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 15px;
  font-size: 16px;
  cursor: pointer;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
}

.reset-button:hover {
  background-color: #0056b3;
}

/* Carousel container */
.carousel {
  display: none; /* Initially hidden */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw; /* Increase width to make images larger */
  height: 80vh; /* Increase height */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Optionally, change to 'visible' if cutting is an issue */
}

/* Carousel photos */
.carousel-photo {
  width: 48%; /* Fit width of the container */
  height: auto; /* Maintain aspect ratio */
  max-width: 100%; /* Adjust max width as needed to reduce cropping */
  object-fit: contain; /* Keep the whole image in view */
  animation: slide 3s infinite;
  opacity: 0;
  position: absolute;
}

/* Keyframes for infinite carousel */
@keyframes slide {
  0% { opacity: 0; }
  10% { opacity: 1; }
  30% { opacity: 1; }
  40% { opacity: 0; }
  100% { opacity: 0; }
}

/* Animation delay for each photo */
.carousel-photo:nth-child(1) { animation-delay: 0s; }
.carousel-photo:nth-child(2) { animation-delay: 1s; }
.carousel-photo:nth-child(3) { animation-delay: 2s; }