@media (min-width: 320px) and (max-width: 599px) {
    /*FONT-SIZE*/
    * {
        font-size: calc(1rem + 1vw);
    }

    /*UKYRWANIE*/
    .L {
        display: none;
    }

    /*TLO*/
    body {
        display: flex;
        flex-direction: column;

        min-height: 100vh;
        margin: 0;
        padding: 0;

        background-color: #000;
        background-image: radial-gradient(circle at top left, rgba(0, 123, 255, 0.2), transparent 500px),
        radial-gradient(circle at 100vw 65vh, rgba(0, 123, 255, 0.2), transparent 300px);
        background-repeat: no-repeat;
    }

    /*HEADER*/
    header {
        display: flex;
        align-items: center;
        height: 6vh;
        margin-top: 1.5vh;

        animation: slide-in-from-up 1s forwards;
    }
    nav {
        display: flex;
        justify-content: space-between;
        width: 100%;
        margin: 0 5%;
    }
    nav a {
        font-size: 80%;
        padding: 2% 2%;
    }
    nav .active {
        color: #00bfff;
    }

    /*BODY*/
    .intro {
        display: flex;
        justify-content: center;
        margin: 4vh 5% 0 5%;
    }
    .intro h1 {
        font-size: 140%;
    }

    .gallery {
        display: flex;
        flex-direction: column;
        margin: 4vh 5% 3vh 5%;
    }
    .gallery .photo {
        display: grid;
        justify-items: center;
        position: relative;
        margin: 5vh 0;
    }
    .gallery .photo img {
        border-radius: 8%;
        width: 70vw;
    }
    .gallery .photo .programs {
        position: absolute;
        top: 90%;
        left: 78%;
    }
    .gallery .photo .programs img {
        width: 12vw;
        padding: 10% 10%;
        /*background-color: rgba(255, 255, 255, 0.9);*/
    }

    /*FOOTER*/
    footer {
        padding: 20px 10px;

        display: flex;
        justify-content: center;
        align-items: center;

        height: 6vh;
        margin-top: auto;
    }

    footer .instagram img {
        width: 5vh;
        filter: invert(100%);
        transition: 200ms ease-in-out;
    }
}