@media (min-width: 320px) and (max-width: 599px) {
    /*FONT-SIZE*/
    * {
        font-size: calc(1rem + 1vw);
    }
    html, body {
        overflow-x: hidden;
    }

    /*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;
        flex-direction: column;
        align-items: center;
        margin: 20px 5% 0 5%;
    }
    .intro .text {
        align-items: center;
        max-width: 100%;
    }
    .intro h1 {
        margin-left: 1%;
        font-size: 100%;

        animation: slide-in-from-left 1s forwards;
    }
    .intro p {
        @media (max-width: 424px) {
            font-size: 70%;
        }
        @media (min-width: 425px) {
            font-size: 80%;
        }
        color: #a0a0a0;
        margin-top: 20px;

        animation: slide-in-from-right 1s forwards;
    }
    .intro .photo img {
        justify-content: center;
        width: 70%;
        margin: 20px auto 0 auto;
        display: block;
        border: 7px solid #eee;
    }

    .skills {
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin: 4vh 5% 0 5%;
    }
    .skills h2 {
        text-align: center;
        margin-bottom: 10px;
    }
    .skills .icons {
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    .skills .icons img {
        width: 10vw;
        height: 10vw;
    }

    .projects{
        margin: 7vh 5% 0 5%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .projects h2 {
        color: #87CEEB;
    }

    /*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;
    }
}