/* i have no idea whats going on here */

*
{
    z-index: 1;
}

@media screen and not (orientation:landscape)
{
    #mensec
    {
        margin-left: 90px;
    }
    #hambicon
    {
        margin-top: -5px;
    }
    #footer
    {
        position:relative;
        top: 30px;
    }
}
@media screen and (orientation:landscape)
{
    @media screen and (min-width: 1066px) and (min-height: 670px)
    {
        body 
        {
            overflow:hidden;
        }
        #footer
        {
            position: absolute;
            top: 85vh;
        }

    }
    section
    {
        display: flex;
        margin-left: 125px;
    }
    #mensec
    {
        margin-left: 90px;
    }
    #menu nav
    {
        width: 250px;
        top: 0;
        left: -250px;
        height: 100vw;
        transition: 0.3s;
    }
    #tMENU
    {
        font-size: 33px;
    }
    #hmaside, #menuspan
    {
        height: 150vh;
        width: 70px;
    }
    #hambicon
    {
        margin-top: -5px;
        margin-left: 12px;   
    }
    #hambinput:checked + #menu #hambicon
    {
        margin-top: 15px;
    }

    #welcsec
    {
        margin-top: -50px;
        margin-bottom: -20px;
    }
    #hambinput:checked + #menu nav
    {
        left: 0;
    }
    #flags
    {  
        position: fixed;
        right: -50px;
        top: -45px;
    }
    footer
    {
        z-index: 0;
        position: flex;
        bottom: 10px;
    }
    #padright
    {
        width: 500px;
        padding-right: 175px;
    }
}
#Home
{
    margin-top: 82px;
}
#mensec
{
    display: flex;
}
#hmaside
{
    z-index: 2;
    position:fixed;
    float: left;
    margin-top: -50px;
    margin-left: -98px;
}
#hambinput:checked ~ #menu
{
    left: 0px;
    top: 0px;
    display: flex;
    position: absolute;
    border: none;
    width: 100vw;
    height: 100vh;
    background: transparent;
}
#menu
{
    display: block;
    border: none;
    background: transparent;
}
nav
{
    position: fixed;
    visibility: hidden;
}
#hambicon
{
    width: 45px;
}
#menu nav
{
    visibility: hidden;
    position: absolute;
}
#hambinput
{
    visibility: hidden;
}
#hambinput:checked + #menu nav
{
    visibility: visible;
}
#hambinput:checked ~ .overlay
{
    visibility: visible;
    opacity: 0.4;
}
.menutext, .menutext:visited
{
    color: white;
    text-decoration: none;
    text-align: center;
}
#hmaside, nav
{
    background-color: rgb(185, 174, 209);
}

img
{
    background-color: transparent;
}

/* here start styles outside of the hamburger menu */

section
{
    z-index: 0;
}

#flags
{
    position: absolute;
    z-index: 0;
}
#trans:hover, #sapphic:hover, #PL:hover
{
    transform: rotate(360deg) scale(2.5);
}
#trans
{
    top: 14px;
    right: 100px;
    rotate: 13deg z;
}
#sapphic
{
    rotate: 38deg z;
    top: 40px;
    right: 50px;
}
#PL
{
    rotate: 74deg z;
    top: 80px;
    right: 13px;
}

.gr, .linetr, .sg, .grmono
{
    color: gray;
}
.sg, .grmono
{
    font-family: monospace;
}
.sg
{
    font-size: x-small;
}
.linetr
{
    text-decoration: line-through;
}

.ziulty
{
    color: rgb(160, 204, 38)
}  
.czerwowy
{
    color: rgb(197, 0, 0);
}
.zielnony
{
    color: rgb(51, 179, 51);
}

#nobullet
{
    list-style-type: none;
}