* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    background-color: #243e4b;
}

/* creating color variables here to use in JS file */
:root {
    --orange: #F2C14E;
    --winning-blocks: #92cce9;
    --draw-blocks: rgb(242, 76, 76);
}

body {
    color: var(--orange);
    font-family: 'Finger Paint', cursive;
}

h1 {
    font-size: 54px;
    text-transform: uppercase;
}

.container {
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#gameboard {
    width: 450px;
    display: flex;
    flex-wrap: wrap;
    margin-top: 40px;
}

.box {
    height: 150px;
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    font-size: 120px;
    border-right: 2px solid;
    border-bottom: 2px solid;
}

/* saying for each 3rd child it will do this... */
.box:nth-child(3n) {
    border-right: none;
}

/* saying all class="box" divs, after the 6th with class="box" do this to the rest with class="box" */
.box:nth-child(6) ~ .box {
    border-bottom: none;
}

button {
    padding: 10px 20px;
    border-radius: 10px;
    background-color: var(--orange);
    color: #333;
    border-color: var(--orange);
    font-size: 18px;
    transition: 200ms transform;
    font-weight: 600;
}

button:hover {
    cursor: pointer;
    transform: translateY(-2px);
}
