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

*
{
    z-index: 0;
}

@media screen and (orientation:landscape)
{
    section
    {
        display: flex;
        margin-left: 125px;
    }
    #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: 15px;
        margin-left: 12px;   
    }
    #hambinput:checked + #menu #hambicon
    {
        margin-top: 15px;
    }
    #hambinput:checked + #menu nav
    {
        left: 0;
    }
    #flags
    {  
        position: fixed;
        right: -50px;
        top: -45px;
    }
}
#mensec
{
    display: flex;
    margin-left: 125px;
    z-index: 1;
}
#hmaside
{
    position:fixed;
    float: left;
    background-color: rgb(196, 196, 196);
    margin-top: -50px;
    margin-left: -133px;
    z-index: 1;
}
#hambinput:checked ~ #menu
{
    left: 0px;
    top: 0px;
    display: flex;
    position: absolute;
    border: none;
    width: 100vw;
    height: 100vh;
    background: transparent;
    z-index: 1;
}
#menu
{
    display: block;
    border: none;
    background: transparent;
    z-index: 1;
}
nav
{
    visibility: hidden;
    background-color: rgb(196, 196, 196);
    z-index: 1;
}
#hambicon
{
    margin-top: -5px;
    background-color: rgb(196, 196, 196);
    width: 45px;
    z-index: 1;
}
#menu nav
{
    visibility: hidden;
    position: absolute;
    z-index: 1;
}
#hambinput
{
    visibility: hidden;
    z-index: 1;
}
#hambinput:checked + #menu nav
{
    visibility: visible;
    z-index: 1;
}
#hambinput:checked ~ .overlay
{
    visibility: visible;
    opacity: 0.4;
    z-index: 1;
}
.menutext, .menutext:visited
{
    color: white;
    text-decoration: none;
    text-align: center;
    z-index: 1;
}
#tMENU
{
    z-index: 1;
}
#hmaside, #menuspan, nav, #hambicon, .menutext, .menutext:visited
{
    background-color: rgb(185, 174, 209);
    z-index: 1;
}

img
{
    background-color: transparent;
    z-index: 1;
}
#pfp
{
    z-index: 1;
}

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

#flags
{  
    position: absolute;
    right: 0px;
    z-index: 0;
    right: -50px;
}
#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;
}

table
{
    border-collapse: collapse;
    border: 3px solid rgb(82, 35, 92);
    margin-left: 15px;
}
td
{
    border: 1px dotted rgba(96, 42, 107, 0.75);
}
#thdesc
{
    width: 250px;
}
.padd
{
    padding: 4px;
    padding-left: 8px;
    padding-right: 8px;
}