@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;
  flex-direction: row;
  align-items: center;
  min-height: 100vh;
  background: #091921;
  column-gap: 3rem;
}

@media (max-width: 1000px) {
  body {
    justify-content: space-evenly !important;
  }
}
@media (max-width: 1000px) {
  body {
    flex-direction: column !important;
  }
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(#e91e63, #ffc107);
  clip-path: circle(22% at 30% 20%);
}
body::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(#ffffff, #da00ff);
  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);
}
body .container .calculator {
  position: relative;
  display: grid;
  & .bottons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
  }
}
body .container .calculator .value {
  grid-column: span 5;
  height: 140px;
  width: 375px;
  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;
  width: 75px;
  height: 75px;
  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);
}
.disabled {
  pointer-events: none;
  opacity: 0.5; /* para visualmente mostrar que está desabilitado */
}
body .container .calculator span.clear {
  /* grid-column: span 2; */
  width: 75px;
  background: rgba(255, 255, 255, 0.05);
}
body .container .calculator span.plus {
  /* grid-row: span 2; */
  height: 75px;
}
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: #14ff47;
  color: #192f00;
  font-size: 24px;
  font-weight: 500;
}
.containerBhaskara {
  display: flex;
  flex-direction: column;
  row-gap: 0.5rem;
  align-items: center;
  justify-content: center;
  z-index: 1;
  & h2 {
    color: #fff;
  }
  & textarea {
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.05);
    resize: none;
    outline: none;
    border-radius: 0.4rem;
    font-size: 1.2rem;
    color: #fff;
    display: flex;
    align-items: center;
    height: 3rem;
    justify-content: center;
    overflow-y: clip;
    padding: 0.7rem;
  }
  & button {
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.4rem;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
  }
  & .result {
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.4rem;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    & p {
      display: flex;
      align-items: center;
    }
  }
}
