#scarecrow-canvas{
    image-rendering: optimizeSpeed;            
    image-rendering: -moz-crisp-edges;          
    image-rendering: -webkit-optimize-contrast; 
    image-rendering: -o-crisp-edges;            
    image-rendering: pixelated;                 
    -ms-interpolation-mode: nearest-neighbor; 

    display: grid;
    grid-column: 1fr 1fr 1fr;
    grid-row: auto;

    display: block;
    border-radius: 2px;
    /* border: 1px solid gold; */
    border: 1px solid #a99215;
    /* transition: all .5s; */
    position: relative;
    z-index: -1;
    margin-bottom: 40px;
}



/* #paused{
    display: block;
    position: absolute;
    z-index: 150;
} */


.main-content-sheet{
    display: flex;
    /* display: none; */
    align-items: center;
    flex-direction: column;
    width: 810px;
    height: 400px;
    position: absolute;
    background: #4c1c1c;
    z-index: 1;
    border: 1px solid #4c1c1c;


    /* outline: 6px solid black; */
    outline: 6px solid #4c1c1c;

}

/* .main-content-sheet.story{
    background: black;
    transition: all 1s;
} */

#main-content-sheet-off{
    display: none;
    /* opacity: 0; */
}

#instructions-sheet{
    display: none;
    position: absolute; 
    top: -10px;
    align-items: center;
    flex-direction: column;
    width: 810px;
    height: 390px;
    position: absolute;
    /* background: black; */
    background: transparent;
    color: #d2d2d2;
    z-index: 1;
    border: 1px solid #602b2b;
    border-radius: 3px;   
    padding-top: 40px;
    font-family: initial;
}

#instructions-sheet-on{
    display: block;
    opacity: 0;
    /* background: black; */
    transition: all 1s; 
    color: #d7d096;
    font-family: initial;
    animation: open 1s;
    animation-delay: 3s;
    animation-fill-mode: forwards;
}

#instructions-sheet-on div {
    color: #d7d096;
    font-size: 12px;
    font-family: initial;
}

#text{
    color: white;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.title{
    opacity: 0;
    animation: open 2s;
    animation-fill-mode: forwards;
}

#start-button, #instruction{
    opacity: 0;
    animation: open 1s;
    animation-delay: 1.5s;
    animation-fill-mode: forwards;
}

#instruction{
    opacity: 0;
    animation: open 1s;
    animation-delay: 3s;
    animation-fill-mode: forwards;
}

#start-button:hover{
    cursor: pointer;
    color:  rgb(227, 222, 189);
}

#start-button.off{
    display: none;
}

.clock{
    opacity: 0;
    /* color: #4b1c1c; */
    margin-bottom: 20px;
}

.clock.on{
    opacity: 0;
    margin-bottom: 20px;
    animation: open 2s;
    animation-fill-mode: forwards;
}

@keyframes open{
   0% { opacity: 0; }
  100% { opacity: 1; }  
}

@keyframes color{
    0% { color: #4b1c1c}
    100% { color: gold}
}

body { 
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #4c1c1c;
    font-family: 'Kaushan Script', cursive;
    color: gold;
    text-align: center;
}

#pause-sheet{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0.8;
    position: absolute;
    top: 140px;
    background: gray;
    width: 800px;
    height: 400px;
    border: 2px solid #a99215;
    border-radius: 2px;
    z-index: -10;
}

#pause-sheet > div {
    position: relative;
    top: -40px;
    margin-bottom: 10px;
}


#paused-text {
    font-size: 40px;
}


#restart-button:hover, #lose-restart:hover, #win-restart:hover{
    cursor: pointer;
    color:  rgb(227, 222, 189);
}

#pause-sheet.on{
    z-index: 400;
}

#preview-grid{
    display: grid;
    grid-template-columns: repeat(20, 40px);
    grid-template-rows: repeat(10, 40px);
    position: absolute;
    width: 800px;
    height: 400px;
    opacity: 0.5;
    top: 140px;
    background: transparent;
    border: 2px solid red;
    border-radius: 2px;
}

#preview-grid > div:hover{
    background: red;
}

#preview-grid.good > div:hover{
    background: green;
}

#preview-grid-off {
    display: none;
    z-index: -100;
}

/* #preview-grid.bad > div:hover{
    opacity: .5;
    background: red;
} */

.preview-show-good{
    opacity: .5;
    background: green;
}

.preview-show-bad{
    opacity: .5;
    background: red;
}

#win-sheet-on, #lose-sheet-on{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 140px;
    width: 800px;
    height: 400px;
    z-index: 300;
    background: white;
    color: #9c8a27;
    border: 1px solid #9c8a27;
    border-radius: 2px;
}

#lose-sheet-on{
    background: black;
    color:#948f8f;
    border: 1px solid #bcb7b7;
    border-radius: 2px;
}

#win-sheet, #lose-sheet{
    display: none;
}

#inventory{
    display: grid;
    grid-template-columns: repeat(10, 80px);
    width: 800px;
    height: 80px;
    background:#ab6d3d;
    border-radius: 3px;
    border: 2px solid #1a1108;
}

#inventory div{
    border: 1px solid #292424;
}

#fear-gauge, #courage-gauge{
    display: flex;
    position: relative;
    z-index: 0;
    align-items: center;
    width: 350px;
    height: 22px;
    background: #9e9e9e;
    border-radius: 2px;
    border: 1px solid black;
    text-align: center;
}

/* #fear-gauge:before{
    content: "Fear"
} */

#fear-text, #courage-text{
    position: relative;
    margin: 0 auto;
    z-index: 2;
    color: gold;
    margin-top: 10px;
}

#fear-color{
    display: block;
    position: relative;
    z-index: 2;
    width:  0px;
    height: 15px;
    background: #422a84;
}

#courage-color{
    display: block;
    position: relative;
    z-index: 2;
    width: 0px;
    height: 15px;
    background: #e6a01f;
}

#bars{
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

#bars-off{
    display: none;
}

#inventory-off{
    display: none;
}

.created-by{
    margin-bottom: 20px;
}

footer{
    padding-top: 40px;
     margin-bottom: 20px;
}

footer a{
    text-decoration: none;
    color: #bca297;
    font-family: auto;
    margin-right: 20px;
    margin-top: 20px;
}

footer a:hover{
    color: white;
}

.fa-github, .fa-angellist, .fa-linkedin{
    color: white;
    font-family: 'Times New Roman', Times, serif;
}
.gb{
    height: 14px;
    text-decoration: none;
    font-weight: 50;
}

.crow{
    height: 70px;
}