@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400&display=swap');
@font-face {
    font-family: 'Pixel Head';
    src:url('../includes/fonts/04b_25.ttf.woff') format('woff'),
        url('../includes/fonts/04b_25.ttf.svg#04b_25') format('svg'),
        url('../includes/fonts/04b_25.ttf.eot'),
        url('../includes/fonts/04b_25.ttf.eot?#iefix') format('embedded-opentype'); 
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Pixel Small';
    src:url('../includes/fonts/04b_03.ttf.woff') format('woff'),
        url('../includes/fonts/04b_03.ttf.svg#04b_03') format('svg'),
        url('../includes/fonts/04b_03.ttf.eot'),
        url('../includes/fonts/04b_03.ttf.eot?#iefix') format('embedded-opentype'); 
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'minecraftia';
    src: url('../includes/fonts/minecraftia-regular.eot');
    src: url('../includes/fonts/minecraftia-regular.eot?#iefix') format('embedded-opentype'),
         url('../includes/fonts/minecraftia-regular.woff2') format('woff2'),
         url('../includes/fonts/minecraftia-regular.woff') format('woff'),
         url('../includes/fonts/minecraftia-regular.svg#minecraftiaregular') format('svg');
    font-weight: normal;
    font-style: normal;

}
body {
    background-color:#ceeaea;
    font-family: "Courier Prime", "Courier New", sans-serif;
    line-height: 1.5em;
    color: #3a3a56;
    margin: 0;
    padding: 0;
    animation: bugfix infinite 1s;
    -webkit-animation: bugfix infinite 1s;
}

img {
    max-width: 100%;
}

.float-left {
    float:left;
    padding-right: 20px;
}

.float-right {
    float:right;
    padding-left: 20px;
}

/*Structure*/
#container {
    max-width: 700px;
    padding-top:80px;
    margin: 0 auto;
}

#main {
    display:flex;
    flex-direction: row;
}

#sidebar {
    width: 230px;
    padding: 0px;
}

#content {
    flex: 1;
    padding: 20px;
}

footer {
    font-size:0.8em;
    text-align: center;
}

.updates-digi {
  height: 64px;
}

.content-block {
  overflow: auto;
  padding:20px;
   background-color: rgba(253,253,244, 0.9);
  border-radius: 2px;
  box-shadow: 0px 2px 0px #ac3232;
  font-size: 0.8em;
  line-height:1.3em;
}

.content-block h2 {
  font-family: "Pixel Head", monospace;
  margin: 0;
  color:#d95763;
}

/*Typography*/
a {
    color: #d62051;
    font-weight: 700;
    transition: all ease 0.2s;
    display: inline-block;
}

.dark a {
    color: #fff;
}

h1, h2, h3 {
    
    line-height:1em;
}

h1, h2 {
    font-family: 'Pixel Head', 'Courier New', sans-serif;
}

h1 {
    color:#d62051;
    font-size: 2.6em;
}

h2 {
   font-size: 27px;
}

a:hover {
    color: brown;
    cursor: pointer;
    transition: all ease 0.2s;
}

.text-wide {
    letter-spacing:0.8em;
}

.tab-link {
  cursor: pointer;
}

.button-dark {
  color: white;
  text-shadow: 0px 1px 10px #0CD0FA, 0px 1px 5px #fff;
  background-color: rgba(10,0,20,0.7);
  padding: 5px 15px;
    text-decoration: none;
}

a[href^="https://"],a[href^="http://"] {
    background: url(../images/external.png) center right no-repeat;
    background-size: 10px;
    padding-right: 15px;
}

a[href^="https://aegi.neocities.org"]  {
    background: none;
    padding-right: 0;
}

a {
  text-decoration: none;
}

.updates h3 {
    margin: 0;
}

.text-center {
    text-align:center;
}

.label, footer a {
  background-color: rgba(253,253,244, 0.9);
  border-radius: 2px;
  box-shadow: 0px 2px 0px #ac3232;
  display: inline-block;
  padding:3px 8px;
  font-family: 'Pixel Small', 'Courier New', sans-serif;
  text-transform: uppercase;
  font-size:16px;
  -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
  display: inline-block;
}

.label {
  text-indent: 0;
  position: absolute;
  top:0px;
  left: 50%;
  opacity: 0;
  transform:translateX(-50%)translateY(10px);
}

footer a {
  font-size:12px;
}
          
/* SCROLLBAR */
.updates::-webkit-scrollbar, #updates::-webkit-scrollbar {
  width: 5px;
}

/* Track */
.updates::-webkit-scrollbar-track, #updates::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
 
/* Handle */
.updates::-webkit-scrollbar-thumb, #updates::-webkit-scrollbar-thumb  {
  background: #888; 
}

/* Handle on hover */
.updates::-webkit-scrollbar-thumb:hover, #updates::-webkit-scrollbar-thumb:hover {
  background: #ad1662; 
}

/*Navigation*/

.toplinks {
position: absolute;
  left: 1em;
  top: 1em;
color: white;
  text-decoration: none;
}

nav ul {
    margin: 0;
    margin-top:40px;
    padding: 0;
}

nav ul li {
    list-style-type: none;
    border-bottom: 1px solid #000;
}

body.dark nav ul li {
    border-bottom: 1px solid #fff;
}

nav ul li:first-child {
    border-top: 1px solid #000;
}

body.dark nav ul li:first-child {
    border-top: 1px solid #fff;
}

nav ul li a {
    text-decoration: none;
    letter-spacing: 2px;
    color: #000;
    display: block;
    padding: 10px 20px;
    transition: text-indent ease 0.2s;
}

body.dark nav ul li a {
    color: #fff;
}

nav ul li a:hover {
    font-weight: 700;
    text-indent: 1em;
    transition: text-indent ease 0.2s;
}

    #mobile-nav {
        display: none;
    }

#mobile-nav.all-sizes {
    display: block;
}

/*mobile navigation*/

@keyframes bugfix {
  from {
    padding: 0;
  }
  to {
    padding: 0;
  }
}
@-webkit-keyframes bugfix {
  from {
    padding: 0;
  }
  to {
    padding: 0;
  }
}
#overlay-button {
  position: fixed;
  right: 1em;
  top: 1em;
  padding: 26px 11px;
  z-index: 5;
  cursor: pointer;
  user-select: none;
}
#overlay-button span {
  height: 4px;
  width: 35px;
  border-radius: 2px;
  background-color: white;
  position: relative;
  display: block;
  transition: all .2s ease-in-out;
}
#overlay-button span:before {
  top: -10px;
  visibility: visible;
}
#overlay-button span:after {
  top: 10px;
}
#overlay-button span:before, #overlay-button span:after {
  height: 4px;
  width: 35px;
  border-radius: 2px;
  background-color: white;
  position: absolute;
  content: "";
  transition: all .2s ease-in-out;
}
#overlay-button:hover span, #overlay-button:hover span:before, #overlay-button:hover span:after {
  background: #efefef;
}

input[type=checkbox] {
  display: none;
}

input[type=checkbox]:checked ~ #overlay {
  visibility: visible;
}

input[type=checkbox]:checked ~ #overlay-button:hover span, input[type=checkbox]:checked ~ #overlay-button span {
  background: transparent;
}
input[type=checkbox]:checked ~ #overlay-button span:before {
  transform: rotate(45deg) translate(7px, 7px);
  opacity: 1;
}
input[type=checkbox]:checked ~ #overlay-button span:after {
  transform: rotate(-45deg) translate(7px, -7px);
}

#overlay {
  height: 100vh;
  width: 100vw;
  background: #444;
  z-index: 2;
  visibility: hidden;
  position: fixed;
}
#overlay.active {
  visibility: visible;
}
#overlay ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  height: 100vh;
  padding-left: 0;
  list-style-type: none;
}
#overlay ul li {
  padding: 1em;
}
#overlay ul li a {
  color: white;
  text-decoration: none;
  font-size: 1.5em;
}
#overlay ul li a:hover {
  color: #cfcfcf;
}


/*Header*/
header{
    text-align: center;
}
header img {
    max-height:200px;
}


/*menu*/
.menu-holder {
    background-image: url('images/clipboard.svg');
    background-repeat: no-repeat;
    width: 350px;
    height: 487px;
    padding: 90px 20px 10px 20px;
    box-sizing:border-box;
    overflow: hidden;
    font-size: 0.8em;
    text-align: center;
    margin: 0 auto;
}

.menu-items {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.menu-items li:after {
    content: '*';
    display:block;
}

.menu-items li:last-child:after {
    content: '';
    display:block;
}

/* code blocks */
code {
    color: blue;
}

pre {
    display: block;
    background: rgba(0, 0, 0, 0.9);
    padding: 15px;
}

pre code {
    color: azure;
}


/*responsive*/
@media screen and (max-width: 1028px) {
    #mobile-nav {
        display: block;
    }
    #sidebar {
        display:none;
    }
    #container {
        margin:0 auto;
    }
    
    .float-left, .float-right {
        float: none;
        padding: 0;
        margin: 0 auto;
        display: block;
    }
}

@media screen and (min-width:1029px) {
    .menu-holder {
        margin-left: 83px;
    }
}