* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
:root {
  --rslt-bg-color: rgb(176, 205, 176);
  --main-bg-color: rgb(51, 84, 84);
  --calc-bg-color: rgb(211, 211, 211);
  --btn-bg-color: rgb(131, 129, 129);
  --eql-bg-color: rgb(168, 168, 168);
  --text-color: rgb(255, 255, 255);
}
body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--main-bg-color);
}
section {
  width: 400px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.container {
  text-align: center;
  background: var(--calc-bg-color);
  border: 25px solid black;
  border-radius: 20px;
  margin: 10px 20px;
  min-width: 360px;
}
.container h1 {
  font-size: 1.7rem;
  font-style: italic;
  font-weight: 600;
  margin-bottom: 10px;
}
.container h1 span {
  color: crimson;
  text-decoration: underline;
}
.container #result-container {
  background-color: var(--rslt-bg-color);
  border: 7px solid black;
  outline: none;
  box-shadow: inset -8px -8px 12px rgba(0, 0, 0, 0.194),
    inset 8px 8px 12px rgb(109, 113, 143);
}
.container #result-container input {
  padding: 12px;
  width: 100%;
  height: 50px;
  text-align: start;
  font-size: 20px;
  font-weight: 900;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: black;
}
.container #result-container input[id="instantResult"] {
  text-align: end;
  font-size: 18px;
}

input#result {
 /*  position: sticky;
  padding: 12px;
  font-size: 20px;
  font-weight: 900;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.2;
  border: 7px solid black;
  background-color: var(--rslt-bg-color);
  margin-bottom: 5px;
  box-shadow: inset -8px -8px 12px rgba(0, 0, 0, 0.194),
    inset 8px 8px 12px rgb(109, 113, 143);
  text-align: end;
  color: black;
  width: 100%;
  height: 100px; */
}
input#result::placeholder {
  font-size: 1.2rem;
  line-height: 1.5;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.593);
}
button {
  width: 70px;
  height: 70px;
  border: none;
  border-radius: 10px;
  background-color: var(--btn-bg-color);
  font-size: 2rem;
  font-weight: bolder;
  margin: 2px;
  cursor: pointer;
  box-shadow: -8px -8px 12px rgb(21, 25, 56), 8px 8px 12px rgb(42, 44, 60);
  color: var(--text-color);
}
button:hover {
  background: rgb(126, 120, 120);
}
button.operator {
  font-size: 2.2rem;
  color: black;
  background-color: rgba(169, 169, 169, 0.716);
}
button.operator:hover {
  background-color: rgba(169, 169, 169, 0.98);
}
button.delete {
  color: rgba(212, 22, 60, 0.951);
}
button.delete:hover {
  background-color: rgba(169, 169, 169, 0.98);
}
button.clear {
  color: rgba(220, 20, 20, 0.942);
}
button.equalSign {
  height: 145px;
  position: absolute;
  background-color: crimson;
}
button.equalSign:hover {
  background-color: rgb(181, 21, 53);
}
div.equalSignHolder {
  margin-right: 70px;
}
.footer {
  text-align: center;
  margin: 50px 0;
  padding: 20px;
}
.footer img {
  border: none;
  border-radius: 50%;
  width: 400px;
  height: 400px;
  margin-top: 20px;
}
.footer h2 {
  font-size: 2.4rem;
  font-weight: bolder;
  color: var(--text-color);
  margin: 20px 0;
}
.footer p {
  font-size: 2rem;
  font-weight: bold;
  padding: 5px;
  font-style: oblique;
}
.footer a {
  text-decoration: none;
}
.footer a:hover {
  color: rgba(0, 0, 255, 0.686);
  transition: 0.5s;
}
