body {
    margin: 0%;
    padding: 0%;
    display: flex;
    flex-direction: column;
}

h1 {
    font-size: 40px;
    font-family: 'DM Serif Display', serif;
    letter-spacing: 2px;
    text-align: center;
    margin: 0;
    padding: 2%;
    font-weight: 800;
}

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;
    font-family: 'DM Serif Display', serif;
    letter-spacing: 1px;
    padding: 10px;
}

a:hover {
    background-color: white;
    color: rgb(119, 116, 116);
    border-radius: 10px;
    cursor: pointer;
}

.focus {
    background-color: white;
    color: rgb(119, 116, 116);
    border-radius: 10px;
}

.focus li {
    list-style-type: none;
    padding: 10px;
}

.focus a {
    text-decoration: none;
    color: rgb(119, 116, 116); /* Kolor tekstu */
    padding: 15px;
}

.wrapper {
    position: relative;
    margin: 0;
    max-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: row;
}

.item img {
    width: 100%;
    display: block;
    height: 100%;
}

.item {
    position: relative;
    margin: 0;
    width: 100%;
}

a {
    text-decoration: none;
    color: #ffffff;
    margin: 20px;
    font-size: 26px;
}

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-family: 'DM Serif Display', serif;
    font-size: 22px;
    height: 4vh; /* Ustawienie wysokości na 100% widoku (viewport height) */
}

.logo:hover {
    color: inherit;
    background: none;
}

.logo {
    outline-offset: -20px;
}


@media screen and (max-width: 1200px) {
    .wrapper {
        flex-direction: column;
    }
}

.wrapper .item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.wrapper .item a {
    font-family: 'DM Serif Display', serif;
    position: absolute;
    text-transform: uppercase;
    font-size: 26px;
    padding: 15px 20px;
    background-color: rgb(119, 116, 116);
    border-radius: 15px;
    transition: all 0.3s ease-in-out;
}

.wrapper .item a:hover {
    color: rgb(119, 116, 116);
    background: white;
}

li {
    min-width: 250px;
}

a {
    padding: 15px 20px;
    transition: all 0.3s ease-in-out;
    border-radius: 15px;
}
