/*@import url("https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css");
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,300,400italic,600,700,900,200");
html {
  box-sizing: border-box;
  color: #222;
  font-size: 1rem;
  font-family: Source Sans Pro;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #B6B2AB;
  background-image: linear-gradient(135deg,#B6B2AB 0%, #B3AFA7 25%, #B8B5AF 25%, #78736B 50%, #6F6862 50%, #58504B 75%, #5F574E 75%, #625A51 100%);
  min-height: 100vh;
}

.App {
  opacity: 0;
  transition: opacity 0.3s;
}*/

.Calculator {
   /* box-shadow: 12px 18px 45px 0 rgba(0, 0, 0, 0.25);*/
    cursor: default;
    margin: 0 auto;
    transform: translate(-50%, -50%);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    max-width: 512px;
}

.Calculator-header {
    background: white;
    overflow: hidden;
    padding: 0 20px 20px 20px;
    position: relative;
    text-align: right;
}

.Calculator-expressions {
    color: rgba(158, 158, 158, 0.76);
    display: block;
    float: right;
    font-size: 15px;
    line-height: 22px;
    min-height: 22px;
    position: relative;
    white-space: nowrap;
    width: 100%;
    word-wrap: normal;
}

.Calculator-expressionsList {
    display: block;
    float: right;
}

.Calculator__expressionsOverflow {
    color: #333;
    box-shadow: 5px 0 20px 4px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    opacity: 0;
    padding-right: 0px;
    text-align: center;
    transition: opacity 0.5s;
    transform: translate(0, -50%);
    position: absolute;
    top: 50%;
    left: -24px;
    height: 17px;
    width: 2px;
}

.Calculator__expressionsOverflow:before {
    content: "";
}

.Calculator__expressionsOverflow.is-showing {
    opacity: 1;
}

.Calculator-operands {
    color: #151515;
    font-size: 60px;
    font-weight: 200;
    line-height: 1.1;
    clear: both;
}

.Calculator-currentOperand {
    display: block;
    overflow: visible;
    min-height: 60px;
    line-height: 60px;
    float: right;
    transition-duration: 0.2s;
    transition-property: font-size;
}

.Calculator-currentOperand.has-error {
    color: #ef5334;
}

.Calculator-body {
    background: white;
}

.Calculator-buttonsContainer {
    display: flex;
    flex-wrap: wrap;
    overflow: visible;
    position: relative;
}

.Calculator-buttonsContainer:before {
    background-color: #323248;
    /*box-shadow: 17px 27px 72px 1px rgba(0, 0, 0, 0.3);*/
    filter: drop-shadow(0px 0px 7px rgba(0, 0, 0, 0.2));
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.Calculator-button {
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    font-size: 24px;
    font-weight: 300;
    flex: 25%;
    line-height: 70px;
    height: 70px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.Calculator-button {
    cursor: pointer;
    transition: box-shadow 0.2s, background-color 0.15s;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15);
    /*display: inline-flex;
    align-items: center;
    justify-content: center;*/
}

.Calculator-button:hover {
    background: rgba(0, 0, 0, 0.08);
}

.Calculator-button:active, .Calculator-button.is-active {
    box-shadow: inset 0 3px 15px 0 rgba(0, 0, 0, 0.3);
}

.Calculator-button.has-children:hover, .Calculator-button.has-children:active {
    background: initial;
    box-shadow: none;
    cursor: default;
}

.Calculator-button > span {
    display: block;
    font-weight: 600;
}

.Calculator-button--negation,
.Calculator-button--modulo {
    font-size: 18px;
}

.Calculator-button--square {
    font-size: 24px;
}

.Calculator-button--division {
    font-size: 24px;
}

.Calculator-button--multiplication {
    font-size: 24px;
}

.Calculator-button--addition {
    font-size: 24px;
}

.Calculator-button--subtraction {
    font-size: 24px;
}

.Calculator-button--paren {
    display: flex;
    font-size: 18px;
}

.Calculator-button--square > span,
.Calculator-button--division > span,
.Calculator-button--multiplication > span,
.Calculator-button--addition > span,
.Calculator-button--subtraction > span{
    width: 100%;
    padding-top: 23px;
    height: 100%;
}

.Calculator-button--paren:hover, .Calculator-button--paren:active {
    background: initial !important;
    box-shadow: none !important;
    cursor: default !important;
}

.Calculator-button--paren > span {
    flex: 50%;
}

.Calculator-button--paren > span {
    cursor: pointer;
    transition: box-shadow 0.2s, background-color 0.15s;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15);
}

.Calculator-button--paren > span:hover {
    background: rgba(0, 0, 0, 0.08);
}

.Calculator-button--paren > span:active, .Calculator-button--paren > span.is-active {
    box-shadow: inset 0 3px 15px 0 rgba(0, 0, 0, 0.3);
}

.Calculator-button--paren > span.has-children:hover, .Calculator-button--paren > span.has-children:active {
    background: initial;
    box-shadow: none;
    cursor: default;
}

.Calculator-equals {
    background-color: #50cd89;
    cursor: pointer;
    padding: 25px 0;
    position: relative;
    z-index: 1;
}

.Calculator-equalsLine {
    background: white;
    display: block;
    margin: 0 auto 6px;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.4);
    height: 2px;
    width: 20px;
}

.Calculator-equalsLine:last-child {
    margin-bottom: 0;
}

.Calculator-exit{
    background-color: var(--bs-gray-600);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    cursor: pointer;
}
