#menu li a {
    margin: 0px;
    color: rgba(0, 0, 0, 1);
    font: 1em "Roboto", sans-serif;
    font-weight: 600;
    line-height: calc(100vh / 11);
    text-decoration: none;
    text-transform: none;
    list-style: none;
    outline: 0;
    display: none;
    text-align: center;

    animation-name: textMenu;
    animation-duration: 1s;
    

    background-image:linear-gradient(to bottom, rgba(196, 246, 250, 0.2), rgba(184, 178, 234, 0.2));
    transition: color 0.5s ease, background-color 1.5s ease, font-size 0.5s ease;
    
}

#menu li a:hover {
    color: rgb(255, 255, 255);
    background-color: rgba(155, 199, 95, 0.3);
    font-size: 1.1em;
    background-image: unset;  /* Zresetowanie koloru tła */
}

@keyframes textMenu
{
    from { 
        font-size: 0pt;  
        opacity: 0;
        visibility: hidden;
    }
    to { 
        font-size: 1em;         
        opacity: 1;
        visibility: visible;
    }
}

#menu {
    position: fixed;
    margin: 0; padding: 0;
    width: 55px;
    height: 55px;
    background-image:linear-gradient(to bottom, rgb(196, 246, 250), rgb(184, 178, 234));

    border-bottom-right-radius: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.26);
    animation: not-checked-anim .1s both;
    transition: .1s;
    overflow: hidden;
    z-index: 10;
    cursor: pointer;
}

#menu li {
    width: 100%;
    text-indent: 0px;
}

#menu a:focus {
    display: block;
    color: #333;
    background-color: #eeeeee;
    transition: all .5s;
}

#trigger, #burger, #burger:before, #burger:after {
    position: fixed;
    top: 12px;
    left: 10px;
    background: #ffffff;
    width: 20px;
    height: 2px;
    transition: .1s ease;
    cursor: pointer;
    z-index: 20;
}

#trigger {
    height: 20px;
    background: none;
}

#burger:before {
    content: " ";
    top: 28px;
    left: 10px;
}

#burger:after {
    content: " ";
    top: 20px;
    left: 10px;
}

/* select first burger inside first trigger in the selected (checked on) menu-toggle */
#menu-toggle:checked + #trigger + #burger {
    top: 17px;
    transform: rotate(180deg);
    transition: transform .1s ease;

    background-color: rgb(9, 34, 54);
}

#menu-toggle:checked + #trigger + #burger:before {
    width: 10px;
    top: 1px;
    left: 16px;
    transform: rotate(45deg) translateX(-5px);
    transition: transform .1s ease;

    background-color: rgb(9, 34, 54);
}

#menu-toggle:checked + #trigger + #burger:after {
    width: 10px;
    top: -1px;
    left: 16px;
    transform: rotate(-45deg) translateX(-5px);
    transition: transform .1s ease;

    background-color: rgb(9, 34, 54);
}

#menu-toggle:checked + #trigger + #burger + #menu {
    animation: checked-anim 1s ease both;
}

#menu-toggle:checked + #trigger ~ #menu > li a {
    display: block;
    /*background-image:linear-gradient(to bottom right, rgba(255, 255, 255, 0.2), rgba(171, 237, 5, 0.2));*/
}

/* turn off checkbox visibility */
[type="checkbox"]:not(:checked), [type="checkbox"]:checked {
    /*display: none;*/
    width: 55px;
    height: 55px;
    position: absolute;
    z-index: 50;
    cursor: pointer;
    margin: 0;
    opacity: 0;
}


@keyframes checked-anim {
    0% {

    }

    100% {
        width: 100vw;
        height: 100vh;
        
        border-radius: 0;
        display: block;
    }
}

@keyframes not-checked-anim {
    0% {
        width: 300px;
        height: 450px;
    }
    100% {

    }
}

@media (min-width: 701px)
{
    @keyframes checked-anim {
    
        100% {
            width: 300px;
            height: 100vh;
            border-radius: 0;
            display: block;
        }
    }
}

