* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary-color: #121212;
  --text-primary-color: white;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 40px;
  --border-primary-color: rgb(33, 33, 33);
  --boder-radius-xs: 4px;
  --boder-radius-sm: 8px;
  --boder-radius-md: 16px;
  --boder-radius-lg: 24px;
  --boder-radius-xl: 32px;
  --boder-radius-2xl: 40px;
}

html,
body {
  width: 100%;
  height: 100%;
  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 {
  width: 100%;
  height: 100%;
}
main section {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: var(--space-2xl);
  gap: var(--space-2xl);
}
main section .infos {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
main section .infos .info {
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--border-primary-color);
  border-radius: var(--boder-radius-sm);
}
main section .board {
  position: relative;
  z-index: 1;
  flex-grow: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
  grid-template-rows: repeat(auto-fill, minmax(50px, 1fr));
  border: 1px solid var --border-primary-color;
}
main section .board .block {
  border: 1px solid var(--border-primary-color);
  border-radius: 50%;
}
main section .board .render {
  background: white;
}
main section .board .food {
  background-color: red;
}
main section .controler {
  position: relative;
  color: rgb(0, 0, 0);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}
main section .controler .btns {
  padding: 0.5rem 1.5rem;
  border-radius: 0.7rem;
  transition: all 0.3 ease;
  border: none;
}
main section .controler .btns:hover {
  transform: scale(1.1);
}
main .modal {
  z-index: 5;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  background-color: rgba(53, 53, 53, 0.3450980392);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
}
main .modal .startgame,
main .modal .endgame {
  text-align: center;
  padding: 1rem;
  border-radius: 0.3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
main .modal .startgame h2,
main .modal .endgame h2 {
  color: white;
  font-size: 2.5rem;
}
main .modal .startgame .btn,
main .modal .endgame .btn {
  font-size: 2rem;
  padding: 0.5rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: var(--boder-radius-xs);
  border: none;
}
main .modal .startgame .btn:hover,
main .modal .endgame .btn:hover {
  transform: scale(1.1);
}/*# sourceMappingURL=style.css.map */