
html{
    height: 100%;
    background: radial-gradient(circle, #fff, rgba(230, 229, 229, 0.479));
    background: -webkit-radial-gradient(circle, #fff, rgb(230, 230, 230));
    background: -moz-radial-gradient(circle, #fff,rgb(230, 230, 230));
    background: -o-radial-gradient(circle, #fff, rgb(230, 230, 230));

}
button{
    background-color: rgba(35, 70, 126, 0.952);
    color: rgb(255, 255, 255);
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    width: 130px;
    height: 40px;
    margin: 0; 
    padding: 1px;
    position: relative; /*(o relative, según tu diseño)*/
    top: 20px;
    bottom: 0px;

    border-radius: 2px;
    font-size: 15px;
    box-shadow: 2px 1px 5px rgb(0, 0, 41);
}
header{
    margin: 0; 
    padding: 0;
    position: absolute; /*(o relative, según tu diseño)*/
    top: 0px;
    left: 0px;
    right: 0px;
    width: 100%;
    height: 10%;
    background: rgb(255, 255, 0);
    box-shadow: 2px 1px 5px #696522;
    
}
footer{
    text-align: center;
    font-size: 14px;
    font-family: cursive, sans-serif;
    color: rgb(0, 5, 19);
    
}
 
#hometitle{
    display: inline-block; 
    *display: inline;
    zoom: 1; vertical-align: top;
    width: 55%;
    font-size: 40px;
    text-align: left;
    font-family: cursive, sans-serif;
    color: rgb(0, 5, 19);
    margin-left: 15px;
}
#opciones{
    display: inline-block; 
    *display: inline;
    zoom: 1; vertical-align: top; font-size: 12px;
}
#container{
    height: 400px;
    width: 580px;
    background-color: rgba(35, 70, 126, 0.788);
    margin: 100px auto;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0px 4px 0px 0px #2c2c75;
    position: relative;
    -webkit-box-shadow: 0px 4px 0px 0px #161684;
    -moz-box-shadow: 0px 4px 0px 0px #161684;

}
#score {
    background-color: rgb(255, 255, 0);
    color: rgb(20, 20, 20);
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    width: 130px;
    padding: 10px;
    border-radius: 2px;
    position: absolute;
    left: 425px;
    box-shadow: 2px 1px 5px #696522;
}


#correct {
    position: absolute;
    left: 280px;
    background-color: #42e252;
    color: white;
    padding: 11px;
    display: none;
}

#wrong {
    position: absolute;
    left: 250px;
    background-color: #de401a;
    color: white;
    padding: 11px;
    display: none;
}

#question {
    width: 450px;
    height: 150px;
    margin: 50px auto 10px auto;
    background-color: rgb(214, 214, 255);
    box-shadow: 0px 4px rgb(214, 214, 255);
    border-radius: 3px;
    font-size: 100px;
    text-align: center;
    font-family: cursive, sans-serif;
    color: rgb(0, 5, 19);
    
}

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

}

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

.box {
    font-size: 30px;
   font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    height: 85px;
    width: 85px;
    background-color: #fff;
    float: left;
    margin-right: 36px;
    border-radius: 3px;
    cursor: pointer;
    box-shadow: 0px 4px rgba(0,0,0,0.2);
    text-align: center;
    line-height: 80px;
    position: relative;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -o-transition: all 0.2s;
    -ms-transition: all 0.2s;

}

.box:hover, #startreset:hover{
 background-color: #9C89F6;
    color: #fff;
    box-shadow: 0px 4px #6B54D3;
    -webkit-box-shadow: 0px 4px #6B54D3;
    -moz-box-shadow: 0px 4px #6B54D3;
    

}

.box:active, #startreset:active{
    background-color: #9C89F6;
    color: #fff;
    box-shadow: 0px 0px #6B54D3;
    -webkit-box-shadow: 0px 0px #6B54D3;
    -moz-box-shadow: 0px 0px #6B54D3;
    top: 4px;
}
#box4 {
    margin-right: 0;
}

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

#timeremaining {
    width: 130px;
    padding: 10px;
    position: absolute;
    top: 395px;
    left: 425px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    border-radius: 3px;
    background-color: rgba(181, 235, 36, 0.78);
    -webkit-box-shadow: 1px 2px rgba(134, 177, 16, 0.78);
    box-shadow: 1px 2px rgba(134, 177, 16, 0.78);
    /*visibility: hidden;*/
    display: none;
}

#gameover {
    height: 200px;
    width: 575px;
    border-radius: 25px;
    background: linear-gradient(rgba(81, 255, 0, 0.85),rgba(0, 253, 148, 0.85));
    background: -webkit-linear-gradient(rgba(81, 255, 0, 0.85),rgba(0, 253, 148, 0.85));
    /* background: -o-linear-gradient(rgba(0, 245, 253, 0.685),rgba(251, 255, 0, 0.514)); */
    /* background: -moz-linear-gradient(rgba(131, 0, 253, 0.466),rgba(251, 255, 0, 0.514)); */
    color: rgb(1, 3, 19);
    font-size: 2.5em;
    text-align: center;
    text-transform: uppercase;
    position: absolute;
    top: 100px;
    left: 20px;
    z-index: 2;
    display: none;
}
