.abilityOverlay {
    z-index: 5;
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.93);
    cursor: pointer;
}

.abilityOverlay-content {
    z-index: 5;
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 22px;
    color: white;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

.abilityInfo {
    position: absolute;
    cursor: pointer;
    z-index: 3;
    padding-bottom: 20px;
    color: rgb(255, 223, 0);
    padding: 0.2rem;
}

@media (max-width: 640px) {
    .abilityOverlay-content {
        font-size: 9px;
    }
}
