@keyframes slide-logo {
  0%, 100% {
    margin-left: -46px;
  }
  50% {
    margin-left: -40px;
  }
}

@keyframes fade-to-white {
  0% {
    color: #d4d4d4;
  }
  100% {
    color: white;
  }
}

.header__logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.header__logo-icon {
  width: 60px;
  height: 60px;
  border-radius: 100%;
}

.header__logo {
  height: 60px;
  margin-left: -46px;
  font-size: 24px;
  font-weight: 700;
  font-family: 'Neurath', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: linear-gradient(135deg, #6a4c93, #c77dff, #f72585, #fb8500);
  color: #d4d4d4;
  text-decoration: none;
  padding: 12px 24px 12px 43px;
  border-radius: 0 60px 60px 0;
  display: inline-block;
  position: relative;
  mask-image: radial-gradient(circle at 0% 50%, transparent 30px, black 30px);
  -webkit-mask-image: radial-gradient(circle at 0% 50%, transparent 30px, black 30px);
  animation: slide-logo 3s ease-in-out, fade-to-white 1s ease-in 3s forwards;
}

.header__logo:hover {
  margin-left: -40px;
  animation-play-state: paused;
  transition: margin-left 0.3s ease-out;
  color: #d4d4d4 !important;
}

.header__logo .first-letter {
  color: white;
}

@media (max-width: 768px) {
  .header__logo-icon {
    width: 50px;
    height: 50px;
  }

  .header__logo {
    height: 50px;
    font-size: 20px;
    padding: 10px 20px 10px 36px;
    margin-left: -38px;
    mask-image: radial-gradient(circle at 0% 50%, transparent 25px, black 25px);
    -webkit-mask-image: radial-gradient(circle at 0% 50%, transparent 25px, black 25px);
  }

  @keyframes slide-logo {
    0%, 100% {
      margin-left: -38px;
    }
    50% {
      margin-left: -32px;
    }
  }

  .header__logo:hover {
    margin-left: -32px;
  }

  .header__logo-container {
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .header__logo-icon {
    width: 45px;
    height: 45px;
  }

  .header__logo {
    height: 45px;
    font-size: 19.2px;
    padding: 8px 16px 8px 30px;
    margin-left: -33px;
    mask-image: radial-gradient(circle at 0% 50%, transparent 22.5px, black 22.5px);
    -webkit-mask-image: radial-gradient(circle at 0% 50%, transparent 22.5px, black 22.5px);
  }

  @keyframes slide-logo {
    0%, 100% {
      margin-left: -33px;
    }
    50% {
      margin-left: -30px;
    }
  }

  .header__logo:hover {
    margin-left: -26px;
  }

  .header__logo-container {
    gap: 10px;
  }
}

