* {
    font-family: "Open Sans", sans-serif;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
    touch-action: manipulation;
}

h1, h2, h3, ul {
    margin-block-start: 5px;
    margin-block-end: 5px;
}

body {
    margin: 0;
    background-color: green;
}

#loading {
    height: 100%;
    width: 100%;
    line-height: 450px;
    text-align: center;
}

#remaining-cards {
    position: relative;
    top: 55%;
    margin-left: 15px;
    width: 90px;
    overflow-wrap: break-word;
    display: inline-block;
}

#intro {
    text-align: center;
    padding-right: 50px;
    padding-left: 50px;
    margin-bottom: 20px;
}

#outro {
    width: 450px;
    margin: 0 auto;
}

#status {
    display: none;
    width: 100%;
    height: 35px;
    line-height: 35px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
    color: orangered;
    background-color: darkgreen;
    border-radius: 7px;
    box-shadow: 0 0 0 5px saddlebrown;
}

#restart {
    width: 100%;
    height: 35px;
    font-size: 20px;
}

img.preload {
    display: none;
}

#card-table {
    background-color: darkgreen;
    border-radius: 7px;
    box-shadow: 0 0 0 5px saddlebrown;
    height: 450px;
    width: 450px;
    margin: 0 auto 20px;
}

.marker {
    position: absolute;
    box-sizing: border-box;
    opacity: 50%;
    border: 2px black dashed;
    border-radius: 7px;
    cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
    .marker:hover {
        background-color: beige;
    }
}

.marker.closed {
    background-color: red;
    z-index: 10000;
}

.marker.has-card {
    border: 0;
    z-index: 10000;
}

.marker.selected {
    background-color: green;
}
