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

body {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-color: #1f2024;
}

.calculator {
  width: min(60vw, 30rem);
  aspect-ratio: 6/9;
  background-color: #1f2024;
}
.calculator__frame {
  width: 100%;
  height: 100%;
  border: 2px #8ae9ec solid;
  border-radius: min(6vw, 1.5rem);
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  overflow: hidden;
}
.calculator__frame__screen {
  width: 100%;
  height: 35%;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: end;
  padding: 10% 10% 8% 10%;
}
.calculator__frame__screen__text-display {
  font-size: 2rem;
  font-weight: bold;
  color: white;
}
.calculator__frame__screen__error-display {
  height: 10px;
  color: red;
}
.calculator__frame__buttons {
  width: 100%;
  height: 66%;
  border-top: 2px #8ae9ec solid;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  flex-wrap: wrap;
  align-content: space-evenly;
}
.calculator__frame__buttons__button {
  height: 20%;
  width: 25%;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  border: 1px #8ae9ec solid;
  color: #f8fef9;
  font-size: min(6vw, 1.5rem);
}
.calculator__frame__buttons__button:hover {
  background-color: rgba(255, 255, 255, 0.1176470588);
}
.calculator__frame__buttons__button--equal-button {
  flex-grow: 1;
}

.nours-piece {
  position: absolute;
  right: 30px;
  bottom: 30px;
}
.nours-piece__nour-pic {
  width: 5rem;
  height: 5rem;
  border: 2px #8ae9ec solid;
  border-radius: 3rem;
  background-image: url("../assets/images/Nour-Profile-Pic.png");
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: 0% 30%;
  background-color: #8ae9ec;
  cursor: not-allowed;
}
.nours-piece__link-icons {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.nours-piece__link-icons__icon {
  width: 2rem;
  height: 2rem;
  background-color: transparent;
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: 50%;
  border-radius: 1.5rem;
}
.nours-piece__link-icons__icon--github {
  background-image: url("../assets/images/github.png");
}
.nours-piece__link-icons__icon--github:hover {
  scale: 1.1;
}
.nours-piece__link-icons__icon--linkedin {
  background-image: url("../assets/images/linkedin.png");
}
.nours-piece__link-icons__icon--linkedin:hover {
  scale: 1.1;
}

@media (max-width: 600px) {
  .calculator {
    width: 80vw;
  }
  .nours-piece {
    visibility: hidden;
    opacity: 0;
  }
}/*# sourceMappingURL=style.css.map */