*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
}
.container{
    height: 100vh;
    display:flex ;
    justify-content: space-evenly;
    align-items: center;
    background-color: rgb(31, 31, 31);
}
.calculator{
    width: 330px;
    padding: 20px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.27);
    background:rgb(32, 32, 32) ;
}
#display {
  width: 100%;
  height: 40px;
  background-color: transparent;
  border: none;
  outline: none;
  font-weight: bold;
  margin:30px 0 10px ;
  text-align: right;
  font-size: 30px;
  padding: 5px;
  overflow-x: visible;
}
.buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.buttons div{
  width: 74px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  border-radius: 5px;
  
}
.buttons div.symbols{
  font-size: 20px;
}
.buttons div:hover {
  background:rgba(169, 167, 167, 0.1);
}
.buttons div:active{
  background:rgba(110, 109, 109, 0.1);
}
.buttons div.equal {
  background-color: rgb(11, 116, 145);
}
.clear-button{
  background-color: rgb(11, 116, 145);
  border: none;
  border-radius: 5px;
  grid-column: span 3;
  cursor: pointer;
}
.buttons div.equal:hover,.clear-button:hover{
  background-color: rgb(10, 100, 124);
}
.buttons div.equal:active,.clear-button:active{
  background-color: rgb(9, 77, 96);
}
@media screen and (max-width:820px) {
  .dialogue{
    display: none;
  }
}