*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --white: #fff;
    --winning-blocks: #2d414b;
}

body {
    color: var(--white);
    font-family: 'Finger Paint', cursive;
}
h1 {
    font-size: 54px;
    text-transform: uppercase;
}

.container {
    padding: 40px;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: black;
}

#gameboard {
    width: 300px;
    display: flex;
    flex-wrap: wrap;
    margin-top: 40px;
}
.box {
    height: 100px;
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 120px;
    border-right: 2px solid;
    border-bottom: 2px solid;
}
.box:nth-child(3n) {
    border-right: none;
}
.box:nth-child(6) ~ .box {
    border-bottom: none;
} 
button {
    padding: 10px 20px;
    border-radius: 10px;
    background-color: var(--white);
    color: black;
    border-color: var(--white);
    font-size: 18px;
    transition: 200ms transform;
    font-weight: 600;
}
button:hover {
    cursor: pointer;
    transform: translateY(-2px);
}
#ft{
    background-color: black;
    color: white;
    position: absolute;
    left: 39%;
    top: 95%; 
}
#playerText{
    position: relative;
    top: -5%;
    /* font-size: 6em; */
    /* letter-spacing: 15px; */
    color: #0e3742;
    text-transform: uppercase;
    /* width: 100%; */
    /* text-align: center; */
    -webkit-box-reflect: below 1px linear-gradient(transform,#0008);
    line-height: 0.70em;
    outline: none;
    animation: animate 4s linear infinite;
}

@keyframes animate{
    0%,18%,20%,50.1%,60%,65.1%,80%,90.1%,92%{
        color: #0e3742;
        text-shadow: none;

    }
    18.1%,20.1%,30%,50%,60.1%,65%,80.1%,90%,92.1%,100%{
        color: #fff;
        text-shadow: 0 0 10px #03bcf4,
        0 0 20px #03bcf4,
        0 0 40px #03bcf4,
        0 0 80px #03bcf4,
        0 0 160px #03bcf4;
        
    }
    
    
}
@media only screen and (max-width: 600px){
    #ft{
        background-color: black;
        color: white;
        position: absolute;
        left: 29%;
        top: 95%;
        font-size: 10px; 
    }
    h1 {
        font-size: 47px;
        text-transform: uppercase;
    }

}
