@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&family=Lexend:wght@100..900&family=Outfit:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Quicksand:wght@300..700&display=swap');
@tailwind base;
@tailwind components;
@tailwind utilities;

* {
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

:root {
  --background: #ffffff;
  --foreground: #171717;
  --bggray: #2e2e2e;
}

@layer base {
  li {
    @apply hover:text-gray-400 cursor-pointer;
  }
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --font-sans: var(--font-geist-sans);
  --font-mono: var(--font-geist-mono);

  --animate-spotlight: spotlight 2s ease 0.75s 1 forwards;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0a0a0a;
    --foreground: #ededed;
  }
}

body {
  background: var(--background);
  color: var(--foreground);
}

::-webkit-scrollbar {
  width: 10px;
  color: white;
  padding: 50px;
  margin: 100px;
  height: 10px;
}

::-webkit-scrollbar-thumb {
  background-color: #ededed;
  border-radius: 10px;
  margin: 5px;
}

.ico {
  animation: spin infinite 5s;
}

.loader {
  color: white;
  animation: spin infinite 0.8s linear;
  background-color: #0a0a0a;
}

.load {
  color: black;
  background-color: #0a0a0a;
}

.greeting {
  position: fixed;
  inset: 0;
  animation: wish 3s linear;
}

.heatmap-container {
  display: flex;
  gap: 3px;
  overflow-x: auto;
  padding: 12px;
}

.heatmap-week {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.heatmap-day {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  transition: background-color 0.2s ease;
}

.heatmap-day:hover {
  outline: 1px solid #333;
  cursor: pointer;
}

.heatmap-day.empty {
  visibility: hidden;
}

.badge {
  animation: wish;
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(4, 0, 0.2, 1);
}

.duration-500 {
  transition-duration: 5s;
}

.ease-in-out {
  transition-timing-function: cubic-bezier(0.4, 4, 0.2, 1);
}

.subname {
  margin-inline: auto;
  display: flex;
  justify-content: center;
}

.hi {
  height: 9.5rem;
}

.createLogBtn {
  box-shadow: #6f5f9f;
  background: #6f6f9f;
  transition: all 0.3s ease-out;
}

.createLogBtn:hover {
  box-shadow: #000;
  background: #6f6f9f;
  rotate: 135deg;
  transition: all 0.5s ease-in;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes wish {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 100%;
  }

  100% {
    opacity: 0%;
  }
}

@keyframes spotlight {
  0% {
    opacity: 0;
    transform: translate(-72%, -62%) scale(0.5);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, -40%) scale(1);
  }
}