* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    height: 800px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #527D87;
    padding: 20px 40px;
    color: white;
    position: relative;
}

.logo {
    z-index: 1;
}

.logo img {
    height: 50px;
}

.nav-links {
    position: absolute; 
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    width: 100%; 
    z-index: 0; 
}

.nav-links a {
    margin: 0 15px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 10px 20px;
    border: 2px solid transparent;
    border-radius: 10px;
    background-color: #428898;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.nav-links a:hover {
    background-color: #225A67;
    border-color: white;
}

.user-info {
    display: flex;
    align-items: center;
    z-index: 1;
}

.user-info .details {
    margin-right: 15px;
}

.user-info span {
    display: block;
    font-size: 14px;
}

.logout {
    color: white;
    background-color: #e63946;
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
}

.container {
    display: flex;
    height: 100vh;
    flex-grow: 1;
}

.sidebar {
    width: 250px;
    background-color: #343a40;
    padding: 20px;
    color: white;
}

.sidebar ul {
    list-style-type: none;
}

.sidebar ul li a {
    display: block;
    padding: 10px 0;
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.sidebar ul li a:hover {
    background-color: #495057;
    border-radius: 5px;
}

.main-content {
    flex-grow: 1;
    padding: 20px;
    background-color: #f8f9fa;
}

.main-content h1 {
    font-size: 24px;
    margin-bottom: 20px;
}

footer {
    text-align: center;
    padding: 30px;
    background-color: #343a40;
    color: white;
    position: absolute;
    bottom: 0;
    width: 100%;
}

