body {
  background-color: #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-family: "Roboto", sans-serif;
}

h1 h2 {
  width: 100%;
}

button {
  border-radius: 5px;
  border: none;
  cursor: pointer;
  background-color: rgb(203, 203, 203);
  height: 50px;
  margin: 6px 2px;
  font-size: 27px;
}

button:hover {
  filter: brightness(80%);
}

button:active {
  transform: translateY(1.5px);
}

button:focus {
  outline: none;
}

@media (max-width: 600px) {
  h1 {
    font-size: 1.5em;
  }
}

footer {
  display: flex;
  align-items: center;
  padding: 15px;
  gap: 12px;
}

.calculator {
  background: linear-gradient(to top, #141e30, #243b55);
  width: 380px;
  border-radius: 20px;
  box-shadow: 0 5px 30px -5px rgb(0, 0, 0, 0.6);
  padding: 25px;
}

.calculator-btns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 10px;
  padding: 5px;
}

/* Display Screen */
.displayScreen {
  background: #464646;
  min-height: 6.6rem;
  margin: 0 0 25px 0;
  border-radius: 12px;
  box-shadow: 0 0px 10px -2px rgb(0 0 0 / 30%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.screen1 h1 {
  padding: 0 25px 25px 0;
  margin: 0;
  font-size: 40px;
  font-weight: 100;
  border-radius: 10px 10px 0 0;
  overflow-x: auto;
  padding-right: 17px; 
}

.screen2 h2 {
  padding: 0 25px 0 0;
  font-weight: 100;
}

.screen1 {
  min-height: 4.6rem;
}
.screen2 {
  min-height: 4.3rem;
}

.operator {
  background-color: #676767ed;
}

#clearBtn,
#deleteBtn {
  background-color: orangered;
  grid-column: span 2;
}

.displayScreen,
.operator,
#clearBtn,
#deleteBtn {
  color: whitesmoke;
}

.github {
  width: 24px;
}

.github:hover {
  transform: scale(1.2);
}
