@import url('https://fonts.googleapis.com/css2?family=Sansita+Swashed:wght@800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');

#gameboard {
    width: 300px;
    height: 300px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin: 50px auto 50px;
}

.gb-field {
    text-align: center;
    height: 100px;
    line-height: 100px;
    font-family: 'Sansita Swashed', cursive;
    font-size: 50px;
    color: rgb(20, 31, 53);
    cursor: pointer;
}

.upper {
    border-bottom: 5px solid darkblue;
}

.lower {
    border-top: 5px solid darkblue;
}

.middle {
    border-left: 5px solid darkblue;
    border-right: 5px solid darkblue;
}

.chooseplayers {
    position: absolute;
    display: none;
    height: 400px;
    width: 300px;
    top: 200px;
    background-color: rgb(183, 184, 196);
    border: 2px solid black;
    font-size: 20px;
}

#enter {
    font-size: 24px;
}

.playerfield {
    font-family: 'Pacifico', cursive;
    font-size: 20px;
    color: rgb(22, 42, 82);
    width: 150px;
}

.visible {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

#container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10vh;
}

#announce-winner {
    height: 50px;
    line-height: 50px;
    font-size: 30px;
}

#newgame {
    margin-top: 30px;
}

body {
    background-image: linear-gradient(180deg,
             rgb(235, 228, 167), rgb(133, 132, 130));
    background-size: 100vw 100vh;
    background-repeat: no-repeat;
    font-family: 'Pacifico', cursive;
}

h1 {
    font-size: 40px;
    text-decoration: underline darkblue 3px;
    color: rgb(20, 31, 53);
}

button {
    background-color: darkkhaki;
    border: 3px solid darkblue;
    font-family: 'Pacifico', cursive;
    font-size: 20px;
    color: rgb(22, 42, 82);
    padding: 7px 30px
}

button:hover {
    box-shadow: rgb(47, 47, 82) 5px 5px 15px 5px;
    background-color: rgb(194, 192, 164);
}

button:active {
    border-color: rgb(153, 32, 32);
}