h1 {
    margin-top: 0px;
    max-width: 500px;

}


@keyframes pulse {
    0% {
        fill: #c2c964;
    }

    50% {
        fill: rgb(0, 110, 255);
    }

    100% {
        fill: #c2c964;
    }
}


.pulse {
    animation: pulse 1s infinite;
}

#grb {
    max-width: 700px;
    margin: auto;
    margin-top: 20px;
}

.wrong-map-section {
    fill: #ff0000cc;
}

#keyboard button {
    font-size: 1rem;
    padding: 0;
}

#hint {
    text-shadow: 2px 8px 6px rgba(0, 0, 0, 0.2),
        0px -5px 35px rgba(255, 255, 255, 0.3);
}

#guess-list {
    margin: auto;
    margin-top: 20px;
    max-width: 300px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
}

.guess-list-element {
    border-bottom: 1px solid #00000044;
    display: flex;
    justify-content: space-between;
}

.wrong-text {
    color: #ff0000aa;
}

.correct-text {
    color: #00aa00;
}

#input-section {
    max-width: 400px;
    margin: auto;
    display: flex;
    padding-top: 40px;
}

#victory-section {
    max-width: 400px;
    margin: auto;
    display: none;
}

#victory-section-answer {
    font-family: 'Luckiest Guy', cursive;
    font-size: 3.5rem;
    color: #1D2D6D;
    text-align: center;
    line-height: 1;
    margin-bottom: 0;
    padding-bottom: 0;
    letter-spacing: 2px;
}

.dropdown-style-overwrite {
    display: inline !important;
    width: 90%;
}


h2 {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid gray;
    font-family: "Pacifico", cursive;
    font-weight: 100;
}

h2 img {
    padding-left: 40px;
    padding-right: 40px;
}

h3 {
    text-align: center;
    padding-bottom: 20px;
}

#crossword {
    text-align: center;
    max-width: 100%;
}

#finish-text {
    display: none;
}

.crossword {
    border-collapse: collapse;
    margin-left: auto;
    margin-right: auto;
    clear: both;
    margin-top: 10px;
    margin-bottom: 10px;

    user-select: none;
}

.crossword td {
    border: 1px solid black;
    padding: 0;
    margin: 0;
    vertical-align: middle;
    padding: 0;
    text-align: center;
    width: 30px;
    height: 30px;
    text-transform: uppercase;
    font-weight: bold;
}

@media (hover: hover) and (pointer: fine) {
    .crossword td:hover {
        box-shadow: inset 0 3px 6px rgba(0, 136, 255, 0.281);
    }

    .crossword td.no-border:hover {
        box-shadow: none;
    }
}


td.cell-selected {
    background-color: #6cbbff8a !important;
}

td.cell-correct {
    background-color: #6cff788a;
}

td.cell-wrong {
    background-color: #ff6c6c8a;
}


.crossword .no-border {
    border: none;
}

.number-label {
    position: absolute;
    transform: translate(0, 0);
    font-weight: bold;
    font-size: 12px;
    pointer-events: none;

    display: block;
    line-height: 1;
}

#clues {
    margin: auto;
    user-select: none;
}

#clues {
    vertical-align: top;
}

#clues tbody {
    text-align: left;
}

ul li {
    list-style-type: none;
}

#controls {
    text-align: center;
}

.crossword .cell-direction {
    box-shadow: inset 0 2px 6px rgb(0 138 255 / 65%);
}


@media (hover: hover) and (pointer: fine) {

    #across li:hover,
    #down li:hover {
        background: #258bff31;
        cursor: pointer;
    }
}

#across li:active,
#down li:active {
    background: #255fff48;
    box-shadow: inset 0 2px 6px rgb(0 138 255 / 65%);
}

#across li.in-focus,
#down li.in-focus {
    background: #258bff31;
}

#across li,
#down li {
    border-radius: 5px;
    padding-left: 3px;
    padding-right: 3px;
}


#across-th.selected-direction,
#down-th.selected-direction {
    background: #00000016;
    border-radius: 20px;
}

#across.selected-direction,
#down.selected-direction {
    background: #00000006;
}

ul {
    padding-inline-start: 10px;
}


#additional-hint {
    color: #00000066;
}

#game-timer {
    font-size: 2rem;
    font-weight: bold;
    color: #00000086
}

#start-btn {
    padding: 10px;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 20px;
}

.clue-wrap {
    margin-top: 40px;
}