@font-face {
  font-family: "digital";
  src: url(./digital.ttf);
}

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

body {
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url(./assets/calculatorbg.jpg);
  background-size: cover;
  font-family: digital;
  font-weight: 600;
  font-size: 1.5rem;
}

main {
  height: 40rem;
  width: 30rem;
  border: 1px solid black;
  border-radius: 1rem;
  padding: 2rem;
  background-color: transparent;
  box-shadow: 10px 10px 1px #000;
}

.display-result {
  border: none;
  padding: 0.5rem;
  border-radius: 1rem;
  margin-bottom: 0.5rem;
  border: 1px solid black;
  color: black;
  background: transparent;
  box-shadow: 3px 3px 1px #000;
}

.display-result > p {
  display: inline-block;
}

.num1 {
  border: none;
  padding: 0.5rem;
  border-radius: 1rem;
  margin-bottom: 0.5rem;
  color: black;
}

.enter-num1 > input {
  width: 26rem;
  border: none;
  outline: none;
  padding: 0.5rem;
  padding-left: 1rem;
  border-radius: 1rem;
  margin-bottom: 0.5rem;
  color: black;
  font-family: digital;
  font-weight: 600;
  font-size: 1.5rem;
  background-color: rgba(0, 0, 0, 0.349);
  box-shadow: 3px 3px 1px #000;
}

.num2 {
  border: none;
  padding: 0.5rem;
  border-radius: 1rem;
  margin-bottom: 0.5rem;
  color: black;
}

.enter-num2 > input {
  width: 26rem;
  border: none;
  outline: none;
  padding: 0.5rem;
  padding-left: 1rem;
  border-radius: 1rem;
  margin-bottom: 0.5rem;
  color: black;
  font-family: digital;
  font-weight: 600;
  font-size: 1.5rem;
  background-color: rgba(0, 0, 0, 0.349);
  box-shadow: 3px 3px 1px #000;
}

.sel-op {
  border: none;
  padding: 0.5rem;
  border-radius: 1rem;
  margin-bottom: 0.5rem;
  color: black;
}

.operators {
  width: 26rem;
  border: none;
  outline: none;
  padding: 0.5rem;
  border-radius: 1rem;
  margin-bottom: 1rem;
  color: black;
  font-family: digital;
  font-weight: 600;
  font-size: 1.5rem;
  background-color: rgba(0, 0, 0, 0.349);
  box-shadow: 3px 3px 1px #000;
}

.btn-cal,
.btn-reset {
  width: 26rem;
  border: none;
  outline: none;
  padding: 0.5rem;
  border-radius: 1rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: black;
  font-family: digital;
  font-weight: 600;
  font-size: 2rem;
  background-color: rgba(0, 0, 0, 0.349);
  transition: 0.2s ease;
  box-shadow: 3px 3px 1px #000;
}

.btn-cal:hover,
.btn-reset:hover {
  background-color: black;
  color: white;
  transform: scale(1.1);
}
