body {
    background-color: black;
    color: yellow;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
}

/* Adjust for portrait and landscape orientations */
@media (orientation: portrait) {
    /* Styles for portrait mode */
    h1 {
        font-size: 2em;
    }

    p {
        font-size: 1.2em;
    }
}

@media (orientation: landscape) {
    /* Styles for landscape mode */
    h1 {
        font-size: 3em;
    }

    p {
        font-size: 1.5em;
    }
}

 a {
    color: yellow;
 }

.navbar {
    position: relative;
    background-color: black;
    padding: 10px;
}

.menu-toggle {
    font-size: 30px;
    color: yellow;
    cursor: pointer;
    display: block;
    padding: 10px;
}

.menu {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: none;
    background-color: black;
    position: absolute;
    top: 50px;
    left: 10px;
    width: 150px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

.menu li {
    border-bottom: 1px solid yellow;
}

.menu li a {
    display: block;
    color: yellow;
    text-decoration: none;
    padding: 10px;
}

.menu li a:hover {
    background-color: yellow;
    color: black;
}

.show {
    display: block;
}

/* Container to center content */
.container {
    width: 100%;
    text-align: center;
}

/* Header section with image and hamburger menu */
.header {
    display: flex;
    align-items: flex-start; /* Align logos to the top */
    justify-content: flex-start;
    padding: 0.25rem 1rem; /* Reduce vertical padding */
    margin: 0;
}

/* Styling for the image */
.logo {
    width: 100px;
    height: auto;
    margin: 0 10px 0 0;
    padding: 0;
    vertical-align: top;
}

/* Hamburger menu icon */
.hamburger-menu {
    font-size: 30px;
    cursor: pointer;
}

/* Title styling */
.title {
    font-size: 2.5em;
    margin-top: 20px;
}

/* Body text styling */
.body-text {
    margin-top: 40px;
    font-size: 1.2em;
    line-height: 1.6;
}

/* Table of Contents styling */
.toc {
    padding: 20px;
    margin: 20px;
}

.toc h2 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.toc ul {
    list-style-type: disc;
    padding-left: 0; /* Remove default padding */
    margin-left: auto;
    margin-right: auto;
    display: inline-flex; /* Makes the list items appear horizontally aligned */
    flex-direction: column; /* Makes the list items stack vertically */
    align-items: center; /* Centers the list horizontally */
}

.toc ul li {
    margin-bottom: 10px;
}


.toc a {
    color: yellow;
    text-decoration: none;
    font-size: 1.2em;
}

.toc a:hover {
    text-decoration: underline;
}

/* Styling for content sections */
.content section {
    margin: 40px 0;
}

section h3 {
    font-size: 1.1em;
    color: yellow;
}

section p {
    font-size: 1.1em;
    line-height: 1.6;
}

select {
    background-color: black;  /* Background color */
    color: yellow;  /* Text color */
    border: 1px solid yellow;  /* Yellow border */
    padding: 5px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

/* Modal base */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

/* Modal content box */
.modal-content {
  background: #ffffff;
  padding: 2rem;
  width: 500px;
  max-width: 95%;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
  animation: slideDown 0.4s ease;
  font-family: 'Segoe UI', sans-serif;
}

/* Modal animation */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Close button */
.close-button {
  float: right;
  font-size: 1.5rem;
  cursor: pointer;
  color: #999;
}

.modal-tab.active {
    color: white;
    background-color: #007BFF; /* Bootstrap blue */
    border-radius: 5px;
    padding: 5px 10px;
}

/* Tabs as hyperlinks */
#modal-tabs {
  display: flex;
  justify-content: space-around;
  margin-bottom: 1.5rem;
}

.modal-content h2 {
  color: #0077cc; 
}

.modal-tab {
  text-decoration: none;
  font-weight: 600;
  color: #0077cc;
  padding: 8px 16px;
  border-radius: 6px;
  transition: background 0.3s, color 0.3s;
}

.modal-tab:hover {
  background-color: #0077cc;
  color: white;
}

/* Input styles */
.modal-form input {
  width: 100%;
  padding: 10px;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.modal-form button {
  width: 100%;
  padding: 12px;
  background-color: #0077cc;
  color: white;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.modal-form button:hover {
  background-color: #005fa3;
}

.modal-form p {
    color:  #0077cc;
}

.forgot-password-link {
    display: block;
    margin-top: 0.5rem;
    color: #3399ff; /* Bluish color */
    text-decoration: none;
    font-size: 0.9em;
    font-weight: bold;
    transition: color 0.3s ease;
}

.forgot-password-link:hover {
    color: #66ccff;
    text-decoration: underline;
}

/* Input styles */
#forgotPasswordModal .modal-content input {
  width: 100%;
  padding: 10px;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

#forgotPasswordModal .modal-content button {
  width: 100%;
  padding: 12px;
  background-color: #0077cc;
  color: white;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}



#forgotPasswordModal .modal-content h2,
#forgotPasswordModal .modal-content h3,
#forgotPasswordModal .modal-content p,
#forgotPasswordModal .modal-content label {
  color: #0077cc;
}

