@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");

@font-face {
  font-family: "TheFont";
  src: url("https://garet.typeforward.com/assets/fonts/shared/TFMixVF.woff2")
    format("woff2");
  font-weight: 100 900;
  font-style: normal;
}

body {
  margin: 0;
}

body.breathe-animation {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #050505; /* Unified background */
  height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 4vw, 3rem); /* Responsive spacing between span and button */
  width: clamp(200px, 80vw, 600px); /* Prevents overflow on small screens */
  padding: clamp(1rem, 2vh, 2rem);
}

.content span {
  font-family: "TheFont";
  font-size: clamp(8vw, 17vw, 43vh); /* Your existing responsive size */
  color: white;
  text-align: center;
  animation: letter-breathe 6s ease-in-out infinite;
}

@keyframes letter-breathe {
  0%,
  100% {
    font-variation-settings: "wght" 100;
  }
  50% {
    font-variation-settings: "wght" 900;
  }
}

/* sharp-white-btn styles unchanged */
.sharp-white-btn {
  position: relative;
  padding: clamp(16px, 4vw, 20px) clamp(40px, 10vw, 60px);
  background: transparent;
  color: #ffffff;
  font-size: clamp(16px, 2vw, 18px);
  letter-spacing: 1.4px;
  text-transform: none;
  text-decoration: none; /* Removes underline */
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 2px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.25s ease;
}

.sharp-white-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.35),
    transparent 65%
  );
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

.sharp-white-btn:hover::before {
  transform: translateX(120%);
}

.sharp-white-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9),
    0 0 12px rgba(255, 255, 255, 0.15);
}

.sharp-white-btn:active {
  transform: translateY(1px);
}

/* Blog page styles */
.blog-page {
  background: #050505;
  color: white;
  padding: clamp(1rem, 5vw, 2rem);
  min-height: 100vh;
}

.blog-container {
  max-width: 800px;
  margin: 0 auto;
  font-family: "Montserrat", sans-serif;
}

.blog-card {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  border: 1px solid #444;
  border-radius: 16px;
  padding: clamp(16px, 4vw, 24px);
  margin: clamp(12px, 2vw, 16px) 0;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.blog-card:hover {
  border-color: #666;
  background: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 100%);
}

.blog-card h2 {
  margin-top: 0;
  color: #fff;
}

.blog-card p {
  color: #ccc;
}

.blog-meta {
  font-size: 0.9em;
  color: #888;
  margin-bottom: 10px;
}

.blog-tag {
  display: inline-block;
  background: #555;
  color: #fff;
  padding: 4px 8px;
  border-radius: 10px;
  font-size: 0.8em;
}

/* Filter buttons */
.filter-buttons {
  margin: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-btn {
  background: #333;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.3s ease;
  font-family: "Montserrat", sans-serif;
}

.filter-btn:hover,
.filter-btn.active {
  background: #666;
}

/* Blog post styles */
.back-btn {
  display: inline-block;
  color: #ccc;
  text-decoration: none;
  margin-bottom: 20px;
  font-size: 1em;
  transition: color 0.3s ease;
}

.back-btn:hover {
  color: #fff;
}

.blog-post h1 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 10px;
  color: #fff;
}

.blog-content {
  line-height: 1.6;
  color: #ccc;
}

.blog-content h2,
.blog-content h3,
.blog-content h4 {
  color: #fff;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.blog-content p {
  margin-bottom: 1em;
}

.blog-content code {
  background: #333;
  padding: 2px 4px;
  border-radius: 4px;
  font-family: "Courier New", monospace;
}

.blog-content pre {
  background: #333;
  padding: 16px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1em 0;
}

.blog-content blockquote {
  border-left: 4px solid #666;
  padding-left: 16px;
  margin: 1em 0;
  color: #aaa;
}

.blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1em 0;
}
