*, ::before, ::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    border: 0;
    background-image: url('https://i.imgur.com/iaq1gRl.png');
    background-size: 70px;
}

p {
    font-family: "Comic Sans", "Comic Sans MS", "Chalkboard", "ChalkboardSE-Regular", sans-serif;
    font-size: 16px;
    margin: 0;
}

/* TU JEST NAGLOWEK I WSZYSTKIE RZECZY Z NIM ZWIAZANE */

.naglowek {
    background-color: rgb(247, 163, 212);
    padding: 10px;
    height: 130px;
    min-height: 130px;
    position: relative;
}

.ogien-naglowek {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
}

.tytul-naglowka {
    position: relative;
    text-align: center;
    font-size: 26px;
    z-index: 2;
    animation: tekstMigajacy 150ms infinite alternate linear;
}

@keyframes tekstMigajacy {
    from {
        color: black;
    }

    to {
        color: red;
    }
}

.twarz-naglowek {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    animation: latajacaZosia 2s infinite alternate linear;
}

@keyframes latajacaZosia {
    0% {
        top: 0;
        left: 0;
        transform: rotate(0deg);
    }

    50% {
        top: 50%;
        transform: rotate(360deg);
    }

    100% {
        top: 0;
        left: calc(100% - 86px);
        transform: rotate(0deg);
    }
}

.twarz2-naglowek {
    position: absolute;
    z-index: 3;
    bottom: 0;
    right: 0;
    animation: latajacaZosia2 2s infinite alternate linear;
    filter: brightness(1.2);
}

@keyframes latajacaZosia2 {
    0% {
        bottom: 0;
        right: 0;
        transform: rotate(0deg);
    }

    50% {
        bottom: 50%;
        transform: rotate(360deg);
    }

    100% {
        bottom: 0;
        right: calc(100% - 86px);
        transform: rotate(0deg);
    }
}

/* */

.produkty {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    gap: 60px;
    flex-wrap: wrap;
}

.produkt {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px dashed red;
    background-color: rgba(255, 255, 0, 0.733);
    padding: 10px;
    width: 100%;
    max-width: calc(33.3% - 60px);
}

@media (max-width: 1120px) {
    .produkty {
        flex-direction: column;
        align-items: center;
    }

    .produkt {
        max-width: 445px;
    }
}

.produkt > img {
    max-width: 250px;
    width: 100%;
    height: 376px;
    margin-left: auto;
    margin-right: auto;
}

.informacje-produkt {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.informacje-produkt p:first-of-type {
    font-weight: 600;
    font-size: 18px;
    max-width: 250px;
    text-decoration: underline;
}

.informacje-produkt p:last-of-type {
    
}

.kupno-i-cena {
    position: relative;
    display: flex;
    gap: 8px;
}

.kupno-i-cena > p {
    position: relative;
    z-index: 2;
    color: rgb(255, 0, 0);
}

.kupno-i-cena > img {
    width: 44px;
    height: 44px;
    margin-top: auto;
}

.opis-produktu {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ulozenie-strony {
    display: flex;
    flex-direction: column;
    padding: 50px;
    padding-top: 25px;
    padding-bottom: 25px;
    width: 100%;
    height: 100%;
}

@keyframes lgbtOutline {
    0% {
        outline-color: red;
    }

    20% {
        outline-color: orange;
    }

    40% {
        outline-color: yellow;
    }

    60% {
        outline-color: green;
    }

    80% {
        outline-color: blue;
    }

    100% {
        outline-color: violet;
    }
}

.lgbtOutline {
    animation: lgbtOutline 600ms infinite alternate;
}

.LIMITOWANE {
    animation: lgbtOutline 600ms infinite alternate;
    outline: 5px dashed gold;
    outline-offset: 6px;
}

@keyframes lgbtColor {
    0% {
        color: red;
    }

    20% {
        color: orange;
    }

    60% {
        color: green;
    }

    80% {
        color: blue;
    }

    100% {
        color: violet;
    }
}

.lgbtColor {
    animation: lgbtColor 1000ms infinite alternate;
}

@media (max-width: 540px) {
    .ulozenie-strony {
        padding: 30px;
    }

    .naglowek {
        min-height: 145px;
        height: 145px;
    }
}
