body {
    margin: 0%;
    padding: 0%;
    display: flex;
    min-height: 100vh; /* Ustawienie minimalnej wysokości na 100% widoku (viewport height) */
    flex-direction: column;
}

h1 {
    font-size: 40px;
    font-family: 'DM Serif Display', serif;
    letter-spacing: 2px;
    text-align: center;
    margin: 0%;
    padding: 2%;
}

header {
    background-color: rgb(119, 116, 116);
    color: white;
    margin: 0px;
    padding: 20px;
}

ul {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
}

@media screen and (max-width: 1024px) {
    ul {
        display: block;
    }
}

@media screen and (max-width: 1024px) {
    nav li {
        margin: 20px 0;
    }
}

@media screen and (max-width: 1024px) {
    nav li a {
        padding: 10px 20px;
    }
}

li {
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px;
    font-family: 'DM Serif Display', serif;
}

a:hover {
    background-color: white;
    color: rgb(119, 116, 116);
    border-radius: 10px;
    cursor: pointer;
}

a {
    text-decoration: none;
    color: white;
    padding: 15px;
    font-size: 26px;
}

.focus {
    background-color: white;
    color: rgb(119, 116, 116);
    border-radius: 10px;
}

.focus li {
    list-style-type: none;
    padding: 15px;
}

.focus a {
    text-decoration: none;
    color: rgb(119, 116, 116);/* Kolor tekstu */
    padding: 10px;
}

h2 {
    text-transform: uppercase;
    font-size: 25px;
    text-align: center;
    margin: 60px 0;
    font-weight: bolder;
    letter-spacing: 0.5px;
    word-spacing: 1px;
    font-family: 'DM Serif Display', serif;
}

p {
    font-size: 22px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    margin: 0 40px 60px;
}

@media screen and (max-width: 1024px) {
    p {
        margin: 0 20px 40px;
    }
}

.wiersz ul {
    display: flex;
    flex-direction: row;
    padding: 0;
    margin: 0;
}

@media screen and (max-width: 1200px) {
    .wiersz ul {
        flex-direction: column;
    }
}

.wiersz ul li {
    flex: 1; /* Ustawia flex-grow na 1, aby równo podzielić dostępną przestrzeń */
    padding: 40px; /* Dodaj padding dla estetyki */
    box-sizing: border-box; /* Zapewnia, że padding nie wpływa na szerokość elementu */
}

.wiersz ul li h3 {
    margin-top: 0;
}

.wiersz ul li p {
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    text-transform: none;
    font-weight: normal;
    text-align: center;
    margin: 0;
}

.wiersz {
    border-top: 2px solid rgb(119, 116, 116);/* Dodaj ramkę */
    border-bottom: 2px solid rgb(119, 116, 116);
}

form {
    background-color: rgb(119, 116, 116);
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: auto;
}

@media screen and (max-width: 1024px) {
    .form {
        max-width: 100%;
        margin: 0 20px;
    }
}

form h2 {
    text-align: center;
    margin-bottom: 20px;
    color: white;
    padding-top: 0;
    margin-top: 0;
}

form label {
    display: block;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: white;
    font-family: 'DM Serif Display', serif;
    font-size: 26px;
}

form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 16px;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    text-transform: uppercase;
    border: white;
    font-weight: bold;
    border-radius: 8px;
}

form input [type="submit"] {
    background-color: white;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    border: white;
}

form input[type="submit"]:hover {
    background-color: white;
    color: rgb(119, 116, 116);
    border: white;
}

.formularz {
    padding: 0 20px 60px;
}

footer {
    background-color: rgb(119, 116, 116);
    padding: 40px;
    margin: 0;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center; /* Dodane, aby wyśrodkować treść poziomo */
    text-transform: uppercase;
    color: white;
    font-size: 26px;
    font-family: 'DM Serif Display', serif;
    height: 4vh; /* Ustawienie wysokości na 100% widoku (viewport height) */
}

.logo:hover {
    color: inherit;
    background: none;
}

.koniec {
    margin: 60px 0;
    padding: 0 20px;
}

li {
    min-width: 250px;
}

li {
    min-width: 250px;
}

a {
    padding: 15px 20px;
    transition: all 0.3s ease-in-out;
    border-radius: 15px;
}

.logo {
    outline-offset: -20px;
}