/* General Styles - Default */
body,
html {
  height: 100%;
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: linear-gradient(to bottom right, #6a0572, #282f86, #343541);
  color: #ffffff;
  overflow-x: hidden;
}

/* Navbar and Sidebar - Transparent by default (desktop mode) */
.navbar,
.sidebar {
  background: transparent !important; /* Transparent background */
  border: none;
  box-shadow: none;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  /* Navbar and Sidebar - Solid in mobile view */
  .navbar,
  .sidebar {
    background: linear-gradient(
      to right,
      #6a0572,
      #282f86
    ) !important; /* Same themed gradient background */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Add shadow for depth */
  }

  .sidebar {
    background: linear-gradient(
      to bottom,
      #6a0572,
      #282f86
    ) !important; /* Adjust for sidebar */
  }
}

/* Welcome Heading */
.welcome-heading {
  margin-bottom: 60px;
  font-size: 3rem;
  color: #ffffff;
}

/* Landing Container */
.landing-container {
  min-height: 100vh;
  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  flex-direction: column;
  padding-top: 0; /* Remove padding */
}

/* Landing Main Section Styles - Default */
.landing-main-content {
  width: 100%; /* Adjust width to take full space */
  max-width: 900px; /* Optional: set a maximum width */
  padding: 0;
  color: #ffffff;
  text-align: center;
  margin-top: 50px;
}

/* Larger Text for Landing Main Content */
.landing-main-content .lead {
  font-size: 1.5rem;
  line-height: 1.8;
  color: #ffffff;
}

/* Form Inline */
.form-inline {
  justify-content: center !important;
  margin-top: 20px;
}

/* Adjust for Sidebar presence */
@media (min-width: 768px) {
  .landing-container {
    padding-left: 250px; /* Adjust for sidebar width */
  }

  .landing-main-content {
    width: 100%; /* Adjust width to take full space */
    max-width: 900px; /* Optional: set a maximum width */
    padding: 0;
    color: #ffffff;
    text-align: center;
    margin-top: 50px;
    margin-left: 30px !important; /* Move content further to the left */
  }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  /* Adjust the Welcome Heading for Mobile */
  .welcome-heading {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  /* Adjust Landing Main Content Text */
  .landing-main-content .lead {
    font-size: 1.2rem;
    line-height: 1.6;
    padding: 0 15px;
  }

  /* Adjust Landing Container Spacing */
  .landing-container {
    padding-top: 150px;
  }

  /* Adjust the button spacing */
  .form-inline {
    margin-top: 10px;
  }

  /* Ensure landing main content takes full width on mobile */
  .landing-main-content {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-top: 20px;
  }
}

/* Ensure custom styles apply only in desktop mode */
@media (min-width: 768px) {
  /* Apply custom margin-left for the index page */
  .index-page-navbar .navbar-brand {
    margin-left: 60px !important; /* Fine-tuned to better align */
  }

  /* Adjust the navbar links margin for consistency */
  .index-page-navbar .custom-navbar-links {
    margin-left: 331px !important; /* Fine-tuned for better alignment */
  }
}

/* THEMES */

/* Dark Theme */
html.dark-theme body {
  background: #1e1e2e !important; /* Dark background for dark theme */
  color: #00cccc; /* Teal text color */
}

/* Light Theme Overrides for Welcome Heading */
html.dark-theme .welcome-heading {
  color: #00cccc; /* Teal text color */
}

/* Light Theme Overrides for Larger Text */
html.dark-theme .landing-main-content .lead {
  color: #00cccc; /* Teal text color */
}

/* Yellow Theme */
html.yellow-theme body {
  background: #0e0e0e !important; /* Black background for yellow theme */
  color: #f6e05e; /* Yellow text color */
}

/* Light Theme Overrides for Welcome Heading */
html.yellow-theme .welcome-heading {
  color: #f6e05e; /* Yellow text color */
}

/* Light Theme Overrides for Larger Text */
html.yellow-theme .landing-main-content .lead {
  color: #f6e05e; /* Yellow text color */
}

/* Light Theme */
html.light-theme body {
  background: #e0e0e0 !important; /* Light grey background for light theme */
  color: #333333 !important; /* Dark grey text color */
}

/* Light Theme Overrides for Welcome Heading */
html.light-theme .welcome-heading {
  color: #000000 !important; /* Black color for light theme */
}

/* Light Theme Overrides for Larger Text */
html.light-theme .landing-main-content .lead {
  color: #000000 !important; /* Black color for light theme */
}

/* Testing */
