@import url(typography.css);
@import url(ui.css);

body {
  margin: 0;
}

main {
  display: grid;
  place-content: center;
  width: 100%;
  height: 100dvh;
}

.calculator {
  background-color: black;
  margin: 1rem;
  box-shadow: 3px 3px;
  border-radius: 10px;

}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: repeat(6, 1fr);
  gap: 3%;
  aspect-ratio: 5 / 8;
  background-image: url(../img/bg.png);
  background-size: 8px;
  padding: 10px;
  
  border: 2px solid black;
  border-radius: 10px;
  
}

#display {
  font-family: inherit;
  font-size: 2rem;
  grid-column: 1 / -1;
  text-align: right;
  border: 3px solid black;
  padding-inline: 1rem;
  border-radius: 3px;
}

.big-zero {
  grid-column: auto / span 2;
}

.big-calc {
  grid-row: auto / span 2;
}

button {
  display: flex;
  place-content: center;
  align-items: center;
  color: black;
  cursor: pointer;
  background-color: white;
  box-shadow: 2px 2px black;
  border-radius: 2px;
  height: 100%;
}

.big-calc,
.big-zero {
  place-content: start;
  align-items: end;
  padding: 0 0 1rem 1rem;
}
