
/* -------------------------- */
/* Modal frame with result    */
.emodal {
    position: absolute;
    font-size:17px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    max-width: 500px;
    min-width: 400px;
    
    background-color: white;
    padding: 25px;
    border-radius: 5px;
    box-shadow: 0 3rem 5rem rgba(0, 0, 0, 0.3);
    z-index: 1001;
    opacity: 95%;
    user-select: none;
    border-left: 12px solid #66b3aa;
}

#popupH1 {
    font-size:45px;
    font-weight: bold;
    padding-bottom: 10px;
}

#popupStatistics {
    font-size:25px;
    padding-bottom: 5px;
}

#popupGamemode {
    padding-top: 6px;
}

#popupDate {
    padding-top: 6px;
    padding-bottom:20px;
    border-bottom:1px solid black;
}

#popupCps {
    padding-top: 6px;
}

#correctAnswers {
    padding-top: 10px;
}

#struggledAnswers {
    padding-top:10px;
}

#failedAnswers {
    padding-top:10px;
}

.ms {
    font-size: 18px;
    padding-top: 10px;
}

.fade-in {
    animation: fadeIn 0.5s;
}

.show-modal {
    font-size: 2rem;
    font-weight: 600;
    padding: 1.75rem 3.5rem;
    border: none;
    background-color: #fff;
    color: #444;
    border-radius: 10rem;
    cursor: pointer;
    top: 20px;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 40px;
    color: #999999;
    cursor: pointer;
    border: none;
    background: none;
}

/* ------------------------ */
/* CLASSES FOR FIREWORKS    */
.fireworks-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200%;
    /*    background-color: rgba(0, 0, 0, 0.2); */
    z-index: 5;
}

.gray {
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 6;
}

#playIcon.enabled {
    opacity: 1;
    cursor: pointer;
}

@media (pointer: coarse) {
    .flagIconHeader {
        display:none;
    }

    .flagIcon {
        display:none;
        height:32px;
    }

    #fullScreenIcon {
        display: none !important;
    }

    .moveImage{
        display: none;
    }

    /* CSS rules for touch screens */
    .cursorText {
        font-size: 11px !important;
        padding: 1px !important;
        display: none !important;

    }

    .gamemodelabel {
        display: none;
    }

    #controls {
        font-size: 11px !important;
        height: 22px;
    }
}

@media (max-width: 850px) {
    .statistics {
        font-size: 15px;
    }
    .svg_name.abbr {

        opacity: 0.6;
        background-color: rgba(255, 255, 255, 0.1);
        color:black;
    }

    #popupH1 {
        font-size:35px;
    }
}

@media (max-width: 500px) {

    .flagIcon {
        display:none;
        height:32px;
    }
    
    .answered.abbr {
        display: none !important;
    }

    .line.abbr {
        display: none !important;
    }

    .tagCloud {
        line-height: 130%;
        padding: 10px;
        background-color: #f5f5f5;
    }

    #AaImage {
        display: none !important;
    }

    .gamemodelabel {
        display: none;
    }

}