:root {
    --light-pink: #eaa8c9;
    --pink: #c20060;
    --dark-pink: #c00160;
    --border: 10px;
}
body {
    background: url('../img/bg.png') no-repeat;
    background-size: cover;
    min-height: 100vh;
    color: #fff;
    font-family: Helvetica;
    font-size: 20px;
    padding: 40px 0;
}
a {
    text-decoration: none;
    color: #fff;
}
h1 {
    font-weight: bold;
    text-transform: uppercase;
}
section {
    min-height: 100vh;
}
.btn {
    border-radius: 10px;
    font-weight: bold;
    padding: 8px 23px;
}
.btn-group .btn {
    padding: 8px 10px;
}
.btn-primary {
    background-color: #fff;
    border-color: #fff;
    color: var(--pink);
}
.btn-primary:hover {
    background-color: var(--dark-pink);
    color: #fff;
    border-color: var(--dark-pink);
}
.btn-secondary {
    background-color: var(--pink);
    border-color: #fff;
    color: #fff;
}
.btn-secondary:hover, .btn-secondary.active {
    background-color: #fff;
    color: var(--dark-pink);
    border-color: #fff;
}
.no-hover:hover {
    background-color: inherit !important;
    color: inherit !important;
    border-color: inherit !important;
}
.badge-link {
    background: #fff;
    color: var(--pink);
    padding: 3px 8px;
    border-radius: var(--border);
    font-weight: bold;
}
.underlined-link {
    text-decoration: underline;
}
#win, #lose {
    font-size: 24px;
    font-weight: bold;
    display: none;
}
.words {
    margin: 0;
    padding: 0;
}
.words li {
    display: inline-block;
    font-size: 60px;
    font-weight: bold;
    border: 2px solid #fff;
    border-radius: var(--border);
    text-align: center;
    margin: 3px 0;
    background: var(--pink);
}
.words li:hover {
    background: #fff;
    color: var(--pink);
    cursor: pointer;
}
.words.three li {
    width: 32%;
    padding: 24px 0;
}
.words.four li {
    width: 23.7%;
    padding: 10px 0;
}
.clock {
    background: #fff;
    border: 2px solid var(--pink);
    border-radius: var(--border);
    color: var(--pink);
    text-align: center;
    font-size: 50px;
    width: 170px;
    margin: 0 auto 10px;
}
.word-counts {
    width: 90%;
    margin: 0 auto;
    text-align: center;
}
.word-counts td {
    border: 2px solid #fff;
    padding: 5px 0;
    width: calc(100% / 6);
}
.word-counts td:nth-child(odd) {
    background: var(--dark-pink);
    color: #fff;
}
.word-counts td:nth-child(even) {
    background: var(--light-pink);
    color: var(--pink);
}
.words-found {
    background: var(--pink);
    color: #fff;
    border-radius: var(--border);
    border: 2px solid #fff;
    padding: 10px;
    height: 170px;
    margin-bottom: 10px;
    overflow: auto;
}
.words-found .word {
    display: inline-block;
    margin-left: 10px;
}
.modal {
    color: #000;
}
.game {
    overscroll-behavior: none;
    touch-action: none;
}
.pink-text {
    color: var(--pink);
}
.modal {
    font-size: 14px;
}
@media only screen and (min-width: 992px) {
    .helper-holder {
        position: absolute;
        bottom: 0;
        right: 8.3333333333%;
    }
}
@media only screen and (max-width: 1200px) {
    .btn {
        font-size: 12px;
    }
}
@media only screen and (max-width: 992px) {
    .words li {
        font-size: 32px;
    }
    .game {
        max-width: 84%;
        margin: 0 auto;
    }
    h1 {
        font-size: 20px;
    }
    p {
        font-size: 12px;
    }
    .clock {
        font-size: 16px;
        width: 100px;
    }
    .word-counts {
        width: calc(84% - 10px);
        font-size: 12px;
    }
    .word-counts td {
        padding: 2px;
    }
    .words-found {
        height: 100px;
    }
    .cell {
        font-size: 50px !important;
    }
}
@media only screen and (max-width: 771px) {
    .button3-3 {
        border-top-right-radius: 10px !important;
        border-bottom-right-radius: 10px !important;
    }
    body {
        overflow: hidden;
        height: 100vh;
    }
}
@media only screen and (max-width: 400px) {
    .game {
        max-width: 84%;
    }
    .cell {
        font-size: 40px !important;
    }
}
@media only screen and (max-width: 320px) {
    body {
        padding: 10px 0;
    }
    .game {
        max-width: 84%;
    }
    .cell {
        font-size: 40px !important;
    }
    p {
        font-size: 10px;
    }
}
.incell {
    border: 3px solid silver;
    display: flex;
    width: 100%;
    margin: 4px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #fff;
}
.table3 .cell {
    width: 33.333333%;
    font-size: 60px;
}
.table4 .cell {
    width: 25%;
    font-size: 60px;
}
.cell {
    display: flex;
    align-items: stretch;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.table {
    cursor: grab;
    cursor: -webkit-grab;
    display: flex;
    flex-wrap: wrap;
    position: relative;
}
.selected {
    background-color: var(--dark-pink);
}
