@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Quicksand", sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #091921;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: circle(22% at 30% 20%);
}

body::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: circle(20% at 70% 90%);
}

body .container {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  overflow: hidden;
  z-index: 10;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.2);
  width: 50%;
}

body .container .calculator {
  position: relative;
  display: grid;
}

body .container .calculator .value {
  grid-column: span 4;
  height: 140px;
  width: 100%;
  text-align: right;
  border: none;
  outline: none;
  padding: 10px;
  font-size: 30px;
  background: transparent;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  resize: none;
}

body .container .calculator span {
  display: grid;
  place-items: center;
  height: 85px;
  color: #fff;
  font-weight: 400;
  cursor: pointer;
  font-size: 20px;
  user-select: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

body .container .calculator span.clear {
  grid-column: span 2;
  background: rgba(255, 255, 255, 0.05);
}

body .container .calculator span.plus {
  grid-row: span 2;
  height: 100%;
}

body .container .calculator span.equal {
  background: rgba(255, 255, 255, 0.05);
}

body .container .calculator span:hover {
  transition: 0;
  background: rgba(255, 255, 255, 0.05);
}

body .container .calculator span:active {
  background: #dee1e1;
  color: #192f00;
  font-size: 24px;
  font-weight: 500;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 160px;
  height: 100%;
  padding: 250px 10px;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 100;
}

.sidebar a {
  color: #fff;
  text-decoration: none;
  margin: 10px 0;
  font-weight: bold;
  transition: color 0.3s;
}

.sidebar a:hover {
  color: #070707;
}

.sidebar .fa-x-twitter {
  font-size: 1.5rem !important;
  line-height: 1;
}

