/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 *
 *= require_self
 *= require components/_custom_checkbox
 *= require components/_camera
 */

:root {
  --rohto-blue: #005BAB;
  --rohto-light-blue: #0088FF;
}

/* Set Hiragino Sans as the default font family */
body {
  font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', sans-serif;
}

/* Custom class for Hiragino Sans font */
.font-hiragino {
  font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', sans-serif;
}

/* Rohto color utility classes */
.text-rohto-blue {
  color: var(--rohto-blue);
}

.text-rohto-light-blue {
  color: var(--rohto-light-blue);
}

/* Fade animations for transitions */
@keyframes fadeOutUp {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.animate-fade-in-delayed {
  animation: fadeIn 1s ease-in forwards;
}

.animate-fade-out-delayed {
  animation: fadeOut 1s ease-out forwards;
}

.fade-out-up {
  animation: fadeOutUp 0.3s ease-out forwards;
}

.fade-in-up {
  animation: fadeInUp 0.3s ease-out forwards;
}