.bar {
    transition: all 0.3s ease-in-out;
}

.open .bar1 {
    transform: rotate(45deg) translateY(8px);
}

.open .bar2 {
    opacity: 0;
}

.open .bar3 {
    transform: rotate(-45deg) translateY(-8px);
}

#mobile-menu {
    transition: all 0.3s ease;
}

.hero-gradient-left {
    position: absolute;
    left: 0;
    top: 0;

    width: 20%;
    height: 100%;

    background:
        linear-gradient(90deg,
            rgba(0, 0, 0, .25),
            transparent);

    pointer-events: none;
}

.hero-gradient-right {
    position: absolute;
    right: 0;
    top: 0;

    width: 20%;
    height: 100%;

    background:
        linear-gradient(-90deg,
            rgba(0, 0, 0, .25),
            transparent);

    pointer-events: none;
}

body {

    background-image:
        url("gallery/background.webp");

    background-repeat:
        repeat;

    background-size:
        700px;

    background-position:
        center top;

    background-attachment:
        fixed;

    background-color:
        #071229;

}

/* ===========================
SEKCJE
=========================== */

#about,
#services,
#gallery,
#contact {

    background:
        rgba(22,
            35,
            56,
            0.88);

    backdrop-filter:
        blur(12px);

    border:
        1px solid rgba(255,
            255,
            255,
            0.03);

    border-radius:
        28px;


    /* GŁÓWNY CIEŃ */

    box-shadow:

        0 30px 60px rgba(0,
            0,
            0,
            0.55),

        /* DELIKATNA POŚWIATA */

        0 0 60px rgba(12,
            42,
            95,
            0.22),

        /* WEWNĘTRZNE ŚWIATŁO */

        inset 0 1px 0 rgba(255,
            255,
            255,
            0.04);

    transition:
        all .35s ease;

}


/* LEKKI EFEKT HOVER */

#about:hover,
#services:hover,
#gallery:hover,
#contact:hover {

    transform:
        translateY(-2px);

    box-shadow:

        0 40px 80px rgba(0,
            0,
            0,
            0.65),

        0 0 90px rgba(20,
            55,
            120,
            0.28),

        inset 0 1px 0 rgba(255,
            255,
            255,
            0.05);

}
