body {
    background-color: #333;
    color: #fff;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

#frames-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

#header-frame {
    height: 300px; /* Adjust height as needed */
    width: 100%;
    border: none;
}

#content-frame {
    height: calc(100vh - 220px); /* Adjust height to fill the remaining space */
    width: 100%;
    border: none;
}

#footer-container {
    position: relative;
    width: 100%;
    text-align: center;
}

#toggle-footer {
    background-color: #444;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
}

#footer-content {
    overflow: hidden;
    height: 0;
    transition: height 0.3s ease;
}

#footer-frame {
    width: 100%;
    border: none;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #444;
    padding: 10px; /* Adjust padding as needed */
    flex-direction: column;
    height: 180px; /* Adjust header height */
}

.header .top-section {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

.header .logo {
    width: 125px; /* Adjust size as needed */
    height: 125px; /* Adjust size as needed */
}

.header h1 {
    margin: 0 20px; /* Adjust margin as needed */
    font-size: 24px;
    white-space: nowrap; /* Prevent text from wrapping */
}

.header .menu-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.header .menu {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.menu ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    margin: 0; /* Remove margin between menus */
    justify-content: center; /* Center the menu items */
}

.menu li {
    margin: 0 10px; /* Adjust margin as needed */
}

.menu a {
    display: block;
    padding: 10px 20px;
    background-color: #555;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
    text-align: center;
}

.menu a:hover {
    background-color: #666;
    text-decoration: none;
}

.admin-menu {
    margin-top: 10px;
    width: 100%;
}

.admin-menu ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    margin: 0; /* Remove margin between menus */
}

.admin-menu li {
    margin: 5px 10px; /* Adjust margin as needed */
}

.admin-menu a {
    display: block;
    padding: 10px 20px;
    background-color: #777;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    text-align: center;
}

.admin-menu a:hover {
    background-color: #888;
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    background-color: #444;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    text-align: center;
}

h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.dashboard {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.dashboard-item {
    background-color: #555;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    margin: 10px; /* Reduced margin to group items more closely */
    padding: 10px;
    width: 140px; /* Adjust size as needed */
    text-align: center;
    transition: transform 0.3s;
}

.dashboard-item:hover {
    transform: translateY(-10px);
}

.dashboard-item img {
    width: 80px; /* Adjust size as needed */
    height: 80px; /* Adjust size as needed */
    border-radius: 10px;
    margin-bottom: 10px;
}

.dashboard-item p {
    margin: 10px 0 0;
    font-size: 16px;
    font-weight: bold;
}

.dashboard-item a {
    text-decoration: none;
    color: #fff;
}

.disclaimer {
    padding: 20px;
    background-color: #222;
    border-radius: 10px;
    color: #ccc;
}

.disclaimer h2 {
    text-align: center;
    margin-bottom: 20px;
}

.disclaimer p {
    margin-bottom: 10px;
}

.search-form {
    text-align: center;
    margin-bottom: 20px;
}

.search-form input[type="text"] {
    width: 200px;
    margin-right: 10px;
    background-color: #555;
}

.search-form input[type="submit"] {
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

.search-form input[type="submit"]:hover {
    background-color: #0056b3;
}
