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: 0;
    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;
    }
}

h3 {
    font-family: 'DM Serif Display', serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    font-size: 22px;
    padding: 15px;
}

address {
    text-align: center;
    font-size: 18px;
    font-family: 'Roboto', sans-serif;
}

.danekontaktowe a {
    color: black;
}

@media screen and (max-width: 640px) {
    .danekontaktowe {
        width: 100%;
        flex-direction: column;
    }
}

.danekontaktowe {
    display: flex;
    flex-direction: row;
    text-align: center;
    justify-content: center;
    gap: 40px;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 40px 20px;
}

.kosmetyki {
    display: flex;
    flex-direction: row;
    text-align: center;
    justify-content: center;
    gap: 40px;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 0 20px 60px;
}

.element {
    text-align: center;
    padding: 40px;
    border: 2px solid rgb(119, 116, 116);/* Dodane właściwości border */
    background-color: white;
    border-radius: 10px;
    color: black;
    width: 370px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    justify-content: space-between;
    flex-basis: 39%;
}

.element h3 {
    font-family: 'DM Serif Display', serif;
    text-transform: uppercase;
    font-size: 30px;
    flex: 1;
}

.element ol {
    text-align: center;

}

.element ol li {
    font-size: 22px;
    text-transform: none;
    font-family: 'Roboto', sans-serif;
    text-align: left;
    padding: 6px;
    margin-top: 10px;
}

.element a {
    cursor: pointer;
    text-decoration: none;
    color: rgb(95, 98, 98);
    background-color: initial;
    padding: 15px 0;

}

.contact-info {
    text-align: center;
    padding: 72px 40px;
    border: 2px solid rgb(119, 116, 116);/* Dodane właściwości border */
    background-color: white;
    border-radius: 10px;
    color: black;
    width: 200px;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    flex-basis: 30%;
}

@media screen and (max-width: 1024px) {
    .contact-info {
        width: 100%;
        flex: auto;
        padding: 40px;
    }
}

.contact-info p {
    color: black;
}

.contact-info a:hover {
    color: black;
    background-color: initial;
    border-radius: 0;
    cursor: pointer;
}

.contact-info p a {
    color: black;
}

address {
    font-family: 'Roboto', sans-serif;
}

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;
}

li,
li:hover {
    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;
}