body {
    font-family: 'Poppins', sans-serif;
    padding: .1px;
    margin: 0
}

.title {
    font-size: 2.5rem;
    color: #fff;
    letter-spacing: 3px;
    font-weight: 700;
    text-transform: uppercase
}

@media(max-width:460px) {
    .title {
        font-size: 1.8rem
    }
}



@media(max-width:460px) {

}

.keyboard-friendly {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 12px;
    background: rgba(255, 255, 255, .75)
}

.keyboard-friendly-img {
    width: 70px;
    display: block
}

.board {
    border-collapse: separate;
    border-spacing: 5px;
    background: rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 0 15px rgba(255, 255, 255, 0.1)
}

.board button {
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 0;
    margin: 3px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease
}

.board button:hover {
    filter: brightness(120%);
    transform: scale(1.05)
}

.board button:focus {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.6)
}

.board button::-moz-focus-inner {
    border: 0
}

.board button.red {
    background: #e84393;
    background: linear-gradient(135deg, #fd79a8 0%, #e84393 100%);
    box-shadow: 0 0 15px rgba(232, 67, 147, 0.7), inset 0 0 10px rgba(0, 0, 0, 0.2);
    animation: dropPiece 0.5s ease
}

.board button.black {
    background: #0984e3;
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    box-shadow: 0 0 15px rgba(9, 132, 227, 0.7), inset 0 0 10px rgba(0, 0, 0, 0.2);
    animation: dropPiece 0.5s ease
}

@keyframes dropPiece {
    0% {
        transform: translateY(-20px);
        opacity: 0
    }

    70% {
        transform: translateY(10px)
    }

    100% {
        transform: translateY(0);
        opacity: 1
    }
}

@media(max-width:460px) {
    .board button {
        width: 30px;
        height: 30px
    }
}

.play-again {
    height: 0;
    overflow: hidden;
    transition: all 0.5s ease
}

.play-again.show {
    height: 40px;
    transition: 0.75s
}

.play-again-btn {
    display: inline-block;
    margin-bottom: 2em;
    height: 40px;
    line-height: 40px;
    width: 50%;
    background: #3cb371;
    color: #fff;
    text-decoration: none;
    opacity: 1
}

.play-again-btn:hover,
.play-again-btn:focus {
    transform: translateY(-3px)
}

.top-text {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    color: #fff
}

@media(max-width:460px) {
    .top-text {
        font-size: 0.9rem
    }
}

.primary {
    color: #fff;
    margin: 0 0 0.75rem;
    font-weight: 400;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3)
}

.primary .red,
.primary .black {
    position: relative
}

.primary .red::after,
.primary .black::after {
    display: block;
    width: 16px;
    height: 16px;
    content: "";
    position: absolute;
    right: 6px;
    top: 8px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2)
}

.primary [contenteditable=true] {
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    padding: 0 1.25em 0 .25em;
    transition: all 0.3s ease
}

.primary [contenteditable=true]:focus {
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    border-bottom: 1px solid #fff
}

.primary [contenteditable=true].red::after {
    background: linear-gradient(135deg, #fd79a8 0%, #e84393 100%)
}

.primary [contenteditable=true].black::after {
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%)
}

.secondary {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-weight: 400
}

.secondary [contenteditable=true] {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0 1.25em 0 .25em;
    transition: all 0.3s ease
}

.secondary [contenteditable=true]:focus {
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.7)
}

.code {
    position: absolute;
    bottom: 5px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    font-size: 12px;
    color: #bbb;
    padding: 4px 8px;
    background: rgba(255, 255, 255, .75)
}

.center {
    text-align: center
}