@import url("https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap");

body {
  display: flex;
  flex-direction: row;
  align-content: center;
  justify-content: center;
  margin: 0;
  font-size: 12px;
  font-family: "Press Start 2P", cursive;
  background-image: linear-gradient(to right, lightgray, white);
}

.wrapper {
  display: flex;
  align-content: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  height: 100vh;
}

.container {
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 275px;
  /*  height: 415px; */
  border: 1px solid rgba(0, 0, 0, 0.5);
  box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.5);
}

.sub-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* height: 100%;  */
  /*   width: 800%; */
}

.display {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  /* border: 1px solid white; */
  width: 100%;
  height: 65px;
  /*   margin: 0 0 5% 0;  */
  color: white;
  background-color: black;
}

#result-display {
  margin-right: 8%;
}

.button-grid {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
}

.item {
  width: 68px;
  height: 65px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  color: black;
  font-size: 12px;
  background-color: rgba(209, 190, 200, 0.17);
  font-family: "Press Start 2P", cursive;
}

.item:hover,
[data-type="nonNumber"]:hover {
  background-color: rgba(252, 252, 252, 0.2);
}

#Enter {
  width: 206px;
}

#Enter {
  background-color: orange;
}

#Enter:hover {
  background-color: rgb(255, 165, 0, 0.6);
}

#AC {
  background-color: #fcfcfc;
}

[data-type="nonNumber"] {
  background-color: lightgray;
}

footer {
  background: rgba(128, 128, 128, 0.3);
  padding: 8px 0;
  font-size: 10px;
  display: flex;
  justify-content: center;
  margin-top: auto;
}
