@tailwind base;
@tailwind components;
@tailwind utilities;


@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url("https://fonts.googleapis.com/css2?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&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&display=swap');


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  @apply bg-white text-black dark:bg-gray-900 dark:text-white;
  transition: background-color 0.3s ease, color 0.3s ease;
}

pre, .markdown-pre {
  color: #cdd9e0;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 13px;
  line-height: 20px;
  background-color: rgb(41, 39, 39);
}

@layer utilities {
  .text-balance {
    text-wrap: balance;
  }
}

.markdown > * {
  all: revert !important;
}

.markdown-h3 {
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

h1,
h2,
h3 {
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.prose {
  font-family: source-serif-pro, Georgia, Cambria, "Times New Roman", Times, serif !important;
}

pre {
  color: #cdd9e0;
  padding: 2rem;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: bolder;
  background-color: rgb(36, 32, 32);
}

.stylish-underline {
  transition: all 0.5s ease-in-out;
  @apply text-gray-900 dark:text-white;
}

.transition-underline {
  transition: all 0.5s ease-in-out;
}

.no-click {
  pointer-events: none;
  opacity: 0.2;
}

#spotlight-card {
  background-image: url("https://image.slidesdocs.com/responsive-images/background/green-environmental-chic-agency-simple-powerpoint-background_8faa31abfc__960_540.jpg");
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100%;
  opacity: 1;
  position: relative;
  box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px, rgba(0, 0, 0, 0.07) 0px 2px 4px, rgba(0, 0, 0, 0.07) 0px 4px 8px, rgba(0, 0, 0, 0.07) 0px 8px 16px, rgba(0, 0, 0, 0.07) 0px 16px 32px, rgba(0, 0, 0, 0.07) 0px 32px 64px;
}

#spotlight-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: multiply;
  @apply bg-white/30 dark:bg-gray-900/30;
  z-index: 1;
}

#spotlight-card > * {
  position: relative;
  z-index: 2;
}

span[class*="PublishButton"] {
  display: none;
}

.mdx-a {
  font-weight: 500 !important;
  font-size: 17px;
  @apply text-emerald-700 dark:text-emerald-400 !important;
}

.animation-delay-2000 {
  animation-delay: 2s;
}

.animation-delay-4000 {
  animation-delay: 4s;
}

@keyframes blob {
  0% {
    transform: translate(0px, 0px) scale(1);
  }
  33% {
    transform: translate(30px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
  100% {
    transform: translate(0px, 0px) scale(1);
  }
}