.loader-bg{
    position: relative;
    background-color: white;
    width: 100vw;
    height: 110vh;
}
  .loader {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    animation: animate 1s linear infinite;
    width: 20%;
    height: 20%;
  }
  
  .loader-item {
    position: absolute;
    width: 49px;
    height: 49px;
    background: #f00;
    box-shadow: 2px 2px 5px 1px #000;
    animation: rotate 1s linear infinite;
  }
  
  .loader-item_1 {
    top: 0;
    left: 0;
    background: #e2843d;
  }
  
  .loader-item_2 {
    top: 0;
    right: 0;
    background: #12cbc4;
  }
  
  .loader-item_3 {
    bottom: 0;
    left: 0;
    background: #12cbc4;
  }
  
  .loader-item_4 {
    bottom: 0;
    right: 0;
    background: #e2843d;
  }
  
  @keyframes animate {
    0% {
      width: 100px;
      height: 100px;
    }
    10% {
      width: 100px;
      height: 100px;
    }
    50% {
      width: 150px;
      height: 150px;
    }
    90% {
      width: 100px;
      height: 100px;
    }
    100% {
      width: 100px;
      height: 100px;
    }
  }
  
  @keyframes rotate {
    0% {
      transform: rotate(0deg);
    }
    10% {
      transform: rotate(0deg);
    }
    60% {
      transform: rotate(90deg);
    }
    90% {
      transform: rotate(90deg);
    }
    100% {
      transform: rotate(90deg);
    }
  }
  