@import url('https://fonts.googleapis.com/css?family=Cardo&family=Ubuntu');
@import url('https://fonts.googleapis.com/css?family=Cardo&family=Ubuntu+Mono');

html {
    padding:0;
    margin:0;
}

body {
    background-color: #313645;
    font-family: "Ubuntu", monospace;
}

h1 {
    color: #FFF;
    text-align: center;
}

div#diamond {
    margin: auto;
    width:500px;
    height:500px;
}

div#diamond div.shape {
    width:500px;
    height:500px;
    position: absolute;
    animation: fadeIn 1s;
}


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

div#modal {
    display: none;
    top:0;
    left:0;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index:20;
    cursor: pointer;
}

div#flag {
    display: block;
    position: absolute;
    width:380px;
    top: 180px;
    left:50%;
    margin-left: -215px;
    background-color: #FFF;
    border: 5px solid #e8c30e;
    z-index: 30;
    padding:20px;
    text-align:center;
    font-size:22px;
    font-weight: bold;
}


div#question_box {
    display: none;
    position: absolute;
    width:420px;
    top: 30px;
    left:50%;
    margin-left: -215px;
    background-color: #FFF;
    border: 5px solid #18caf0;
    z-index: 30;
    padding:20px;
}

div#question_box div#question {
    font-size:18px;
    text-align: center;
}

div#question_box div#wrong-answer {
    font-size:25px;
    text-align: center;
    height: 50px;
    line-height: 50px;
    color: #a61717;
}

div#question_box div.answer {
    margin:auto auto 20px auto;
    width: 370px;
    height: 60px;
    line-height: 60px;
    border: 5px solid #18caf0;
    font-size: 18px;
    text-align: center;
    background-color: #FFF;
    color:#000;
}

div#question_box div.answer:hover {
    background-color: #313645;
    color:#FFF;
    cursor: pointer;
}

div#question_box div.answer:last-child {
    margin-bottom:0px;
}