#calculator {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  background: white;
  margin: 0 auto;
}
#calculator .screen {
    min-height: 150px;
    background: #ffffff;
    border: 1px solid #dfdfdf;
    position: relative;
    padding: 15px;
    border-bottom: 0;
}
#calculator .screen p {
  margin: 0;
  text-align: right;
  word-break: break-all;
}
#calculator .screen p#history {
    color: #eaa938;
    font-size: 20px;
    margin-bottom: 10px;
}
#calculator .screen p#history span {
  margin: 0 5px;
  color: #4fcbcc;
  font-weight: 700;
}
#calculator .screen p#current {
    color: #5e7676;
    font-size: 50px;
    line-height: 40px;
}
#calculator .buttons {
    overflow: hidden;
    border-bottom: 1px solid #dfdfdf;
}
#calculator .buttons button {
    width: 25%;
    height: 83px;
    margin: 0;
    float: left;
    border-top: 1px solid #dfdfdf;
    border-left: 1px solid #dfdfdf;
    border-bottom: transparent;
    border-right: transparent;
    color: #5e7676;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
}
#calculator .buttons button:hover, #calculator .buttons button.down, #calculator .buttons button:active, #calculator .buttons button:focus {
    background: #f2f4f6;
    outline: none;
}
#calculator .buttons button.double {
  width: 50%;
}
#calculator .buttons button.grey {
    background: #f2f4f6;
}
#calculator .buttons button.grey:hover, #calculator .buttons button.grey.down, #calculator .buttons button.grey:active, #calculator .buttons button.grey:focus {
    background: rgb(215, 98, 98);
    color: #fff;
}
#calculator .buttons button.blue {
    background: #45a9c9;
    color: #ffffff;
    font-weight: 500;
}
#calculator .buttons button.blue:hover,
#calculator .buttons button.blue.down,
#calculator .buttons button.blue:active,
#calculator .buttons button.blue:focus {
  background: #3a9dbd;
}
#calculator .buttons button.green {
    background: #4ac580;
    color: #ffffff;
}
#calculator .buttons button.green:hover,
#calculator .buttons button.green.down,
#calculator .buttons button.green:active,
#calculator .buttons button.green:focus {
  background: #41b775;
}
