#slideshow {
  height: 100%;
  max-width: 100%;
  overflow: hidden;
}

img.rounded-md {
  border-radius: 0.375rem;
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

img.rounded-md.active {
  display: block;
}

.nav-link {
  transition: transform 0.3s ease, color 0.3s ease;
}

.nav-link:active {
  transform: scale(0.95);
  color: black;
}

.page-transition-enter {
  opacity: 0;
  transform: translateY(20px);
}

.page-transition-enter-active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s, transform 0.5s;
}

.page-transition-exit {
  opacity: 1;
  transform: translateY(0);
}

.page-transition-exit-active {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s, transform 0.5s;
}

.rounded-image {
  border-radius: 0.5rem;
}

.firstYearSummaryImg {
  border-radius: 8%;
}

.nav-link {
  border-left: 4px solid transparent;
}

.nav-link.active {
  background-color: #e2e8f0;
  color: black;
  font-weight: bold;
  border-left: 4px solid #1d4ed8;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.confetti {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  opacity: 0.9;
  animation: fall 2s linear forwards;
}

/* Different Confetti Shapes */
.square {
  border-radius: 0;
  width: 10px;
  height: 10px;
}

.circle {
  border-radius: 50%;
  width: 12px;
  height: 12px;
}

.triangle {
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 14px solid;
}

/* Confetti Fall Animation */
@keyframes fall {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(600px) rotate(360deg);
    opacity: 0;
  }
}

/* Center Buddy the Bison */
#confettiContainer img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Desktop View Fix */
.desktop-view {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between; /* Ensures content fits well */
  width: 100%;
  max-width: 100vw; /* Prevents excess width */
  height: 100vh;
}

/* Sidebar Fix */
#sidebar {
  position: fixed; /* Make sidebar fixed */
  top: 0;
  left: 70px; /* Adjust for small sidebar */
  flex-shrink: 0; /* Prevents sidebar from shrinking */
  width: 240px; /* Fixed width */
  height: 100vh; /* Full height */
  overflow-y: auto; /* Enable vertical scrolling if needed */
}

/* Main Content Fix */
main {
  margin-left: 310px; /* Adjust margin to account for fixed sidebars */
  flex-grow: 1; /* Allows the main content to take up the remaining space */
  width: calc(100% - 310px); /* Adjust width to account for fixed sidebars */
  overflow: auto;
}

/* Mobile View Fix */
@media screen and (max-width: 768px) {
  .desktop-view {
    display: none !important; /* Hide Desktop on Mobile */
  }

  .mobile-view {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100vh;
    background-color: black;
    color: white;
    font-family: monospace;
    width: 100vw;
    padding: 20px; /* Add spacing */
  }

  .mobile-view h1 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .mobile-view p {
    font-size: 18px;
  }

  .mobile-view input {
    background-color: white;
    color: black;
    font-size: 18px;
    padding: 10px;
    border-radius: 5px;
    border: none;
    text-align: center;
    width: 80%;
    max-width: 300px;
  }

  .mobile-view button {
    background-color: white;
    color: black;
    font-size: 18px;
    padding: 10px;
    border-radius: 5px;
    border: none;
    margin-top: 15px;
    cursor: pointer;
    display: none; /* Initially hidden */
    width: 80%;
    max-width: 300px;
  }

  .mobile-view button:hover {
    background-color: gray;
  }
}
.small_sidebar {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
}
