#overcontainer {
    background: #FF0;
    width: 100%;
    height: 100vh;
    /* overflow: hidden; */
    -webkit-animation: overTop 2s forwards;
            animation: overTop 2s forwards;
    z-index: 3;
    position: relative;
    /* box-shadow: inset 0 -16px 10px -10px rgba(118, 116, 0, 0.75); */
}

body {
    margin: 0;
    background: rgba(39,40,34,1);
}

#topcontainer {
    width: 100%;
    height: 50%;
    background: rgb(255, 232, 0); /* IE 9 */       /* Chrome, Safari, Opera */      
    -webkit-justify-content: center;      
        -ms-flex-pack: center;      
            justify-content: center;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

#botcontainer {
  height: 50%;
  transition: all 1.2s ease-in-out;
  
  z-index: -1;
}

#texttitle {
    font-size: 72px;
    font-family: sans-serif;
    color: yellow;
    text-shadow: 0 -1px 1px #D5C200;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-self: center;
        -ms-flex-item-align: center;
            align-self: center;
    -webkit-animation: intoBlack 2s forwards;
            animation: intoBlack 2s forwards;
}

@-webkit-keyframes intoBlack {
  from   { color: yellow; }
  60%  { color: yellow; }
  to { color: #333; }
}

@keyframes intoBlack {
  from   { color: yellow; }
  60%  { color: yellow; }
  to { color: #333; }
}

@-webkit-keyframes overTop {
  from   { height: 100vh; }
  60%  { height: 100vh; }
  to { height: 50vh; }
}

@keyframes overTop {
  from   { height: 100vh; }
  60%  { height: 100vh; }
  to { height: 50vh; }
}

#textsub {
    -webkit-align-self: flex-end;
        -ms-flex-item-align: end;
            align-self: flex-end;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    font-size: 42px;  
    font-family: sans-serif;  
    color: rgb(255, 232, 0);  
    text-shadow: 0 -1px 1px #D5C200;   
	margin: 0;
	font-weight: normal;
    margin-left: 2%;
}

h1 {
	font-weight: normal;
	margin: 0;
}

::-moz-selection {
background: #333;
color: yellow;
text-shadow: 0 0 2px #000;
}

::selection {
background: #333;
color: yellow;
text-shadow: 0 0 2px #000;
}

#documentation {
    height: auto;
    background: rgba(39,40,34,1);
    z-index: 1;
    position: relative;
    width: 100%;
    font-family: sans-serif;
    color: white;
    overflow: hidden;
}

#stickyheader {
    position: fixed;
    height: 90px;
    width: 100%;
    top: 0;
    background: yellow;
    z-index: 2;
    -webkit-justify-content: space-around;
        -ms-flex-pack: distribute;
            justify-content: space-around;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.hbutton {
    height: 90px;
    line-height: 90px;
    font-family: sans-serif;
    color: rgba(39,40,34,1);
    text-transform: uppercase;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    font-size: 20px;
    font-weight: 900;
    text-shadow: 0 1px 1px #D5C200;
    text-decoration: none;
    cursor: pointer !important;
    transition: box-shadow 0.2s ease-out;
    box-shadow: 0 2px 0 0 #333;
    padding: 0 10px;
}

.hbutton:hover {
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.75);  
}

a {
    text-decoration: none;
}

@media (-webkit-min-device-pixel-ratio: 1.5), /* Webkit-based browsers */
       (min--moz-device-pixel-ratio: 1.5),    /* Older Firefox browsers (prior to Firefox 16) */
       (min-resolution: 1.5dppx),             /* The standard way */
       (min-resolution: 144dpi) {   	   /* dppx fallback */ 
	   
	#stickyheader {
        height: 45px;
    }

    #textsub {
    	font-size: 30px;
    }

    .hbutton {
        height: 45px;
        line-height: 45px;
        font-size: 3vw;
        padding: 0;
    }

    p, .code {
      margin-right: 2% !important;
      margin-left: 2% !important;
    }

    h2 {
      margin-top: 90px !important;
      font-size: 16vw !important;
      line-height: 16vw !important;
    }

    h2 a {
      padding-top: 45px !important;
    }

}
@media(max-width: 826px) {
    #stickyheader {
        height:45px;
    }

    .hbutton {
        height: 45px;
        line-height: 45px;
        font-size: 3vw;
        padding: 0;
    }

    p, .code {
      margin-right: 2% !important;
      margin-left: 2% !important;
    }

    h2 {
      margin-top: 90px !important;
      font-size: 16vw !important;
      line-height: 16vw !important;
    }

    h2 a {
      padding-top: 45px !important;
    }
}

.hbutton:active {
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.75);
    transition: box-shadow 0.1s ease-out;
}

h2 {
    font-size: 134px;    
	margin-top: 120px;
    font-family: sans-serif;  
    color: yellow;    
    margin-left: 2%;  
    line-height: 110px;  
    margin-bottom: 15px;
    text-shadow: 1px -1px 0 #B8B746, 2px -2px 0 #988900, 3px -3px 0 #7B7000, 12px -16px 12px rgba(0, 0, 0, 0.36);
}

p {
    margin: 0 2.6%;
    font-size: 16px;
    font-family: sans-serif;  
    color: #FFF;  
    line-height: 29px;
    margin-left: 15%;
    margin-right: 15%;
    text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.75);
}

h2 a {
    padding-top: 90px;
}

.code {
    padding: 10px 1%;
    background: rgba(39,40,34,1);
    font-family: monospace;
    color: rgb(248, 248, 242);
    margin-right: 20%;
    margin-left: 21%;
    margin-bottom: 28px;
    border-left: 4px solid rgba(52, 53, 45, 1);
}

span.cm {
    font-style: italic;  
    color: rgba(102,217,239,1);
}

span.fu {
    color: rgba(102,217,239,1);
}

span.eq {
    color: rgba(249,38,114,1);
}

span.co {
    color: rgba(117,113,94,1);
}

span.st {
	color: rgba(230,219,116,1);
}

p a {
    color: rgba(39,40,34,1);
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    text-shadow: 0 1px 1px #D5C200;
    text-decoration: none;
    cursor: pointer !important;
    transition: box-shadow 0.2s ease-out;
    box-shadow: 0 2px 0 0 #333;
}

p a:hover {
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.75);
}

p a:active {
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.75);
    transition: box-shadow 0.1s ease-out;
}

p a {
    color: yellow;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;      
    text-shadow: 0 1px 1px #796E00;
    text-decoration: none;
    cursor: pointer !important;
    transition: box-shadow 0.2s ease-out;  
    box-shadow: 0 2px 0 0 rgba(52, 53, 45, 1);
}

p a:hover {
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.75);
}

p a:active {}

p a:active {
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.75);
    transition: box-shadow 0.1s ease-out;
}

.note {
    padding: 0.4% 2%;
    width: 190px;
    margin-left: 20%;
    font-family: sans-serif;
    font-size: 16px;
    line-height: 24px;
    display: inline-block;
}

.note span {
    color: #00AB18;
    float: right;
    background: rgba(52, 53, 45, 1);
    width: 60px;
    text-align: center;
    height: 22px;
}

span.left {
    display: inline;
    float: left;  
    color: rgba(223, 223, 223, 1);  
    width: 125px;
    text-align: left;
    font-weight: normal;
}

#framewrap {
    height: 80vh;
    min-height: 430px;
    max-height: 680px;
    box-shadow: 0 -5px 10px 0 rgba(0, 0, 0, 0.15);
    margin-top: 35px;
}
