@font-face {
    font-family: 'sawarabi_gothicregular';
    src: url('../fonts/sawarabigothic/sawarabigothic-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

:root {
  --dk-color: #5b3c5a;
  --mid-color: #fecee7;
  --lt-color: #ffecf6;
  --dkest-color: #1f0713;
  --blk-color: #000408;
  --accent: #3c0308;
}

body {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-image: url(../backgrounds/index.png);
  background-color: var(--dk-color);
  background-repeat: repeat;
  background-attachment: fixed;
  background-size: 36px;
}

#calculator {
  font-family: 'sawarabi_gothicregular', Garamond;
  background-color: var(--lt-color);
  border-radius: 15px;
  max-width: 500px;
  overflow: hidden;
  border: 2px ridge var(--dk-color);

}

#display {
  width: 100%;
  padding: 20px;
  font-size: 5rem;
  text-align: left;
  border: none;
  background-color: var(--lt-color);
  border-bottom: 2px ridge var(--dkest-color);
  font-family: 'sawarabi_gothicregular', Garamond;
  color: var(--dkest-color);
}

#keys {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 25px;
}

button {
  width: 100px;
  height: 100px;
  border-radius: 50px;
  border: 1px solid var(--accent);
  background-image: linear-gradient(to bottom, rgba(217, 179, 228, 1) 0, rgba(205, 163, 214, 1) 43.75%, rgba(194, 146, 200, 1) 56.25%, rgba(182, 130, 186, 1) 68.75%, rgba(172, 115, 173, 1) 81.25%, rgba(159, 98, 158, 1) 87.5%, rgba(148, 87, 144, 1) 93.75%, rgba(137, 87, 131, 1) 100%);
  background: var(--mid-color);
  border: none;
  font-size: 3rem;
  cursor: pointer;
  font-family: 'sawarabi_gothicregular', Garamond;

}

button:hover {
  opacity: 90%;
  box-shadow: 1px 1px 1px inset var(--dkest-color), -1px -1px 1px inset var(--lt-color);
}

button:active {
  opacity: 60%;
}

.operator-btn {
  background-color: var(--dk-color);
  color: var(--mid-color);
}