:root {
  --circle-color : #f2f3f4; 
  --cross-color : #2b353e; 
  --body-color : #252324;
  --case-color : #b2afab;
}

* {
  transition: 1s;
}



body {
  text-align: center;
  justify-content: center;
  justify-items: center;
  background: var(--body-color);
  overflow-x: hidden;
}

h1 {
  color: var(--case-color);
}

h2 {
  color: var(--case-color);
  animation: textAnim 0.5s forwards;
}

h3 {
  color: var(--case-color);
  animation: textAnim 0.5s forwards;
}

.table {
  width: 500px;
  height: 500px;
  position: relative;
}



td {
  justify-items: center;
  width: 100px;
  height: 100px;
  background-color: var(--case-color);
  border-radius: 10px;
}

.circle {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 100%;
  background: var(--circle-color) /* linear-gradient(90deg, rgba(131, 58, 180, 1) 0%, rgba(253, 29, 29, 1) 50%, rgba(252, 176, 69, 1) 100%) */;
  animation: animCircle 0.5s forwards;
}

.circle::after {
  content: "";
  width: 80px;
  height: 80px;
  background:var(--case-color);
  position: absolute;
  border-radius: 50%;
  animation: animCircle 0.5s forwards;
  right: 10px;
  top: 10px;
}

.circleMid {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 100%;
  background: var(--circle-color) /* linear-gradient(90deg, rgba(131, 58, 180, 1) 0%, rgba(253, 29, 29, 1) 50%, rgba(252, 176, 69, 1) 100%) */;
}

.circleMid::after {
  content: "";
  width: 80px;
  height: 80px;
  background:var(--case-color);
  position: absolute;
  border-radius: 50%;
  right: 10px;
  top: 10px;
}

.cross {
  width: 25px;
  height: 100px;
  background-color: var(--cross-color);
  position: relative;
  rotate: 45deg;
  animation: cross1 0.5s forwards;
}

.cross::after {
  content: "";
  width: 100px;
  height: 25px;
  position: absolute;
  background-color: var(--cross-color);
  top: 40%;
  right: -36px;
  animation: cross2 0.5s forwards;
}

.crossMid {
  width: 25px;
  height: 100px;
  background-color: var(--cross-color);
  position: relative;
  rotate: 45deg;
  animation: cross1 0.5s forwards;
}

.crossMid::after {
  content: "";
  width: 100px;
  height: 25px;
  position: absolute;
  background-color: var(--cross-color);
  top: 40%;
  right: -36px;
  animation: cross2 0.5s forwards;
}

.button {
  margin: 10px;
  color: var(--case-color);
  background-color: var(--body-color);
  width: 60px;
  height: 30px;
  border: none;
  border-radius: 10px;
  font-weight: 550;
  cursor: pointer;
  text-align: center;
  animation: buttonAnim 1s forwards;
  /* transition: 0.5s; */
  /* box-shadow: 0px 0px 10px white; */

  
  transition: 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.button:hover {
  box-shadow: 0px 0px 20px var(--case-color);
  /* transform: scale(1.2); */


}

.button2 {
  margin: 10px;
  color: var(--case-color);
  background-color: var(--body-color);
  width: 120px;
  height: 30px;
  border: none;
  border-radius: 10px;
  font-weight: 550;
  cursor: pointer;
  text-align: center;
  animation: buttonAnim 1s forwards;
  /* transition: 0.5s; */
  /* box-shadow: 0px 0px 10px white; */

  
  transition: 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.button2:hover {
  box-shadow: 0px 0px 20px var(--case-color);
  /* transform: scale(1.2); */


}

.scoreMorpion {
  color: var(--case-color);
  display: flex;
  justify-content: space-between;
  width: 500px;
  align-items: center;
}

.restartButton {
  width: 100px;
}

@keyframes cross1 {
  0% {
    height: 0px;
  }

  100% {
    height: 100px;
  }
}

@keyframes cross2 {
  0% {
    width: 0px;
  }

  100% {
    width: 100px;
  }
}

@keyframes animCircle {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes buttonAnim {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes textAnim {

   0% {
    opacity: 0;
  }

  100% {

    opacity: 1;
  }
  
}

@keyframes test {
  0% {
    opacity: 1;
  }

  50%{
    opacity: 0;
  }

  100%{
    opacity: 1;
  }
}

@keyframes animShow {
  0% {
    opacity: 0;
  }


  100%{
    opacity: 1;
  }
}


@keyframes animHide {
  0% {
    opacity: 1;
  }


  100%{
    opacity: 0;
  }
}



.changing {
  animation:test 0.5s forwards;
}


