*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

form {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 300px;
    margin: 50px auto;
  }
  
  .show-result {
    background-color: #ddd;
    padding: 10px;
    width: 100%;
    text-align: right;
    border-radius: 5px;
    box-shadow: 2px 2px 5px #0000001a;
  }
  
  input[type="text"] {
    background-color: transparent;
    border: none;
    font-size: 18px;
    width: 100%;
    text-align: right;
  }
  
  .buttons {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 20px;
  }
  
  .row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
  }


  input[type="button"].backspace {
    background-color: #ddd;
    border: none;
    padding: 10px;
    font-size: 18px;
    width: 47%;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
  }
  
  input[type="button"].backspace:hover {
    background-color: #ccc;
  }
  
  
  input[type="button"] {
    background-color: #ddd;
    border: none;
    padding: 10px;
    font-size: 18px;
    width: 23%;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
  }
  
  input[type="button"]:hover {
    background-color: #ccc;
  }
  
  input[type="button"].red {
    background-color: #ff5252;
    color: #fff;
  }
  
  input[type="button"].red:hover {
    background-color: #e53e3e;
  }
  