@font-face {
  font-family: "Digits";
  src: url("assets/fonts/digits.ttf") format("truetype");
}

@font-face {
  font-family: "Arcade";
  src: url("assets/fonts/arcade.ttf") format("truetype");
}

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  height: 100vh;
  margin: 0;
  font-family: "Arcade";
}

h1 {
  font-family: "Arcade";
  text-align: center;
}

.simon-game {
  background-color: rgb(25, 25, 25);
  border-radius: 70%;
  position: relative;
  width: 600px;
  height: 600px;
  padding: 10px;
  border: 25px solid rgb(25, 25, 25);
}

.simon-button {
  position: absolute;
  width: 295px;
  height: 295px;
  cursor: pointer;
}

.green {
  background-color: green;
  top: 0;
  left: 0;
  border-radius: 350px 0 0 0;
  margin: 5px;
}

.green:active,
.green-active {
  box-shadow: 0 0 20px 5px rgba(0, 255, 0, 0.7);
}

.red {
  background-color: red;
  top: 0;
  right: 0;
  border-radius: 0 350px 0 0;
  margin: 5px;
}

.red:active,
.red-active {
  box-shadow: 0 0 20px 10px rgba(255, 0, 0, 0.7);
}

.yellow {
  background-color: yellow;
  bottom: 0;
  left: 0;
  border-radius: 0 0 0 350px;
  margin: 5px;
}

.yellow:active,
.yellow-active {
  box-shadow: 0 0 20px 10px rgba(255, 255, 0, 0.7);
}

.blue {
  background-color: blue;
  bottom: 0;
  right: 0;
  border-radius: 0 0 350px 0;
  margin: 5px;
}

.blue:active,
.blue-active {
  box-shadow: 0 0 20px 10px rgba(0, 0, 255, 0.7);
}

.simon-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  background-color: black;
  color: white;
  border-radius: 50%;
  display: flex;
  gap: 15px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translate(-50%, -50%);
  font-family: "Arcade";
  font-size: 1.5em;
}

.play-button {
  background-color: #ff0000;
  color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  margin-top: 10px;
  cursor: pointer;
  text-align: center;
  font-size: 1em;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.7);
  transition: all 0.2s ease;
}

.play-button:hover {
  background-color: #ff4d4d;
  box-shadow: 0 0 20px rgba(255, 0, 0, 1);
}

.play-button:active {
  background-color: #cc0000;
  box-shadow: 0 0 5px rgba(255, 0, 0, 0.7);
}

.score {
  background-color: #430710;
  color: #dc0d29;
  box-sizing: border-box;
  border: 4px solid #1d1f20;
  padding: 5px 10px;
  font-family: "Digits";
  font-size: 36px;
  border-radius: 5px;
  border: 4px inset #1d1f20;
}

.mockery {
  text-align: center;
  font-size: 15px;
  padding: 8px;
}

.mockery-bottom-one {
  font-size: 25px;
  text-align: center;
}

@media (max-width: 765px) {
    
  h1,
  .mockery-bottom-one {
    font-size: 17px;
  }
  
  .simon-game {
    padding: 5px;
    border: 5px solid rgb(25, 25, 25);
  }
  
  .mockery-inner-one,
  .play-inner-one,
  .score-inner-one {
    display: none;
  }

  .simon-game {
    width: 290px;
    height: 290px;
  }

  .simon-button {
    width: 140px;
    height: 140px;
  }

  .simon-center {
    width: 120px;
    height: 120px;
    font-size: 1.2em;
  }
}

@media (max-width: 400px) {
  .simon-game {
    width: 190px;
    height: 190px;
  }

  .simon-button {
    width: 90px;
    height: 90px;
  }

  .simon-center {
    width: 80px;
    height: 80px;
    font-size: 1em;
  }
}

@media (min-width: 765px) {
  .play-bottom-one,
  .score-bottom-one,
  .mockery-bottom-one {
    display: none;
  }
}
