  /*------------------------------CSS  for calculator----------------------------*/
  
  * {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    outline: 0;
    transition: all 0.5s ease;
}
  
  body {
      font-family: sans-serif;
      background-image: linear-gradient( to bottom right, rgb(11, 33, 238),rgb(0, 204, 255));
  }
  
  .container {
    margin-top: 0px 0px;
    display: grid;
    place-items: center;
  }
  
  .calculator {
      position: relative;
      height: auto;
      width: auto;
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 0 30px rgb(0, 0, 0);
  }
  
  .theme-toggler {
      position: absolute;
      top: 30px;
      right: 30px;
      color: #fff;
      cursor: pointer;
      z-index: 1;
  }
  
  .theme-toggler.active {
      color: #333;
  }
  
  .theme-toggler.active::before {
      background-color: #fff;
  }
  
  .theme-toggler::before {
      content: '';
      height: 30px;
      width: 30px;
      position: absolute;
      top: 50%;
      transform: translate(-50%, -50%);
      border-radius: 50%;
      background-color: #333;
      z-index: -1;
  }
  
  #display {
      margin: 0 10px;
      height: 150px;
      width: auto;
      max-width: 270px;
      display: flex;
      align-items: flex-end;
      justify-content: flex-end;
      font-size: 30px;
      margin-bottom: 20px;
      overflow-x: scroll;
    }
  
  #display::-webkit-scrollbar {
      display: block;
      height: 3px;
  }
  
  button {
      height: 60px;
      width: 60px;
      border: 10;
      border-radius: 30px;
      margin: 5px;
      font-size: 20px;
      cursor: pointer;
      transition: all 200ms ease;
  }
  
  button:hover {
      transform: scale(1.1);
  }
  
  button#equal {
      height: 130px;
  }
  
  /* light theme */
  
  .calculator {
      background-color: #fff;
  }
  
  .calculator #display {
      color: #0a1e23;
  }
  
  .calculator button#clear {
      background-color: #ffd5d8;
      color: #ff0011;
  }
  .calculator button#backspace {
    background-color: #ffd5d8;
    color: #ff0011;
}
  
  .calculator button.btn-number {
      background-color: #00c3ff;
      color: #000000;
  }
  
  .calculator button.btn-operator {
      background-color: #f89bf0;
      color: #ff00f7;
    }
    
    .calculator button.btn-equal {
      background-color: #09ff00;
      color: #000;
    }
    
  
    /* dark theme */
  
    .calculator.dark {
      background-color: #000000;
    }
  
    .calculator.dark #display {
      color: #f8fafb;
    }
  
    .calculator.dark button#clear {
      background-color: #2d191e;
      color: #ff0011;
    }
    .calculator.dark button#backspace {
      background-color: #2d191e;
      color: #ff0011;
    }
  
    .calculator.dark button.btn-number {
      background-color: #3d6274;
      color: #f8fafb;
    }
  
    .calculator.dark button.btn-operator {
      background-color: #2e1f39;
      color: #ff00b3;
    }
    
    .calculator.dark button.btn-equal {
      background-color: #1b6811;
      color: #ffffff;
    }








/*---------------------------------CSS  for Clock----------------------------------*/


.wrapper{
  height: 100%;
  display: grid;
  place-items: right;
  height: 100px;
  width: 360px;
  position: relative;
  background: linear-gradient(135deg, #14ffe9, #ffeb3b, #ff00e0);
  border-radius: 10px;
  cursor: default;
  animation: animate 1.5s linear infinite;
}
.wrapper .display,
.wrapper span{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.wrapper .display{
  z-index: 999;
  height: 85px;
  width: 345px;
  background: #1b1b1b;
  border-radius: 6px;
  text-align: center;
}
.display #time{
  line-height: 85px;
  color: #fff;
  font-size: 50px;
  font-weight: 600;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #14ffe9, #ffeb3b, #ff00e0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: animate 1.5s linear infinite;
}
@keyframes animate {
  100%{
    filter: hue-rotate(360deg);
  }
}
.wrapper span{
  height: 100%;
  width: 100%;
  border-radius: 10px;
  background: inherit;
}
.wrapper span:first-child{
  filter: blur(7px);
}
.wrapper span:last-child{
  filter: blur(20px);
}