@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@200;300;400;500;600;700;800;900&display=swap');

.hide{
  display : none;

}
:root {
  --cell-size: 100px;
  --mark-size: calc(var(--cell-size) * .9);
}
#top {
  height: 10vh;
  width: 100%;
  color: white;
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
}
#head{
  flex-direction: row;
  font-size: 30px;
  font-family: 'Poppins', sans-serif;
}
#Menustyle{
  color: #0893b6 !important;
  font-family: 'Poppins', sans-serif;
  font-size: 40px;
  font-weight: 600;
}
a{  
  color: #f64c72 !important;  
}  
.single{
  margin-top: 20px;

}
h5{
  
  font-size: 16px;
}
.game--title{

  margin-top: 20px;
}
body {
  font-family: 'Poppins', sans-serif;
}

section {
  text-align: center;
}
.game--container {
  background-color: rgba(0, 0, 0, 0.904);
  margin: 50px auto;
  vertical-align: center;
  width: 400px;
  height: 400px;
  font-size: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  grid-gap: 2px;
  border-radius: 4px;
  
}
.chosing-message1 {
 
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 5rem;
  flex-direction: column;
}


.cell {
  background-color: white;
  transition: background-color .5s;  
  display: flex;
  width: 132px;
  height: 132px;
  justify-content: center;
  align-items: center;
}


.game--restart,.game--forcerestart ,.game--menu {
  margin-bottom: 20px;
  margin-right: 20px;
  margin-top: 20px;
}
.input-prepend .input-append .right{
  
  margin-top: 20px;
}


.chosing-message1.show {
  display: flex;
}

.cell.x,
.cell.circle {
  cursor: not-allowed;
}

.cell.x::before,
.cell.x::after,
.cell.circle::before {
  background-color: black;
}

.board.x .cell:not(.x):not(.circle):hover::before,
.board.x .cell:not(.x):not(.circle):hover::after,
.board.circle .cell:not(.x):not(.circle):hover::before {
  background-color: lightgrey;
}

.cell.x::before,
.cell.x::after,
.game--container.x .cell:not(.x):not(.circle):hover::before,
.game--container.x .cell:not(.x):not(.circle):hover::after {
  content: '';
  position: absolute;
  width: calc(var(--mark-size) * .20);
  height: var(--mark-size);
}

.cell.x::before,
.game--container.x .cell:not(.x):not(.circle):hover::before {
  transform: rotate(45deg);
}

.cell.x::after,
.game--container.x .cell:not(.x):not(.circle):hover::after {
  transform: rotate(-45deg);
}

.cell.circle::before,
.cell.circle::after,
.game--container.circle .cell:not(.x):not(.circle):hover::before,
.game--container.circle .cell:not(.x):not(.circle):hover::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}

.cell.circle::before,
.game--container.circle .cell:not(.x):not(.circle):hover::before {
  width: var(--mark-size);
  height: var(--mark-size);
}

.cell.circle::after,
.game--container.circle .cell:not(.x):not(.circle):hover::after {
  width: calc(var(--mark-size) * .7);
  height: calc(var(--mark-size) * .7);
  background-color: white;
}
