* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* border: 1px solid red; */
}

body {
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  background-color: rgba(0, 0, 0, 0.518);
}

p {
  cursor: pointer;
  display: block;
  color: rgba(0, 0, 0, 0.701);
  padding: 20px;
  background: rgba(255, 255, 255, 0.29);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(11.3px);
  -webkit-backdrop-filter: blur(11.3px);
  transition: all 0.3s;
}

#container {
  overflow: hidden;
  border-radius: 16px;
  margin: 10vh auto 0;
  width: 400px;
  height: 600px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 4fr;
}

.display-screen {
  background-color: black;
  display: flex;
  justify-content: end;
  align-items: end;
  padding: 10px;
  overflow: hidden;
}

.result {
  color: white;
}

.buttons {
  border-radius: 0 0 16px 16px;
  height: max-content;
  background-color: white;
}

.operators {
  margin-top: 5px;
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.operator {
  margin: 2px;
}

.operators p {
  background-color: rgba(29, 255, 247, 0.703);
}

.etc {
  display: grid;
  grid-template-columns: 3fr 1fr;
  align-items: center;
}

.numbers {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.numbers p {
  margin: 2px;
}

.calculate p {
  background-color: rgba(137, 43, 226, 0.332);
  margin: 10px;
  padding: 115% 0;
}

p:active {
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
}

@media only screen and (max-width: 1000px) {
  #container {
    width: 70vw;
  }
}
