h1 {
    margin-top: -1px;
    padding-left: 10px;
    font-size: 3em;
}

h3 {
    padding: 1em;
}

h6 {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

body{
    font-family: 'Nanum Pen Script', cursive;
    /* touch-action: none;
    user-select: none; */
}

.angry-grid {
    display: grid;
    grid-template-rows: 4rem auto 45px;
    grid-template-columns: 16rem auto;
    gap: 3px;
    height: 100%;
}

#titleCell {
    background-color: #a3a3a3;
    grid-row-start: 1;
    grid-column-start: 2;
    grid-row-end: 2;
    grid-column-end: 3;
    font-family: 'Annie Use Your Telescope', cursive;
}

#sidebarCell {
    color: white;
    background-color: #385b94;
    grid-row-start: 2;
    grid-column-start: 1;
    grid-row-end: 4;
    grid-column-end: 2;
    font-size: 1.5em;
    padding: 10px;
}

#bodyCell {
    background-color: #d0d9e6;
    grid-row-start: 2;
    grid-column-start: 2;
    grid-row-end: 3;
    grid-column-end: 3;
    padding: 20px;
}

#footerCell {
    background-color: #151127;
    grid-row-start: 3;
    grid-column-start: 2;
    grid-row-end: 4;
    grid-column-end: 3;
    color: white;
    padding: 5px;
}

#logoCell {
    background-color: #2b4c81;
    grid-row-start: 1;
    grid-column-start: 1;
    grid-row-end: 2;
    grid-column-end: 2;
    padding: 5px;
    overflow: hidden;
}

.column {
    display: flex;
    flex-direction: column-reverse;
    flex-wrap: nowrap;
}
#scoreBox {
    width: 100%;
    font-size: 3em;
    height: .5em;
    padding: 2px;
    margin: 0px;
}
#score{
    float: left;
    width: 1em;
}
#player {
    float: right;
    width: 200px;
}

#gameArea {
    display: flex;
    flex-direction: row;
}

.gamePiece {
    background-color: white;
    border: 2px solid black;
    border-radius: 5px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    cursor: move;
    width: 3em;
    height: 2em;
    margin: 3px;
    /* pointer-events: auto;
    touch-action: auto;
    user-select: all; */
}

.gamePiece.over {
    background-color: lightblue;
}

.gamePiece.under {
    background-color: rgb(247, 0, 255);
}

.gamePiece.right {
    background-color: green;
}

.gamePiece.wrong {
    /* background-color: red; */
    animation: blinkingBackground 500ms infinite;
}

@keyframes blinkingBackground{
    0% {
        background-color: rgb(255, 186, 186);
    }
    25% {
        background-color: rgb(255, 92, 92);
    }
    50% {
        background-color: red;
    }
    75% {
        background-color: rgb(255, 92, 92);
    }
    100% {
        background-color: rgb(255, 186, 186);
    }
}
