/* General body styling */
body {
    font-family: Arial, sans-serif; /* You can change this to your preferred font */
    margin: 0;
    padding: 0;
}

/* Styling the navigation bar */
nav {
    background-color: #a6b4d8;
    display: flex;
    align-items: center;   /* was flex-start */
    padding: 10px;
    position: relative;
}

.logo-container {
    display: flex;
    align-items: center; /* Center the logo vertically */
    margin-right: 20px; /* Adjust this value for desired space */
}

.logo {
    width: 300px; /* Adjust the size as needed */
    height: auto; /* Maintain aspect ratio */
    padding-left: 40px;
    padding-right: 40px;
}

.navbar {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex; /* Use flexbox for alignment */
    font-size: 20px; /* Increase font size here */
}

.navbar li {
    margin: 0; /* Remove margin */
    width: 200px;
    text-align: center;
    padding: 8px 0; /* Padding top and bottom */
    text-decoration: none;
    height: 20px; /* Set a fixed height for the buttons */
}

.navbar a {
    display: block;
    color: rgb(40, 40, 40);
    text-decoration: none;
}

.navbar a:hover {
}

.form-group {
    display: flex;
    flex-direction: column;        /* Stack label and input vertically */
    margin-bottom: 15px;          /* Space between fields */
    width: 80%;                  /* Ensure the form group takes full width of the form */
}
.content {
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: center;
    height: 70vh;
    text-align: center;
    margin: 0;
    color:#4cae4c;
}

label {
    margin-bottom: 5px;           /* Space between label and input */
    font-weight: bold;            /* Optional: make the label bold */
}

input {
    padding: 10px;                /* Add some padding for better appearance */
    border: 1px solid #ccc;       /* Default border */
    border-radius: 4px;           /* Slightly rounded corners */
    width: 300px;                 /* Set the width to 300 pixels (adjust as needed) */
    box-sizing: border-box;        /* Include padding and border in the element's total width and height */
}

button {
    padding: 10px 15px;           /* Padding for the button */
    background-color: #5cb85c;    /* Bootstrap success color */
    color: white;                 /* Text color */
    border: none;                 /* Remove border */
    border-radius: 4px;           /* Rounded corners for button */
    cursor: pointer;               /* Change cursor on hover */
}

button:hover {
    background-color: #4cae4c;    /* Darker green on hover */
}

form {
    max-width: 500px;            /* Center the form horizontally */
}

/* Scope button sizing ONLY to top-level nav items */
.navbar > li {
    width: 200px;
    text-align: center;
    padding: 8px 0;
    /* REMOVE any fixed height so text and caret aren't clipped */
    height: auto;
}

/* Ensure top-level links are block-level and padded */
.navbar > li > a {
    display: block;
    padding: 8px 16px;
    border-radius: 10px;
    color: rgb(40, 40, 40);
    text-decoration: none;
}

/* Keep the dropdown positioned flush under its parent */
.navbar .nav-item.dropdown { position: relative; }
.navbar .nav-item.dropdown:hover > .dropdown-menu,
.navbar .nav-item.dropdown:focus-within > .dropdown-menu {
    display: block;
}

/* Reset submenu list items so they aren't constrained by top-level styles */
.navbar .dropdown-menu {
    display: none;            /* shown on hover/focus via rule above */
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    min-width: 200px;         /* wide enough for both items */
    background: #f4f6ff;
    font-size: 20px;
    border: 1px solid #8ea0cf;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
    padding: 6px;
    z-index: 9999;
}

/* Make submenu items full width and auto height */
.navbar .dropdown-menu li {
    width: 100%;
    height: auto;             /* important: no fixed height */
    padding: 0;
}

/* Submenu links layout */
.navbar .dropdown-menu a {
    display: block;
    padding: 10px 12px;
    white-space: nowrap;      /* prevent awkward wrapping */
    border-radius: 8px;
    color: rgb(40,40,40);
    text-decoration: none;
}
.navbar .dropdown-menu a:hover,
.navbar .dropdown-menu a:focus {
    background: #e6ecff;
}

/* Optional hover style for the top-level trigger */
.navbar > li > a:hover,
.navbar .nav-item.dropdown:hover > a,
.navbar .nav-item.dropdown:focus-within > a {
    background-color: rgba(255,255,255,0.35);
}

/* Caret: pick ONE style.
   A) Use Bootstrap's default: ensure this is NOT present:
      .navbar .nav-item.dropdown > a::after { content: " ▾"; }
   B) Or use your own caret and disable Bootstrap's:
*/
 /* Uncomment to use your own caret:
.navbar .dropdown-toggle::after { display: none !important; }
.navbar .nav-item.dropdown > a::after { content: " ▾"; font-size: .85em; }
*/
