/* Podstawowe style resetujące */
body, h1, p, form, input, select, textarea, button {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    box-sizing: border-box; /* Zapewnia, że padding i border są wliczane do szerokości i wysokości */
}

header, footer {
    text-align: center;
    padding: 20px 10px;
    background-color: navy;
    color: white;
}

main {
    padding: 20px;
    background-color: #222;
    color: #ddd;
    min-height: 80vh; /* Minimalna wysokość */
}

nav ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

nav li {
    display: inline;
    margin-right: 10px;
}

nav a {
    color: #fff;
    text-decoration: none;
}

section {
    margin-top: 20px;
    background-color: #333; /* Ciemniejszy odcień dla kontrastu */
    padding: 15px;
    border-radius: 8px;
}

input, select, textarea {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    background-color: #444;
    border: none;
    border-radius: 4px;
    color: #fff;
}

button {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    background-color: #565656; /* Szary kolor przycisków */
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #6f6f6f;
}

/* Style dla list gwiazd i konstelacji */
#starsList, #constellationsList {
    padding: 10px;
    background-color: #383838; /* Lekko jaśniejszy odcień dla listy */
    border-radius: 5px;
    margin-top: 10px;
}

/* Styl dla poszczególnych elementów listy */
#starsList div, #constellationsList div {
    border-bottom: 1px solid #484848; /* Delikatna linia oddzielająca */
    padding: 10px;
    color: #ccc; /* Jasniejszy odcień tekstu dla lepszej czytelności */
}

/* Style responsywne */
@media (max-width: 900px) {
    main {
        font-size: 16px;
    }
    header, footer {
        padding: 15px 5px;
    }
    nav li {
        display: block;
        margin-top: 10px;
    }
    button {
        width: auto;
    }
}

@media (max-width: 600px) {
    body {
        background-color: #333;
    }
    header, footer {
        padding: 12px 3px;
    }
    nav li {
        margin: 10px auto;
    }
    main {
        font-size: 14px;
    }
}
