* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
:root {
  --primaryClr: #474747;
  --secondaryClr: #dddddd;
  --thirdClr: #212121;
  --txtClr: #222831;
}
body {
  background-color: #ddd;
}
.calculator {
  width: 400px;
  margin: 80px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--thirdClr);
  height: 500px;
  border-radius: 20px;
  padding: 3%;
  gap: 5%;
}
.calculator .screen {
  width: 100%;
  height: 18%;
  background-color: var(--primaryClr);
  border-radius: 5px;
  color: var(--secondaryClr);
  padding: 0 5%;
}
.screen #screen-txt {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  font-size: 28px;
  overflow: hidden;
  font-weight: 600;
  font-family: "Courier New", Courier, monospace;
}
.keys {
  width: 100%;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.calculator button {
  width: 6rem;
  height: 3.2rem;
  border-radius: 5px;
  border: none;
  outline: none;
  background-color: var(--secondaryClr);
  color: var(--txtClr);
  font-size: 24px;
  font-weight: 600;
  cursor: pointer;
  font-family: "Courier New", Courier, monospace;
}
.calculator i {
  color: var(--txtClr);
  font-size: 24px;
  font-weight: 600;
}
.btn-opacity {
  opacity: 0.5;
}

#num3, #num6, #num9, #point, #minus {
background-color: orange;
}

.MDJAminDiv {
  z-index: 4444;
  position: fixed;
  bottom: 5%;
  left: 2%;
}

.MDJAmin {
  text-decoration: none;
  /* border-bottom: 1px dashed rgb(204, 204, 204); */
  /* border-top: 1px dashed rgb(204, 204, 204); */
  border-bottom: 1px dashed rgb(44, 44, 44);
  border-top: 1px dashed rgb(44, 44, 44);
  padding: 4px 0;
  color: rgba(44, 44, 44, 0.525);
  /* color: rgba(204, 204, 204, 0.414); */
  font-family: monospace;
  font-style: italic;
  font-size: 1.3em;
  transition: all 0.5s;
}

.MDJAmin:hover {
  color: #000000;
  /* color: white; */
}
