html {
    height: 100%;
    background: -webkit-radial-gradient(circle, #fff, #ccc);
    background: -webkit-gradient(radial, circle, #fff, #ccc);
    background: -o-radial-gradient(circle, #fff, #ccc);
    background: -moz-radial-gradient(circle, #fff, #ccc);
    background: radial-gradient(circle, #fff, #ccc);
}

#container {
    height: 400px;
    width: 550px;
    background-color: #9DD2EA;
    margin: 100px auto;
    padding: 20px;
    border-radius: 10px;
    /* box-shadow: [horizontal offset] [vertical offset] [blur radius] [optional spread radius] [color] */
    -moz-box-shadow: 0 4px 0 0 #009de4;
    -webkit-box-shadow: 0 4px 0 0 #009de4;
    box-shadow: 0 4px 0 0 #009de4;
    /*
     * in order to position the boxes inside relative to the container, it needs a relative position
     * if not, the positioning of the other elements would be relative to the body element because
     * it is the first parent with a relaive position
     */
    position: relative;
}

#score {
    background-color: #F1FF92;
    color: #888E5F;
    padding: 11px;
    position: absolute;
    left: 490px;
    -webkit-box-shadow: 0 4px #9DA853;
    -moz-box-shadow: 0 4px #9DA853;
    box-shadow: 0 4px #9DA853;

}

#correct {
    position: absolute;
    left: 260px;
    background-color: #42E252;
    color: #FFFFFF;
    padding: 11px;    
    display: none;
}

#wrong {
    position: absolute;
    left: 260px;
    background-color: #DE401A;
    color: #FFFFFF;
    padding: 11px;    
    display: none;
}

#question {
    width: 450px;
    height: 150px;
    margin: 50px auto 10px auto;
    background-color: #9DA0EA;
    -moz-box-shadow: 0 4px #535AA8;
    -webkit-box-shadow: 0 4px #535AA8;
    box-shadow: 0 4px #535AA8;
    font-size: 80px;
    /* text will appear at top, use line-height to adjust if needed */
    line-height: 150px;
    text-align: center;
    font-family: cursive , sans-serif;
    color: black;
}

#instruction {
    width: 450px;
    height: 50px;
    background-color: #8481D9;
    margin: 10px auto;
    text-align: center;
    line-height: 45px;
    -moz-box-shadow: 0 4px #8153A8; 
    -webkit-box-shadow: 0 4px #8153A8; 
    box-shadow: 0 4px #8153A8; 
}

#choices {
    height: 100px;
    width: 450px;
    margin: 5px auto;
}

.box {
    width: 85px;
    height: 85px;
    background-color: white;
    /* to make them have inline styling instead of stacked:  */
    float: left;
    margin-right: 36px;
    border-radius: 3px;
    cursor: pointer;
    -moz-box-shadow: 0 4px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 4px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px rgba(0, 0, 0, 0.2);
    text-align: center;
    line-height: 80px;
    position: relative;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -o-transition: all 0.2s;
    -ms-transition: all 0.2s;
    transition: all 0.2s;
}

/* commented out for touch screens */
/*
 * .box:hover, #startReset:hover {
 *     background-color: #9C89F6;
 *     color: white;
 *     box-shadow: 0px 4px #6B54D3;
 *     -moz-box-shadow: 0px 4px #6B54D3;
 *     -webkit-box-shadow: 0px 4px #6B54D3;
 * }
 */

.box:active, #startReset:active {
    background-color: #9C89F6;
    color: white;
    -moz-box-shadow: 0 0 #6B54D3;
    -webkit-box-shadow: 0 0 #6B54D3;
    box-shadow: 0 0 #6B54D3;
    top: 4px;
}

#box4 {
    /* since this margin-right: comes after the .box property, it will overwrite for box4 */
    margin-right: 0;
}

#startReset {
    width: 100px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 auto;
    border-radius: 3px;
    cursor: pointer;
    -moz-box-shadow: 0 4px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 4px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -o-transition: all 0.2s;
    -ms-transition: all 0.2s;
    transition: all 0.2s;

}

#timeRemaining {
    width: 165px;
    padding: 10px;
    position: absolute;
    top: 395px;
    left: 400px;
    background-color: rgba( 181, 235, 36, 0.78);
    border-radius: 3px;
    -moz-box-shadow: 0 4px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 4px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px rgba(0, 0, 0, 0.2);
    /*
     * visibility: hidden vs display: none :
     * if you apply visibility: hidden, the element is still present in the page
     * if you use display: none, the element is hidden and won't interact with other elements
     */
    display: none;
}

#gameOver {
    height: 200px;
    width: 500px;
    background: -webkit-gradient(linear, #F3CA6B, #F3706C);
    background: -webkit-linear-gradient(#F3CA6B, #F3706C);
    background: -o-linear-gradient(#F3CA6B, #F3706C);
    background: -moz-linear-gradient(#F3CA6B, #F3706C);
    background: linear-gradient(#F3CA6B, #F3706C);
    color: white;
    font-size: 2.5em;
    text-align: center;
    text-transform: uppercase;
    position: absolute;
    top: 100px;
    left: 45px;
    z-index: 2;
    display: none;

}

#article {
    font-family: Arial, Helvetica, sans-serif;
    padding: 0 10% 1% 10%;
}