* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: gilroy, sans-serif;
}

html,
body {
  height: 100%;
  width: 100%;
  background-color: #0c0c0c;
  color: #f0f0f0;
}

main, section {
    height: 100%;
    width: 100%;
    
}

section {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
section .nav{
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.info {
    padding: 1rem 1.5rem;
    border: 1px solid  #bbbaba33;
    border-radius: 10px;
}

.board {
    border: 1px solid #bbbaba33;
    flex-grow: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    grid-template-rows: repeat(auto-fill, minmax(60px, 1fr));
}
.block {
    width: 60px;
    height: 60px;
    border: 1px solid #bbbaba33;
    border-radius: 50%;
}
.fill {
    background-color: #fdfdfc;
}

.food {
    background-color: red;
}

.modal {
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    background-color: #35353587;
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal .startGame,
.modal .gameOver {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}
.modal .gameOver {
    display: none;
}

button {
    padding: 1rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}
button:hover {
    transform: scale(1.1);
}
