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

body {
    background-color: #132226;
}

td {
    width: 150px;
    height: 150px;
    position: relative;
    border: 1px solid black;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
}

table {
    position: absolute;
    left: 30%;
    right: 70%;
    padding-top: 5%;
    border-collapse: collapse;
    top: 100px;
}

table tr:first-child td {
    border-top: 0;
}

table tr:last-child td {
    border-bottom: 0;
}

table tr td:first-child {
    border-left: 0;
}

table tr td:last-child {
    border-right: 0;
}

#title {
    position: absolute;
    left: 27.5%;
    right: 67.5%;
    width: 500px;
    height: 40px;
    text-align: center;
    background-color: slategray;
    color: aliceblue;
    border: 2px solid darkgrey;
    padding: 1%;
    font-size: 30px;
}

.cell {
    background-color: #6A8A82;
}

.cell:hover {
    background-color: slategray;
}

#playAgain {
    position: absolute;
    top: 40px;
    left: 40px;
    height: 50px;
    width: 130px;
    font-size: 15px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    background-color: #6A8A82;
    color: aliceblue;
    border: 2px solid darkgrey;
}

#restartGame {
    position: absolute;
    top: 40px;
    right: 40px;
    height: 50px;
    width: 130px;
    font-size: 15px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    background-color: #6A8A82;
    color: aliceblue;
    border: 2px solid darkgrey;
}

#playAgain:hover {
    background-color: slategray;
    border: 2px solid black;
}

#restartGame:hover {
    background-color: slategray;
    border: 2px solid black;
}

footer {
    background-color: slategray;
    position: fixed;
    color: aliceblue;
    text-align: center;
    bottom: 0;
    left: 0;
    right: 0;
    /* color: black; */
    font-size: 25px;
    font-style: italic;
}

.winner {
    font-size: 40px;
    color: white;
    position: absolute;
    right: 100px;
    top: 400px;
}

.turn {
    font-size: 40px;
    color: white;
    position: absolute;
    left: 100px;
    top: 400px;
}

#scoreArea p:first-child {
    font-size: 40px;
    color: white;
    position: absolute;
    left: 100px;
    top: 200px;
}

#scoreArea p:last-child {
    font-size: 40px;
    color: white;
    position: absolute;
    left: 100px;
    top: 250px;
}

@media only screen and (max-width: 700px) {
    td {
        width: 70px;
        height: 70px;
        cursor: pointer;
    }
    #title {
        width: 300px;
        height: 30px;
        font-size: 16px;
    }
    #playAgain {
        position: absolute;
        top: 80%;
        left: 40px;
    }
    #restartGame {
        position: absolute;
        top: 80%;
        right: 40px;
    }
    #scoreArea p:first-child {
        font-size: 20px;
        position: absolute;
        left: 15px;
        top: 200px;
    }
    #scoreArea p:last-child {
        font-size: 20px;
        position: absolute;
        left: 15px;
        top: 250px;
    }
}
