/* File: assets/css/style.css */
/* Description: Custom styles to complement Tailwind CSS. */

/* A simple fade-in animation for elements to appear smoothly. */
@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(-10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Class to apply the fade-in animation. */
.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Custom scrollbar for a more modern look (works in Webkit browsers). */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #a8a8a8;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #888;
}

/* Responsive font size for mobile for better readability */
@media (max-width: 640px) {
    html {
        font-size: 14px;
    }
}
