html {
    height: 100%;
    margin: 0
}

body {
    width: 100%;
    height: 100%;
    z-index: 0;
    margin: 0;
    background: 
        url(images/space.png);
    font-size: 14pt;
    color: white;
}

a {
    color: cyan;
}

ul {
    list-style-type: none;
    margin: 0px 0px 0px 0px;
    padding: 0;
}

li {
    background-color: black;
    border-radius: 12px;
    padding: 2px;
    margin-bottom: 4px;
}

.hamburger {
    text-align:center;
}

div.SideImages {
    text-align:right;
    align-items:right;
    z-index: 0;
}

img.TopImg {
    z-index: 5;
    position: absolute;
    max-height: 100vh;
    right: calc(0.4667 * 100vh);
}

img.MidImage {
    z-index: 3;
    position: absolute;
    max-height: 100vh;
    right:0px;
}

img.BackImage {
    z-index: 1;
    position: absolute;
    max-height: 100vh;
    right:0px;
    overflow-x: clip;
}

.LinkTreeContainer {
    height: 100vh;
    z-index: 4;
    background: repeat-y url(images/bgoverlay.png);
    position: absolute;
}

.LinkHead {
    width: 320px;
    text-align: center;
    vertical-align: top;
}

.LinkPad {
    width: 80px;
} 

input:checked > section {
    display: block;
}

.container {
	display: none;
    cursor: pointer;
    height: 32px;
    vertical-align: middle;
}

.bar1, .bar2, .bar3 {
	width: 30px;
	height: 4px;
	background-color: white;
	margin: 4px 0;
	transition: 0.4s;
}

/* Rotate first bar */
.change .bar1 {
  -webkit-transform: rotate(-45deg) translate(-7px, 4px) ;
  transform: rotate(-45deg) translate(-7px, 4px) ;
}

/* Fade out the second bar */
.change .bar2 {
  opacity: 0;
}

/* Rotate last bar */
.change .bar3 {
  -webkit-transform: rotate(45deg) translate(-6px, -6px) ;
  transform: rotate(45deg) translate(-6px, -6px) ;
}

input.menuentry {
    display: none;
}
input:checked ~ section {
    display:block;
}

.leftrotatedtext {
    transform:rotate(-90deg);
    transform-origin: top left;
    font-weight: bold;
    position: absolute;
    display: none;
    width:256px;
    text-align: right;
    top: 320px;
}
input:checked ~ .leftrotatedtext {
    display: none;
}

/* Media */
@media only screen and (max-width: 1232px) {
    img.TopImg {
        right: 0px;
    }
    img.MidImage {
        display:none;
    }
    .LinkTreeContainer {
        z-index:10;
    }
}

@media only screen and (max-width: 1024px) {
    img.TopImg {
        right: 0px;
    }
    img.MidImage {
        display:none;
    }
    .LinkTreeContainer {
        z-index:10;
    }
    .container {
        display:block;
    }    
    section {
        display:none;
    }
    input:checked ~ section {
        display: block;
    }
    .LinkHead {
        width: auto;
    }
    .LinkPad {
        width: auto;
    }
    .leftrotatedtext {
        display:block;
    }
}
