body {
    background-color: #1e1e2e;
    font-family: 'Press Start 2P', cursive;
    color: #e0e0ff;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
}

.card {
    background-color: #2e2e3e;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.card h2 {
    font-size: 1.5rem;
    color: #f8f8f2;
    margin-bottom: 10px;
}

.card p,
.card ul {
    font-size: 1.2rem;
    color: #e0e0ff;
}

.card ul {
    list-style-type: none;
    padding: 0;
}

.card ul li {
    margin-bottom: 10px;
    font-size: 1rem;
}

.navbar {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #282a36;
    padding: 15px 0;
    text-align: center;
    border-bottom: 2px solid #8e44ad;
    z-index: 10;
}

.navbar a {
    color: #f8f8f2;
    font-size: 1.2rem;
    text-transform: uppercase;
    text-decoration: none;
}

.navbar-links a {
    margin-left: 20px;
}

.error-message {
    color: #ff4c4c;
    background-color: #2e2e3e;
    border: 1px solid #ff4c4c;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: none;
}

#dashboard-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 70px;
    /* Spacing for the navbar */
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

#index-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    padding-top: 70px;
    text-align: center;
}

#index-container h1 {
    font-size: 3rem;
    color: #b392f0;
    margin-bottom: 20px;
}

#index-container p {
    font-size: 1.5rem;
    margin-bottom: 40px;
}

#index-container button {
    padding: 15px 30px;
    font-size: 1.5rem;
    background-color: #4a00e0;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#index-container button:hover {
    background-color: #8e44ad;
    box-shadow: 0 0 15px #4a00e0, 0 0 30px #8e44ad;
    transform: translateY(-3px);
}

#login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding-top: 70px;
}

#login-container .container {
    width: 100%;
    max-width: 400px;
    background-color: #2e2e3e;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
    animation: fadeIn 2s ease-in-out;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    color: #b392f0;
}

h1 {
    font-size: 2.5rem;
    color: #b392f0;
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-size: 1.2rem;
    display: block;
    margin-bottom: 10px;
    color: #e0e0ff;
}

.form-group input {
    width: 90%;
    padding: 15px;
    font-size: 1.2rem;
    border: 2px solid #8e44ad;
    border-radius: 5px;
    background-color: #1e1e2e;
    color: #e0e0ff;
}

button {
    font-family: 'Press Start 2P', cursive;
    width: 100%;
    padding: 15px;
    font-size: 1.5rem;
    background-color: #4a00e0;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #8e44ad;
    box-shadow: 0 0 15px #4a00e0, 0 0 30px #8e44ad;
    transform: translateY(-3px);
}

.btn-index {
    width: 15%;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

footer {
    text-align: center;
    color: #e0e0ff;
    padding-bottom: 20px;
}