/**
 * TechText Animation - Frontend Styles
 * React Bits TechText standalone animation engine for WordPress
 */

.tech-text-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  box-sizing: border-box;
  background-color: transparent;
  /* Prevent variable display fonts from rendering micro-print ink-trap notches in Canvas */
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 96;
}

.tech-text-container {
  position: relative;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  box-sizing: border-box;
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 96;
}

.tech-text-canvas {
  display: block;
  width: 100%;
  height: 100%;
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 96;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .tech-text-wrapper {
    min-height: 280px;
  }
  .tech-text-wrapper[style*="--tech-text-mobile-height"] {
    height: var(--tech-text-mobile-height) !important;
  }
}
