@font-face {
  font-family: jola;
  src: url(./OrangeAvenueDEMO-Regular.otf);
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  width: 100%;
}

@keyframes anything {
  from {
    scale: 0.9;
    opacity: 0;
  }
  to {
    scale: 1.1;
    opacity: 1;
  }
}
:root {
  --bg-primary-color: #0c0c0c;
  --bg-fill-color: lightseagreen;
  --bg-food-color: rgb(224, 11, 139);
  --text-primary-color: #f0f0f0;
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 40px;
  --spacing-3xl: 48px;
  --border-primary-color: #333333;
  --border-redius-xs: 4px;
  --border-redius-sm: 8px;
  --border-redius-mid: 12px;
  --border-redius-lg: 16px;
  --border-redius-xl: 20px;
  --border-redius-2xl: 24px;
}

html {
  background-color: var(--bg-primary-color);
  color: var(--text-primary-color);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

main {
  height: 100%;
  width: 100%;
}
main .btn {
  padding: var(--spacing-sm) var(--spacing-md);
  border: none;
  cursor: pointer;
  border-radius: var(--border-redius-sm);
  transition: all ease 0.3s;
}
main .btn:hover {
  transform: scale(1.1);
}
main section {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: var(--spacing-2xl);
  gap: var(--spacing-lg);
}
main section #infos {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
main section #infos .info {
  padding: var(--spacing-sm) var(--spacing-md);
  border: 1px solid var(--border-primary-color);
  border-radius: var(--border-redius-sm);
}
main section #board {
  border: 1px solid var(--border-primary-color);
  flex-grow: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
  grid-template-rows: repeat(auto-fill, minmax(50px, 1fr));
}
main section .block {
  border: 1px solid var(--border-primary-color);
  border-radius: 50%;
}

.fill {
  background-color: var(--bg-fill-color);
}

.food {
  background-color: var(--bg-food-color);
}

.modal {
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0;
  background-color: rgba(53, 53, 53, 0);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal .start-game {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: bisque;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background-color: rgb(47, 47, 47);
  border-radius: var(--border-redius-mid);
  padding: var(--spacing-md);
  gap: var(--spacing-lg);
  transition: all linear 5s;
  box-shadow: 0 0 10px rgb(99, 127, 113);
  animation: anything 3s forwards alternate;
}
.modal .start-game p {
  font-family: jola;
  font-weight: 500;
}
.modal .start-game .btn-start {
  margin-bottom: 30px;
  color: bisque;
  font-size: 20px;
  background-color: cadetblue;
}
.modal .game-over {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: bisque;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background-color: rgb(47, 47, 47);
  border-radius: var(--border-redius-mid);
  padding: var(--spacing-md);
  gap: var(--spacing-lg);
  box-shadow: 0 0 10px rgb(151, 5, 105);
  animation: anything 3s forwards alternate;
  display: none;
}
.modal .game-over p {
  font-family: jola;
  font-weight: 500;
}
.modal .game-over .btn-restart {
  margin-bottom: 30px;
  color: bisque;
  font-size: 20px;
  background-color: rgb(220, 7, 138);
}/*# sourceMappingURL=style.css.map */