@tailwind base;
@tailwind components;
@tailwind utilities;


.ficon:hover {
  filter: invert(53%) sepia(38%) saturate(3303%)
  hue-rotate(326deg)
  brightness(101%) contrast(96%)
}

.required:after {
    content:"\00a0\*\00a0";
    color:red;
}

.optional:after {
    content:"\00a0\(OPTIONAL)\00a0";
    color:grey;
}

/* HAMBURGER MENU */

.hamburger {
  cursor: pointer;
  width: 24px;
  height: 24px;
  transition: all 0.25s;
  position: relative;
}

.hamburger-top,
.hamburger-middle,
.hamburger-bottom {
  content: '';
  position: absolute;
  width: 24px;
  height: 3px;
  top: 0;
  left: 0;
  background: #CAD0D6;
  transform: rotate(0);
  transition: all 0.5s;
}

.hamburger-middle {
  transform: translateY(7px);
}

.hamburger-bottom {
  transform: translateY(14px);
  background: #CAD0D6;
}

.open {
  transform: rotate(90deg);
  transform: translateY(0px);
  position: fixed;
  top: 50px;
  right: 25px;
}

.open .hamburger-top {
  transform: rotate(45deg) translateY(6px) translateX(6px);
  background-color: #fff;
}

.open .hamburger-middle {
  display: none;
}

.open .hamburger-bottom {
  transform: rotate(-45deg) translateY(6px) translateX(-6px);
  background-color: #fff;
}

/* Target the 'current' page span generated by will_paginate */
.digg_pagination .current {
  @apply border-b-2 border-sky-500 pb-1; /* Adds the underscore */
  @apply font-black text-sky-500;        /* Makes it stand out */
  font-style: normal;                       /* Prevents italics if container is italic */
}

/* Optional: Add spacing so the underscore is clearly visible */
.digg_pagination em, 
.digg_pagination a, 
.digg_pagination span {
  @apply px-2;
}

/* Optional: Add a hover effect for other page numbers */
.digg_pagination a {
  @apply hover:text-sky-500 transition-colors duration-200;
}