:root{
    --bg-color : #3b1616e5;
    --calc-color : #34272780;
}
*{
   margin : 0;
   padding : 0;
   box-sizing: border-box;
   font-family: sans-serif;
   font-weight: bold;
}


body{
    width:100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color : var(--bg-color)
}


@property --angle{
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.calculator{
    position: relative;
    padding: 20px;
    border:2px  solid  #4a1616;
    border-radius: 16px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.8);
    background-color: var(--calc-color);
}


.calculator::after,.calculator::before{
    content:"";
    position: absolute;
    top : 0;
    left : 0;
    right : 0;
    bottom : 0;
    width: 100%;
    height:100%;
    background-image: conic-gradient(from var(--angle),transparent 70%, rgba(251, 11, 19, 0.67),rgba(239, 251, 11, 0.67),rgba(59, 251, 11, 0.67),rgba(11, 187, 251, 0.67));
    border-radius: 16px; 
    z-index: -1; 
    padding: 3px;
    animation: 3s spin linear infinite;
}

.calculator::before{
  filter: blur(5rem);  
  opacity: 0.8;
}


@keyframes spin {
  from {
    --angle: 0deg;
  }
  to {
    --angle: 360deg;
  }
}


input{
    width:320px;
    padding: 24px;
    margin:10px;
    background-color: rgba(255, 255, 255, 0.3);
    box-shadow: inset 0px 0px 8px rgba(0, 0, 0, 0.4);
    font-size: 65px;
    text-align:right;
    color:#fff;
    border: 2px solid  rgba(0, 0, 0, 0.3);
    border-radius:16px;
    text-shadow: 0px 1px  5px  rgba(0, 0, 0, 0.2);
}


input::placeholder{
    color:#fff;
}


button{
    width:60px;
    height:60px;
    margin:10px;
    color:#fff;
    background-color: rgba(0, 0, 0, 0.7);
    font-size: 24px;
    cursor: pointer;
    border:  1px  solid  rgba(0, 0, 0, 0.2);
    border-radius:  25px;
    text-shadow: rgba(255, 255, 255, 0.2);
    box-shadow:  -1px 2px 10px rgba(0, 0, 0, 0.5);
}


.ac, .del{
  font-size: 20px;
}


button:hover{
  color:#fff;
  background-color: #f67c14;
}
.equalBtn{
  background-color: #f67c14;
}
.operator{
  color: #f67c14;
}


#contact{
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 10px;
  border-radius: 8px;
  color: rgb(234, 233, 234)
}