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

body {
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-container {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  justify-items: center;
  align-items: center;
  border: 4px solid black;
  border-radius: 8px;
  width: 500px;
  height: 695px;
  padding: 10px;
  gap: 30px;
  background-color: #454242;
  box-shadow: 4px 4px 4px 0px #535151;
}

.result-wrapper {
  margin-top: 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 460px;
  height: 170px;
  border: 1px solid #a1a1a1;
  background-color: #6c6868;
  border-radius: 6px;
}

.result {
  border-bottom: 1px solid #ffffff;
  width: 430px;
  height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: right;
  align-items: flex-end;
  padding: 3px;
}

.secondary-display,
.main-display {
  width: 100%;
  height: 65px;
  font-size: 50px;
  padding: 3px;
  color: #ffffff;
  display: flex;
  justify-content: right;
  padding: 5px;
}

.buttons-wrapper {
  width: 460px;
  height: 455px;
  background-color: #6c6868;
  border: 1px solid #a1a1a1;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 8px;
}

.buttons-wrapper > div {
  width: 99%;
  height: 80px;
  margin-bottom: 1px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 10px;
}

button {
  width: 76px;
  height: 70px;
  background-color: #d9d9d986;
  color: #ffffff;
  border: none;
  font-size: 40px;
  cursor: pointer;
  border-radius: 4px;
  box-shadow: 0px 1px 1px 1px #454242;
}

button:active {
  box-shadow: 0px 0px 0px 0px #6c6868;
}

.operator {
  background-color: #e28426;
  width: 130px;
}

.equal {
  background-color: #3090cc;
  width: 130px;
}

.delete {
  font-size: 25px;
}

#negate,
#percent {
  width: 76px !important;
  background-color: rgb(184, 49, 49);
}
