@font-face {
  font-family: 'CarterOne';
  src: url('fonts/CarterOne-Regular.ttf');
}

body.page-loading {
  margin: 0;
  height: 100%;
  overflow: hidden;
}

.splash-screen {
  display: none;
}

.page-loading .splash-screen {
  position: absolute;
  z-index: 1000;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-family: Inter, Helvetica, 'sans-serif';
  background-color: #f9f9f9;
  color: #5e6278;
  line-height: 1;
  font-size: 14px;
  font-weight: 400;
}

.page-loading .splash-screen span {
  transition: none !important;
  -webkit-font-smoothing: antialiased;
}

.f-carter-one {
  font-family: 'CarterOne';
}

.brand {
  font-size: 2.5rem;
}

html[data-bs-theme='light'] .brand {
  color: #071437;
}

html[data-bs-theme='dark'] .brand {
  color: #3024db;
}

html[data-bs-theme='dark'] .page-loading .splash-screen {
  background-color: #151521;
  color: #ffffff;
}

.dot-rolling {
  position: relative;
  margin-top: 20px;
  height: 10px;
  font-size: 13px;
}

.dot-rolling::before {
  content: '⚽';
  display: inline-block;
  position: relative;
  transform: translateX(-25px);
  animation: dot-rolling 3s infinite;
}

@keyframes dot-rolling {
  0% {
    content: '🏐';
    transform: translateX(-25px) rotateZ(0deg);
  }

  16.667% {
    content: '🏐';
    transform: translateX(25px) rotateZ(720deg);
  }

  33.333% {
    content: '🏐';
    transform: translateX(-25px) rotateZ(0deg);
  }

  34.333% {
    content: '🏀';
    transform: translateX(-25px) rotateZ(0deg);
  }

  50% {
    content: '🏀';
    transform: translateX(25px) rotateZ(720deg);
  }

  66.667% {
    content: '🏀';
    transform: translateX(-25px) rotateZ(0deg);
  }

  67.667% {
    content: '🎾';
    transform: translateX(-25px) rotateZ(0deg);
  }

  83.333% {
    content: '🎾';
    transform: translateX(25px) rotateZ(720deg);
  }

  100% {
    content: '🎾';
    transform: translateX(-25px) rotateZ(0deg);
  }
}