﻿.center {
    margin: auto;
    margin-top: 60px;
    width: 650px;
    border: none;
}

.question {
    margin: auto;
    width: 100%;
    min-height: 150px;
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.8);
    margin-top: 40px;
    padding: 10px 10px 10px 10px;
}

.answersContainer {
    margin-top: 20px;
}

.answer {
    width: 100%;
    margin-top: 5px;
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px 10px 10px 10px;
}

    .answer:hover {
        background-color: rgba(255, 255, 255, 0.9);
        cursor: pointer;
    }

    .question div, .answer div {
        padding: 10px 10px 10px 10px;
    }

.restart {
    width: 200px;
    height: 50px;
    background-color: #e38923;
    border-radius: 15px;
    float: none;
    margin: 0 auto;
    margin-top: 20px;
    box-shadow: #000000 0px 0px 8px;
    border: 1px solid #c78335;
    text-align: center;
    line-height: 47px;
    font-weight: bold;
    font-size: 17px;
}

    .restart:hover {
        box-shadow: #ffffff 0px 0px 8px;
        cursor: pointer;
    }

.resultArea {
    width: 200px;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    display: inline-block;
    float: right;
    margin-right: 50px;
}

    .resultArea > div {
        margin-left: 10px;
        font-size: 22px;
        margin-top: 3px;
    }

        .resultArea > div > #time {
            float: right;
            margin-right: 10px;
            color: #e08824;
            font-weight: bold;
        }

        .resultArea > div > #right {
            float: right;
            margin-right: 10px;
            color: rgba(76, 175, 80, 1);
            font-weight: bold;
        }

        .resultArea > div > #wrong {
            float: right;
            margin-right: 10px;
            color: rgba(228, 70, 70, 1);
            font-weight: bold;
        }

        .resultArea > div > :first-child {
            font-weight: bold;
        }

@media screen and (max-width:1220px) {
    .center {
        width: 90%;
        margin-top: 30px;
    }

    .question {
        width: auto;
    }

    .answer {
        width: auto;
    }



    .resultArea {
        width: 90%;
        min-width: 367px;
        height: 40px;
        background-color: rgba(255, 255, 255, 0.8);
        border-radius: 15px;
        display: flex;
        float: none;
        margin: 0 auto;
        margin-top: 10px;
    }

        .resultArea > div {
            margin-left: 5px;
        }

            .resultArea > div > #time, #right, #wrong {
                margin-left: 5px;
                margin-top: 3px;
            }
}
