html, body {
    margin: 0;
    cursor: default;
}

#app {
    height: 100vh;
    width: 100vw;
    background: black;
    opacity: 0;
    position: relative;
}

.removeOpacity {
    animation-name: opacityZeroToOne;
    animation-duration: 2s;
    animation-fill-mode: forwards;
}

#content {
    margin: 15px 20% 15px 20%;
    width: 60%;
    height: calc(100% - 30px);
    position:absolute;
    display: flex;
    flex-direction: column;
    top: 0; bottom: 0; left: 0; right: 0;
    overflow: auto;
    color: white;
}

#nextSubmitBtn {
    background-color: #A6A15E;
    border: 0;
    border-radius: 50px;
    height: 32px;
    color: #1D0029;
    padding: 5px 5px;
    text-align: center;
    display: inline-block;
    font-size: 0.9em;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    outline:none;
    float: right;
}

#messageArea {
    width: 50%;
    font-size: 0.8em;
    color: palevioletred;
    display: table-cell;
    vertical-align: middle;
    height: 32px;
    padding-right: 15px;
    text-align: right;
}

#nextSubmitBtn:hover {
    background-color: #ADB2D3;
}

#nextSubmitBtn:focus {
    border: none;
}

#actionArea {
    height: 32px;
    width: 100%;
    display: table;
}

#titleArea {
    border: 4px double dimgrey;
    border-radius: 90px;
    padding: 0 10vw 0 10vw;
    background-color: rgba(255, 255, 255, 0.1);
}

#title {
    font-size: 1.75em;
}

#description {
    font-size: 1em;
}

#contentArea{
    display: flex;
    flex-direction: column;
    opacity: 0;
    flex:1;
}

#questionArea{
    flex: 1;
    display: flex;
    flex-direction: column;
    margin: 10px 0 10px 0;
    border: 1px solid lightsalmon;
}

#questionText {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background-color: rgba(0, 0, 0, 0.75)
}

#questionTextArea {
    height: 100%;
    font-size: large;
    position: relative;
    overflow: hidden;
}

#questionImage{
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    height: 30vh;
    max-height: 400px;
    flex: 1;
}

.noQuizMessage {
    padding: 100px 15px 0 15px;
    text-align: center;
    color: crimson;
}

input {
    position: absolute;
    visibility: hidden;
}

.option {
    margin: 5px;
}

.option:hover .label {
    background-color: cornflowerblue;
    color:midnightblue;
    transition: all 0.25s ease-in-out;
}

.labelSelected  {
    background-color: midnightblue !important;
    color: ivory !important;
    transition: all 0.25s ease-out;
}

.labelCorrect  {
    background-color: darkolivegreen !important;
    color: darkkhaki !important;
    transition: all 0.5s ease-in;
}

.label {
    height: 100%;
    padding: 15px;
    display: block;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.75);
    color: black;
}

.titleCorrect {
    text-align: center;
    font-size: 3em;
    color: orange;
}

.resultMessage {
    padding: 100px 30px 100px 30px;
    text-align: center;
    font-size: 2em;
}

.textCaption {
    padding-left: 20px;
    vertical-align: super;
}

.icon::before {
    display: inline-block;
    content: '';
    height: 0.75em;
    width: 0.75em;
    margin: auto;
    transition: background 0.25s linear;
    position: absolute;
    top: 2px;
    left: 2px;
}

.option:hover .icon {
    border: 5px solid #FFFFFF;
}

.icon {
    display: inline-block;
    height: 1em;
    width: 1em;
    border: 5px solid #AAAAAA;
    z-index: 5;
    margin: auto;
    transition: background 0.25s linear;
    position: relative;
}

.radioIcon {
    border-radius: 100%;
}


.radioIcon::before {
    border-radius: 100%;
}

#paging {
    position: absolute;
    right: 0;
    background-color: dimgrey;
    color: ivory;
    visibility: hidden;
    padding: 20px;
    border-radius: 0 0 0 30px;
}

.correctInfo {
    color: azure;
}

.correctAnswer {
    color: lightgreen !important;
    font-weight: bold;
    font-size: 1em;
}

.wrongAnswer {
    color: lightcoral !important;
    font-weight: bold;
    font-size: 1em;
}

.fontSmall {
    font-size: small;
}

.correctMessage{
    text-align: center;
    padding-bottom: 15px;
}

input:checked ~ .icon {
    border: 5px solid #0DFF92;
}

input:checked ~ .icon::before{
    background: #0DFF92;
}

@media only screen and (max-width: 640px) {
    #content {
        margin: 15px;
        width: calc(100% - 30px);
        height: calc(100% - 30px);
    }
    #titleArea {
        padding: 0 64px 0 64px;
    }
    #title {
        font-size:16px;
    }
    #description {
        font-size:10px;
    }
    .titleCorrect {
        font-size: 1.5em;
    }
    .resultMessage {
        font-size: 1em;
    }
}

@media only screen and (min-width: 1200px) {
    #titleArea {
        padding: 0 120px 0 120px;
    }

    .correctInfo{
        display: flex;
    }

    .correctMessage{
        flex: 1;
    }
}

@keyframes opacityZeroToOne {
    from { opacity: 0; }
    to { opacity: 1; }
}