@font-face
{
font-family: "curse";
src: url("fonts/curse.eot");
}

@font-face
{
font-family: "curse";
src: url("fonts/curse.ttf");
}

body
{
width:800px;
height:600px;
padding:0px;
margin:0px;
overflow:hidden;
font-family:curse;
font-size:20px;
background:#212121;
}

#main_div
{
position:absolute;
top:0px;
left:0px;
width:800px;
height:600px;
overflow:hidden;
padding:0;
margin:0;
}

#frontpage_div
{
position:absolute;
top:0px;
left:0px;
width:100%;
height:100%;
text-align:center;
color:#0f0;
font-size:30px;
background:url(images/frontpage_background.png);
display:none;
}

#info_div
{
position:absolute;
top:0px;
left:0px;
width:100%;
height:100%;
text-align:center;
color:#0f0;
font-size:30px;
background:url(images/info_background.png);
display:none;
}

#game_div
{
position:absolute;
top:0px;
left:0px;
width:100%;
height:100%;
background:url(images/game_background.png);
display:none;
}

#play_button
{
width: 120px;
height: 50px;
top: 370px;
left: 340px;
}

#info_button
{
width: 120px;
height: 50px;
top: 370px;
left: 340px;
}

#check_button
{
width:120px;
height:50px;
top:408px;
left:68px;
background:url(images/check_button.png);
}

#deliver_button
{
width:120px;
height:50px;
top:408px;
left:601px;
background:url(images/deliver_button.png);
}

@keyframes animatedbg
{
0% { background-position: 0 0; }
50% { background-position: 0 128px; }
100% { background-position: 0 256px; }
}

#timer_div
{
position:absolute;
top:6px;
left:731px;
font-size:23px;
width:200px;
color:#fff;
}

#score_div
{
position: absolute;
top: 0px;
left: 260px;
width: 280px;
height: 48px;
background: url(images/score_panel.png);
font-size: 30px;
color: #000;
text-align: center;
padding-top: 2px;
}

#answer_input
{
position: absolute;
top: 428px;
left: 644px;
width: 49px;
height:27px;
font-family: curse;
font-size: 25px;
text-align: center;
}

#grid_div
{
position:absolute;
top:120px;
left:289px;
width:201px;
height:201px;
background-size:20px 20px;
background-image: linear-gradient(to right, #d0d2d3 1px, transparent 1px), linear-gradient(to bottom, #d0d2d3 1px, transparent 1px);
background-color: #fff;
border-bottom: 10px solid #d0d2d3;
}

#shape_info
{
position:absolute;
top:340px;
left:315px;
width:201px;
text-align:center;
color:#fff;
}

.circle
{
position:absolute;
top:50%;
left:50%;
border-radius:50%;
border:1px solid #fff;
background:#0f0;
cursor:pointer;
}

.sphere
{
position:absolute;
top:50%;
left:50%;
border-radius:50%;
border:1px solid #fff;
background: radial-gradient(circle at 100% 100%, #fff, #0f0);
cursor:pointer;
}


.square
{
position:absolute;
top:50%;
left:50%;
border:1px solid #fff;
background:#0f0;
cursor:pointer;
}

.triangle
{
position:absolute;
top:50%;
left:50%;
width: 0%;
height: 0%;
border-left: 100px solid transparent;
border-right: 100px solid transparent;
border-bottom: 173.2px solid black;
cursor:pointer;
}

#calculator_div
{
position:absolute;
top:86px;
left:30px;
width:202px;
height:312px;
background:url(images/calculator.png);
}

#formula_div
{
position:absolute;
top:360px;
left:280px;
width:221px;
height:60px;
color:#000;
font-size:20px;
text-align:center;
background:url(images/equation.png);
}

#calc_table td
{
font-size:25px;
width:45px;
height:45px;
text-align:center;
color:#fff;
}

.button
{
position:absolute;
cursor:pointer;
background-image:url(images/blank.gif);
}

#greyout
{
background-color: #000;
filter:alpha(opacity=40);
opacity: 0.4;
-moz-opacity:0.4;
z-index: 0;
height: 100%;
width: 100%;
background-repeat:no-repeat;
background-position:center;
position:absolute;
top: 0px;
left: 0px;
display:none;
}

#popup_close
{
position:absolute;
top:3px;
right:5px;
font-weight:bold;
font-size:14px;
cursor:pointer;
}

#panel_div
{
position:absolute;
top:100px;
right:0px;
width:161px;
height:340px;
background:rgba(0, 0, 0, 0.5);
font-size:16px;
border:1px solid #000;
border-radius:4px;
text-align:center;
z-index:100;
display:none;
}

#arrow_container
{
position:absolute;
top:50%;
left:50%;
text-align:center;
}

#arrow_right
{
position:absolute;
border:solid #000;
border-width:0px 1px 1px 0px;
width:10px;
height:10px;
transform:rotate(-45deg);
top:50%;
right:0px;
margin-top:-5px;
margin-left:-5px;
}

#line_right
{
position:absolute;
border:1px solid #000;
width:100%;
height:0px;
top:50%;
left:0px;
}

#radius_div
{
margin-top:-10px;
}

#shapes_added
{
position:absolute;
top:90px;
left:550px;
width:208px;
height:284px;
padding:12px;
text-align:center;
color:#000;
background:url(images/list_panel.png);
}

#intro_div
{
font-size:24px;
width:500px;
margin-left:-250px;
height:auto;
display:none;
}

#surface_area_checkbox
{
position: absolute;
top: 283px;
left: 484px;
width: 21px;
height: 15px;
}

#house_div
{
position:absolute;
top:200px;
left:10px;
}

#truck_div
{
position:absolute;
bottom:40px;
left:-370px;
width:250px;
}

#result_popup
{
position:absolute;
top:150px;
left:400px;
width:520px;
height:130px;
margin-left:-260px;
font-size:42px;
color:#000;
text-align:center;
z-index:100;
background:url(images/popup.png);
display: flex;
align-items: center;
justify-content: center;
}

#game_over_popup
{
position:absolute;
top:110px;
left:400px;
width:520px;
height:250px;
margin-left:-260px;
font-size:42px;
color:#000;
text-align:center;
z-index:100;
background:url(images/game_over_panel.png);
display: flex;
align-items: center;
justify-content: center;
}