body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: #f0f0f0;
}

/* Header Styling */
header {
    background: linear-gradient(to right, #b8e4ff37, #b8e4ff, #051262, #051262, #000000);
    color: #fff;
    padding: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid #000000;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
}

header h1 {
    margin: 0;
    font-size: 1.5rem;
}

.logo-container {
    display: flex;
    align-items: center;
}

.nes-logo {
    height: 50px; /* Adjust size as needed */
    margin-right: 1rem;
}

/* Footer Styling */
footer {
    background: linear-gradient(to bottom, #051162ce, #051262, #051262, #051262, #051162ce);
    color: #fff;
    text-align: center;
    position: fixed;
    width: 100%;
    bottom: 0;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.3);
    border-top: 1px solid #444;
    z-index: 1000;
    padding: 0.2rem 0; /* Reduced padding */
    font-size: 0.875rem; /* Optional: Adjust font size if needed */
}


/* Container Flex Styling */
.header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.header-container h1 {
    margin: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.login-button-container {
    margin-left: auto;
}

.card-title {
    font-size: 1.25rem;
    font-weight: bold;
}

.card-text {
    font-size: 1rem;
}

.main {
    padding-top: 4rem; /* to prevent content from being hidden under the fixed header */
}

.alert {
    margin-top: 1rem;
}

.row-cols-1 .col {
    max-width: 350px; /* Set a fixed max width for the cards */
}

.row-cols-md-3 {
    justify-content: center;
}
