* {
box-sizing: border-box;
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f6f5f7;
    font-family: 'SF Pro Display', sans-serif; /* Applied SF Pro Display */
    padding-top: 60px; /* Space for fixed header */
    padding-left: 20px; /* Left margin for content */
    padding-right: 20px; /* Right margin for content */
}

h1 {
    font-weight: bold;
    margin: 0;
}

h2 {
    text-align: center;
}

p {
    font-size: 14px;
    font-weight: 100;
    line-height: 20px;
    letter-spacing: 0.5px;
    margin: 20px 0 30px;
}

span {
    font-size: 12px;
}

a {
    color: #333;
    font-size: 14px;
    text-decoration: none;
}

#main-header {
    width: 100%;
    /* Glassmorphism Effect */
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    color: #333;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-sizing: border-box;
}

#main-header .logo-link {
    display: flex;
    align-items: center;
}

#main-header .header-logo {
    height: 20px; /* Adjusted size */
    width: auto;
}

#main-header nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 25px;
    align-items: center;
}

#main-header nav a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease, font-weight 0.3s ease, text-shadow 0.3s ease;
}

#main-header nav a:hover, #login-logout-btn:hover,
#main-header nav a.active-page, #login-logout-btn.active-page {
    font-weight: bold; /* Make text bold on hover and for active page */
    text-decoration: none;
    cursor: pointer;
}

main {
    padding-bottom: 60px; /* Consistent bottom spacing */
    box-sizing: border-box;
    flex: 1;
    display: flex;
    flex-direction: column; /* Allow content inside main to stack vertically */
    align-items: center; /* Center content horizontally within main */
    justify-content: center; /* Center content vertically within main */
    max-width: 80%; /* Limit content width to 80% */
    width: 100%; /* Ensure max-width is respected */
    margin: 0 auto; /* Center the content horizontally */
}

#main-footer {
    background-color: #eeeeee; /* Assuming a light gray like this */
    color: #343a40; /* Dark gray for text */
    text-align: center;
    padding: 15px;
    width: 100%;
    box-sizing: border-box;
}

footer {
    background-color: #222;
    color: #fff;
    font-size: 14px;
    bottom: 0;
    position: fixed;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 999;
}

footer p {
    margin: 10px 0;
}

footer i {
    color: red;
}

footer a {
    color: #3c97bf;
    text-decoration: none;
}