body {
    background-color: #DF4661;
    background-image: url('snow.jpg');
    background-repeat: repeat;
    background-blend-mode: color-burn;
    /* background-color: #D6001C; */
}

h1 {
    color: whitesmoke;
    margin: 20px;
    text-align: center;
}

h2 {
    color: whitesmoke;
    margin: 20px;
    text-align: center;
}

h3 {
    color: whitesmoke;
    margin-top: 0px;
    margin-bottom: 10px;
    text-align: center;
}

.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.workout-button {
    text-align: center;
    padding: 1em;
    margin: 0.5em;
}

table {
    max-width: 1000px;
    width: 85%;
    border: 10px solid #873600;
    border-radius: 6px;
    border-spacing: 4px;
}

td {
    background-color: #D6001C;
    color: whitesmoke;
    padding: 10px;
    margin: 10px;
    width: 15%;
    position: relative;
    border: 2px dashed whitesmoke;
    border-radius: 6px;
}

td:after {
    content: '';
    display: inline-block;
    margin-top: 100%;
}

td.checked {
    background-color: rgb(240, 128, 128, 0.1);
    color: whitesmoke;
    border: 1px dashed #D6001C;
}

td.opened {
    background-color: rgb(240, 128, 128, 1);
    color: D6001C;
    border: 2px dashed #D6001C;
}

.cell-content {
    width: 100%;
    height: 100%;
    text-align: center;
    font-weight: bold;
    font-size: 20;
    float: left;
}

.score-text {
    font-weight: bold;
    font-size: 20;
    color: whitesmoke;
}

#score-container {
    margin: 20px;
}

.main-container {
    background-image: url('background.jpg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.popup {
    position: relative;
    display: inline-block;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* The actual popup */

.blocker {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    content: ' ';
    background: rgba(0, 0, 0, .5);
}

.popupcontent {
    pointer-events: none;
}

.popup .popuptext {
    visibility: hidden;
    width: 160px;
    background-color: whitesmoke;
    color: #D6001C;
    text-align: center;
    border: 4px dotted #D6001C;
    border-radius: 6px;
    padding: 8px 0;
    position: absolute;
    z-index: 1;
    bottom: -125%;
    left: 50%;
    margin-left: -80px;
}

/* Toggle this class - hide and show the popup */

.popup .show {
    visibility: visible;
    -webkit-animation: fadeIn 1s;
    animation: fadeIn 1s;
}

/* Add animation (fade in the popup) */

@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* The Modal (background) */

.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

@media only screen and (max-width: 720px) {
    .modal {
        display: none;
        /* Hidden by default */
        position: fixed;
        /* Stay in place */
        z-index: 1;
        /* Sit on top */
        padding-top: 20px;
        /* Location of the box */
        left: 0;
        top: 0;
        width: 100%;
        /* Full width */
        height: 100%;
        /* Full height */
        overflow: auto;
        /* Enable scroll if needed */
        background-color: rgb(0, 0, 0);
        /* Fallback color */
        background-color: rgba(0, 0, 0, 0.4);
        /* Black w/ opacity */
    }
}

/* Modal Content */

.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 50%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
}

/* Add Animation */

@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }
    to {
        top: 0;
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }
    to {
        top: 0;
        opacity: 1
    }
}

/* The Close Button */

.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover, .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 2px 16px;
    background-color: #00873E;
    color: white;
}

.modal-body {
    padding: 2px 16px;
    background-image: url('rane.png');
    background-repeat: no-repeat;
    background-position: right;
    background-size: contain;
    background-origin: content-box;
}

@media only screen and (max-width: 720px) {
    .modal-body {
        padding: 2px 16px;
        background-image: none;
    }
}

.modal-footer {
    padding: 2px 16px;
    background-color: #00873E;
    color: white;
    text-align: center;
}