@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  :root {
    /* Border Colors */
    --default-border:rgb(17, 16, 19);
    --highlight-border:rgb(254, 221, 0);
    /* Text Colors */
    --color-text-hover: 254, 221, 0;
    --color-text-heading: 9,104,173;
    --color-text-title: 18, 17, 41;
    --color-text-base: 255,255,255;
    --color-text-muted: 79, 79, 79;
    --color-text-invert: 17, 16, 19;

    /* Background Colors */
    --color-background-primary: 20, 20, 20;
    --color-background-secondary: 254, 221, 0;
    --color-background-default: 238, 238, 238;
    --color-background-content: 255,255,255;
  }
}
@font-face {
  font-family: 'PublicSans';
  src: url('../../public/font/Public_Sans/PublicSans-VariableFont_wght.ttf'),
  url('../../public/font/Public_Sans/PublicSans-Italic-VariableFont_wght.ttf');
}
/* Swiper js */
/* Card */

@layer utilities {
  .active-style-apply {
    @apply  !border-blue-800 !border-4  p-1;
  }
  .curve-shadow {
    box-shadow: 0 -30px 0 0 #fff;
  }
  .hero_text_initial{
    @apply translate-y-6 opacity-0;
  }
  .highlight {
    @apply bg-yellow-300 text-black; /* Tailwind utility classes */
}
  .active-border {
    @apply border border-gray-400 border-dashed p-1;
  }

  .active-nav{
    @apply bg-slate-800 text-blue-400; 
  }

  .prevent-tailwind-css * {
    all: unset; 
    display: revert; 
    margin: 0;
    padding: 0;
}
.prevent-tailwind-css h1 {
    font-size: 2em;
    font-weight: bold;
    margin: 0.67em 0;
}
.prevent-tailwind-css h2, .prevent-tailwind-css h3, .prevent-tailwind-css h4 {
    font-weight: bold;
} 
.prevent-tailwind-css ul {
    list-style-type: disc;
    margin-left: 1.5em;
    padding-left: 1em;
}
.prevent-tailwind-css a {
  @apply text-blue-500  hover:text-blue-700 cursor-pointer; /* Tailwind classes */
}

.prevent-tailwind-css a:hover {
  color: #1d4ed8; /* Darker blue for hover state */
} 
.prevent-tailwind-css li {
    margin-bottom: 0.5em;
} 
.prevent-tailwind-css p {
    margin-bottom: 1em;
}
.prevent-tailwind-css .__se__float-right {
  float: right;
  padding: 4px 0px 4px 4px;
}
.prevent-tailwind-css .__se__float-left {
  float: left;
  padding: 4px 4px 4px 0px;
}
.prevent-tailwind-css .__se__float-center {
  width: fit-content;
  margin: 0 auto;
  padding: 4px 0;
}
} 
.swiper-pagination-bullet{
  width: 14px;
  height: 14px;
  /* border: 2px solid #F06728; */
  background: rgb(232, 233, 255);
  position: relative;
}
.swiper-pagination-bullet-active::after{
  content: '';
  border-radius: 33px;
  width: 6px;
  height: 6px;
  position: absolute;
  background: #0298c0;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
.animate__delay-300ms {
  animation-delay: 300ms !important;
}

/* magnific popup starts */
.image-source-link {
	color: #98C3D1;
}

.mfp-with-zoom .mfp-container,
.mfp-with-zoom.mfp-bg {
	opacity: 0;
	-webkit-backface-visibility: hidden;
	/* ideally, transition speed should match zoom duration */
	-webkit-transition: all 0.3s ease-out; 
	-moz-transition: all 0.3s ease-out; 
	-o-transition: all 0.3s ease-out; 
	transition: all 0.3s ease-out;
}

.mfp-with-zoom.mfp-ready .mfp-container {
		opacity: 1;
}
.mfp-with-zoom.mfp-ready.mfp-bg {
		opacity: 0.8;
}

.mfp-with-zoom.mfp-removing .mfp-container, 
.mfp-with-zoom.mfp-removing.mfp-bg {
	opacity: 0;
}
/* magnific popup ends */
.error-help-block{
  color: red;
  font-size: 12px;
}
.gallery-img{
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  display: inline-block;
}
.grid-wrapper > a{
  display: flex;
  justify-content: center;
  align-items: center;
}
.grid-wrapper > a > img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}
.grid-wrapper{
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  grid-auto-rows: 200px;
  grid-auto-flow:dense;
}
.grid-wrapper .wide{
  grid-column: span 2;
}
.grid-wrapper .tall{
  grid-row: span 2;
}
.grid-wrapper .big{
  grid-column: span 2;
  grid-row: span 2;
}
