/* critical.css - optimized and consolidated */

/* Basic header styles */
#header {
    text-align: center;
  }
  
  #header h1 {
    font-size: 2.25rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: #fff;
  }
  
  /* Tagline styling */
  .tagline {
    font-weight: 600;
    font-size: 1.25rem;
    padding: 0.3em 0;
    color: #fff;
    margin: 0.5rem 0;
  }
  
  /* Rotating text container - improved for mobile */
  .rotating-text-container {
    min-height: 2.5em;
    margin-top: 0.5rem;
    position: relative;
    width: 100%;
  }
  
  /* Rotating text styling - fixed for mobile */
  #rotating-text {
    opacity: 0;
    transition: opacity 0.5s ease;
    font-size: 1.1rem;
    color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    width: 100%;
  }
  
  /* Mobile-specific adjustments */
  @media screen and (max-width: 736px) {
    #header h1 {
      font-size: 1.75rem;
    }
  
    .tagline, #rotating-text {
      font-size: 1rem;
    }
  
    .rotating-text-container {
      min-height: 3em; /* Slightly taller on mobile for multi-line text */
    }
  }
  