body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.centered-content {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
    text-align: center;  /* Keep this for the h1 title */
}

h1 {
    color: #ffffff;
    margin-bottom: 20px;
}

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

nav ul li {
    display: block; /* Each li will take full width of its container */
    margin: 10px 0; /* Space above and below each link */
}

nav ul li a {
    text-decoration: none;
    color: #ffffff;
    background: #007BFF;
    padding: 10px 15px;
    display: block; /* Changed to block to fill the li width */
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.1s;
    width: fit-content; /* This ensures the link's width fits its content */
    margin: 0 auto; /* Centers the link within the li */
}

nav ul li a:hover {
    background: #0056b3;
    transform: scale(1.05);
}

@media (min-width: 768px) {
    /* Removing the media query for flex layout since we want one per row */
}
