* {
  box-sizing: border-box;
}

body {
  background-color: black;
  font-family: Arial, Helvetica, sans-serif;
  min-height: 100dvh;
  margin: 0;
  padding: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.calculator {
  width: min(100%, 320px);
  text-align: center;
}

.calculator p:not(.showCss) {
  margin: 0 0 12px;
}

.showCss {
  border: 6px solid white;
  width: 100%;
  max-width: 270px;
  height: 60px;
  background-color: rgb(124, 124, 124);
  margin: 0 auto 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 28px;
  font-weight: 700;
  box-sizing: border-box;
}
button{
  background-color: rgb(31, 31, 31);
  border: none;
  border-radius: 100px;
  height: 50px;
  width: 50px;
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin: 8px;
  touch-action: manipulation;
}
.special {
  background-color:orangered;
  border: none;
  border-radius: 100px;
  height: 50px;
  width: 50px;
  font-size: 20px;
  font-weight: 700;
  color:black;
}

.clear {
  font-size: 20px;
  width: 100px;
  border-radius: 10px;
}

@media (max-width: 330px) {
  body {
    padding: 10px;
  }

  .showCss {
    height: 56px;
    font-size: 24px;
  }

  button {
    width: 44px;
    height: 44px;
    margin: 5px;
    font-size: 18px;
  }

  .clear {
    width: 90px;
  }
}
