﻿body {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
}

#divMain {
    display: grid;
    grid-template-rows:1fr 6fr 2fr;
    grid-template-columns: 1fr;
    width: 540px;
    height: 630px;
}

#result {
    grid-area: 1/1/span 1/span 1;
    color: rebeccapurple;
    font-size: 22px;
    font-weight: 700;
    text-align:center;
}
#divXO {
    grid-area: 2/1/span 1/span 1;
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr;
}

#divScores {
    grid-area: 3/1/span 1/span 1;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-template-rows: 1fr 1fr;
    height: 10%;
}

.players {
    color: black;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}

#player1 {
    grid-area: 1/1/span 1/span 1;
}

#tie {
    grid-area: 1/2/span 1/span 1;
}

#player2 {
    grid-area: 1/3/span 1/span 1;
}

#select {
    grid-area: 1/4/span 2/span 1;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    padding:20%;
}

input[type="button"] {
   
    color: black;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

#btn1 {
    grid-area: 1/1/span 1/span 1;
    height:80%;
}

#btn2 {
    grid-area: 2/1/span 1/span 1;
    height: 80%;
}

.scores {
    color: black;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}

#score1 {
    grid-area: 2/1/span 1/span 1;
}

#score2 {
    grid-area: 2/2/span 1/span 1;
}

#score3 {
    grid-area: 2/3/span 1/span 1;
}

.grid-item {
    border: 3px solid navy;
}

#div1 {
    border-top-style: none;
    border-left-style: none;
}

#div2 {
    border-top-style: none;
}

#div3 {
    border-top-style: none;
    border-right-style: none;
}

#div4 {
    border-left-style: none;
}

#div6 {
    border-right-style: none;
}

#div7 {
    border-left-style: none;
    border-bottom-style: none;
}

#div8 {
    border-bottom-style: none;
}

#div9 {
    border-right-style: none;
    border-bottom-style: none;
}
