:root {
    --white: #FFF6EC;
    --bg-white: #23201d;
    --bg-red: #8E2D10;
    --bg-blue: #232e72;
    --bg-green: #1E5700;

    --fill-butter:   #FFE08A;
    --fill-peach:    #FFB98F;
    --fill-rose:     #FFC4CF;
    --fill-mint:     #BFE8C6;
    --fill-sky:      #BCDDF5;
    --fill-lavender: #D5C9F0;

    --bg-current: var(--bg-red);
}

html,
body {
    font-family: "Google Sans Flex", sans-serif;
    font-weight: 700;
}

.normallText {
    font-family: "Google Sans Flex", sans-serif;
    font-weight: 500;
}

button,
[role="button"],
a,
summary,
select,
input[type="checkbox"],
input[type="radio"],
input[type="submit"] {
    cursor: pointer;
}

button:disabled {
    cursor: not-allowed;
}


.loader {
  --color-1: var(--white);
  --color-2: var(--white);
  --size: 1.5px;

  animation: rotate 1s infinite;
  height: calc(50 * var(--size));
  width: calc(50 * var(--size));
}

.loader:before,
.loader:after {
  border-radius: 50%;
  content: '';
  display: block;
  height: calc(20 * var(--size));
  width: calc(20 * var(--size));
}
.loader:before {
  animation: ball1 1s infinite;
  background-color: var(--color-1);
  box-shadow: calc(30 * var(--size)) 0 0 var(--color-2);
  margin-bottom: calc(10 * var(--size));
}
.loader:after {
  animation: ball2 1s infinite;
  background-color: var(--color-2);
  box-shadow: calc(30 * var(--size)) 0 0 var(--color-1);
}

@keyframes rotate {
  0% {
    transform: rotate(0deg) scale(0.8);
  }
  50% {
    transform: rotate(360deg) scale(1.2);
  }
  100% {
    transform: rotate(720deg) scale(0.8);
  }
}

@keyframes ball1 {
  0% {
    box-shadow: calc(30 * var(--size)) 0 0 var(--color-2);
  }
  50% {
    box-shadow: 0 0 0 var(--color-2);
    margin-bottom: 0;
    transform: translate(calc(15 * var(--size)), calc(15 * var(--size)));
  }
  100% {
    box-shadow: calc(30 * var(--size)) 0 0 var(--color-2);
    margin-bottom: calc(10 * var(--size));
  }
}

@keyframes ball2 {
  0% {
    box-shadow: calc(30 * var(--size)) 0 0 var(--color-1);
  }
  50% {
    box-shadow: 0 0 0 var(--color-1);
    margin-top: calc(-20 * var(--size));
    transform: translate(calc(15 * var(--size)), calc(15 * var(--size)));
  }
  100% {
    box-shadow: calc(30 * var(--size)) 0 0 var(--color-1);
    margin-top: 0;
  }
}
