:root {
    --page-color: #fff;
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--page-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease-in-out;
    opacity: 1;
  }

  .loader__icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
  }

  .loader__icon img {
    position: relative;
    display: flex;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
    animation: logoScaleAnimation 1s infinite;
  }

    @keyframes logoScaleAnimation {
        0% {
        transform: scale(1);
        }
        50% {
        transform: scale(1.1);
        }
        100% {
        transform: scale(1);
        }
    }

    @keyframes logoOpacityAnimation {
        0% {
            opacity: 0.5;
        }
        100% {
            opacity: 1;
        }
    }