html, body {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    position: static;
    top: 0;
}
body {
    background-color:black;
}
#container {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    position: static;
    top: 0;
    user-select: none;
    overflow:hidden;
    position:relative;
    background-color:#d5e9f3;
    margin:0 auto;
    margin-top:0px;
    width: 960px;
    height: 540px;
}
.relative-container {
    position:relative;
    width: 100%;
    height: 100%;
}
.animation {
    position: absolute;
}
#soil {
    position: absolute;
    will-change: auto;
    user-select: none;
}
#d1 {
    position: absolute;
    will-change: auto;
    user-select: none;
}
#d2 {
    position: absolute;
    will-change: auto;
    user-select: none;
}
#d3 {
    position: absolute;
    will-change: auto;
    user-select: none;
}
#d3-animations-layer {
    position: absolute;
    will-change: auto;
    user-select: none;
    background-color: rgba(4, 59, 96, 0.3);
}
#cow-body {
    left : 23.69%;
    bottom: -53%;
}
#d4 {
    position: absolute;
    will-change: auto;
    user-select: none;
}
#d4-2 {
    position: absolute;
    will-change: auto;
    user-select: none;
}
#d5 {
    position: absolute;
    will-change: auto;
    user-select: none;
}
#header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 11.20%;
    background-color: white;
    user-select: none;
    min-height: 50px;
}
#progressBar {
    position: absolute;
    top: 11.2%;
    left: 0;
    width: 0;
    height: 4px;
    background-color: #82bc00;
    user-select: none;
}
#logo {
    margin: 1.5%;
    user-select: none;
    float: left;
    height: 50%;
    width: 35%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center left;
    /*background-image: url(../svg/PoP2020R-Final-Horiz-BLK.svg);*/
    background-image: url(../svg/pop-copy.svg);
    cursor: pointer;
}
#menu {
    position: fixed;
    top: 20px;
    height: 4%;
    width: 100px;
    background-image: url(../svg/chevron-01.svg);
    background-repeat: no-repeat;
    background-size: contain;
    cursor: pointer;
    background-position: right center;
}
img {
    user-select: none;
}
#intro {
    padding: 3%;
    width: 23%;
    position: absolute;
    top: 11.2%;
    bottom: 0;
    left: 0;
    background-color: rgba(4,59,96,0.8);
}
#intro h1 {
    margin-top: 4%;
}
#intro p {
    padding-right: 20%;
    margin-bottom: 8%;
    font-size: 1.50rem;
    line-height: 2rem;
}
#toc {
    padding: 40px;
    width: 32rem;
    position: fixed;
    top: 11.2%;
    bottom: 0;
    right: 0;
    background-color: rgba(4,59,96,0.8);
}
#toc h2 {
    margin-bottom:0;
}
#toc nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    padding-left: 4px;
}
#toc nav ul li {
    margin: 0;
    padding: 0;
    padding-top: 2.5rem;
    font-size: 1.5rem;
    clear: both;
}
#toc nav ul li a {
    color: white;
    text-decoration: none;
    user-select: none;
    float: left;
    display: block;
    width: 340px;
}
#toc nav ul li a:hover, #toc nav ul li a:active {
    text-decoration: underline;
    color: #82bc00;
}
.toc-icon {
    width: 30px;
    display: block;
    margin-right: 10px;
}
#toc nav table {
    border-collapse: collapse;
    margin:0;
    padding:0;
}
#toc nav table tr {
    padding:0;
    margin:0;
}
#toc nav table tr td {
    margin: 0;
    padding: 0;
    padding-top: 2rem;
    font-size: 1.5rem;
    clear: both;
}
#toc nav table tr td a {
    color: white;
    text-decoration: none;
    user-select: none;
}
#toc nav table tr td a:hover, #toc nav table tr td a:active {
    text-decoration: underline;
    color: #82bc00;
}
#instructions {
    position: absolute;
    top: 60%;
    left: 50%;
    width: 400px;
    height: 100px;
    margin-left: -200px;
    margin-top: -50px;
    background-color: rgba(255, 255, 255, 0.7);
}
#instructions p {
    padding: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin: 0;
    color: #5c666f;
    font-size: 14px;
    line-height: 20px;
}
/* gpu hack */
#d1, #d2, #soil, #D2-Corn-FrontPath, #D2-Corn-BackPath,
#D3-CornPath, #d3, #d4, #d4-2, #d5, #D3-CowEarPath, #D3-CowTailPath,
#D3-SailboatPath, #D2-CowEar-LtPath, #D2-CowTail-LtPath,
#D3-KitePath, #D3-KiteStringPath, #D2-CowEar-RtPath, #D2-CowTail-CntrPath,
#D2-HenHead-LtPath, #D2-ChickBody-RtPath, #D2-PigEar-RtPath, 
#D1-Cow-TailPath, #D1-Grass1Path, #D1-Grass2Path, #D1-Grass3Path,
#D1-Grass4Path, #D1-Grass5Path, #D1-Grass6Path, #D1-Grass7Path, #D1-Grass8Path,
#D1-Grass9Path,
#bubble-1,
#bubble-2,
#bubble-3,
#bubble-4,
#bubble-5,
#bubble-6,
#bubble-7,
#bubble-8,
#bubble-9,
#bubble-10,
#bubble-11,
#bubble-14,
#bubble-15 {
    /*
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    -moz-perspective: 1000;
    -ms-perspective: 1000;
    perspective: 1000;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    will-change: transform;
    */
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
}
.callout-icon {
    position: absolute;
}
.callout-body, .callout-body-end {
    position: absolute;
    background-color: rgba(255, 255, 255, .9);
    padding: 2%;
    color: #5b666f;
    font-size: 1.5rem;
    line-height: auto;
    overflow: hidden;
}
.callout-body p, .callout-body-end p {
    line-height: 1.75rem;
}
.callout-body h2, .callout-body-end h2 {
    font-size: 3rem;
    margin-bottom: 0;
}
.callout-body h3, .callout-body-end h3 {
    font-size: 1.5rem;
    color: #5b666f;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: .4rem;
}
.callout-body-end {
    position: absolute;
    bottom: 4%;
    left: 3%;
    width: 30%;
    display: none;
}

#callout-body-10 {
    display: none;
}

.content-left {
    float: left;
    width: 56%;
}
.content-left p {
    margin-top: 0px;
    padding-top: 0px;
    margin-top:-.5rem;
}
.content-right {
    float: right;
    width: 40%;
}
.callout-body-header {
    margin-bottom: 22px;
}
.soil-body {
    background: transparent;
}
.soil-body p, .soil-body h3 {
    color: white;
}
#btnRestart {
    margin-top: 2rem;
    padding: 4%;
    padding-top:1%;
    padding-bottom: 1%;
}
.callout-body h2, .callout-body-end h2 {
    font-size: 2rem;
}
.callout-body h3, .callout-body-end h3 {
    font-size: 1.25rem;
    letter-spacing: .25rem;
}
.callout-body p, .callout-body-end p {
    line-height: 1.75rem;
    font-size: 1.25rem;
}
#loading {
    position:fixed;
    width: 100%;
    height:100%;
    top:0;
    left:0;
    background-color:black;
    color:white;
    z-index:999;
    font-size: 24px;
    text-align:center;
    display:flex;
    align-items: center;
}
#loading p {
    margin:0 auto;
    width:100px;
    text-align:center;
}
#fullscreen {
    position:fixed;
    bottom: 6px;
    right: 6px;
    width: 20px;
    height:20px;
    cursor:pointer;
    opacity:0.4;
}
#time {
    position:fixed;
    left:50%;
    top:20px;
    color:black;
    width:200px;
    height:50px;
    font-size:14px;
}
.callout-body-header {
    display: flex;
    align-items: center;
}
.callout-body-icon {
    width: 10%;
    margin-right: 2%;
    margin-bottom: 0%;
}
.no-marg p {
    margin-bottom: 0;
}
#block-popbranding {
    padding-left: 2%;
    user-select: none;
    cursor: pointer;
    height: 100%;
    width: 50%;
}
.branding a {
    font-size: 22px;
    text-decoration: none;
    overflow: hidden;
}
.logo-wrapper {
    display: flex;
    justify-content: left;
    align-items: center;
    height: 100%;
    color: #000;
}
.logo-wrapper .branding__logo {
    display: inline-block;
    max-width: 45px;
    margin-right: .5em;
    border-radius: 0;
}
.branding__logo svg {
    width: 100%;
    height: auto;
}
.logo-wrapper div {
    display: inline-flex;
    align-self: center;
}
.logo-wrapper strong {
    font-family: 'Roboto',sans-serif;
    font-size: 1.375em;
    font-weight: 500;
}
.logo-wrapper sup {
    font-family: 'Roboto',sans-serif;
    font-size: 12px;
    font-weight: 300;
}
.navi {
    margin: 0;
    padding: 0;
    float: right;
    width: 60%;
    margin-top: 2.5%;
}
.navi li {
    display:inline;
    font-size: 2rem;
    padding: 2rem;
}
.navi li a {
    font-family: 'Roboto',sans-serif;
    font-weight: 500;
    color: black;
    text-decoration: none;
}
.navi li a:hover {
    text-decoration: underline;
}
@media screen and (max-height: 731px) {
    html, body {
        font-size: 10px;
    }
}
@media screen and (max-width: 959px) {
    html, body {
        font-size: 9px;
    }
}
@media screen and (max-height: 644px) {
    html, body {
        font-size: 9px;
    }
}
@media screen and (max-height: 605px) {
    html, body {
        font-size: 8px;
    }
}
@media screen and (max-height: 568px) {
    html, body {
        font-size: 7px;
    }
    .logo-wrapper strong {
        font-size: 20px;
    }
}
@media screen and (max-height: 539px) {
    html, body {
        font-size: 6px;
    }
    .logo-wrapper strong {
        font-size: 18px;
    }
}
@media screen and (max-height: 360px) {
    .navi {
        display: none;
    }
}
.clear {
    clear: both;
}