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

@layer base {
  :root {
    --background: 0 0% 100%;
    --foreground: 222.2 84% 4.9%;
    --card: 0 0% 100%;
    --card-foreground: 222.2 84% 4.9%;
    --popover: 0 0% 100%;
    --popover-foreground: 222.2 84% 4.9%;
    --primary: 222.2 47.4% 11.2%;
    --primary-foreground: 210 40% 98%;
    --secondary: 210 40% 96.1%;
    --secondary-foreground: 222.2 47.4% 11.2%;
    --muted: 210 40% 96.1%;
    --muted-foreground: 215.4 16.3% 46.9%;
    --accent: 210 40% 96.1%;
    --accent-foreground: 222.2 47.4% 11.2%;
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 210 40% 98%;
    --border: 214.3 31.8% 91.4%;
    --input: 214.3 31.8% 91.4%;
    --ring: 222.2 84% 4.9%;
    --radius: 0.5rem;
    --chart-1: 12 76% 61%;
    --chart-2: 173 58% 39%;
    --chart-3: 197 37% 24%;
    --chart-4: 43 74% 66%;
    --chart-5: 27 87% 67%;
  }

  .dark {
    --background: 222.2 84% 4.9%;
    --foreground: 210 40% 98%;
    --card: 222.2 84% 4.9%;
    --card-foreground: 210 40% 98%;
    --popover: 222.2 84% 4.9%;
    --popover-foreground: 210 40% 98%;
    --primary: 210 40% 98%;
    --primary-foreground: 222.2 47.4% 11.2%;
    --secondary: 217.2 32.6% 17.5%;
    --secondary-foreground: 210 40% 98%;
    --muted: 217.2 32.6% 17.5%;
    --muted-foreground: 215 20.2% 65.1%;
    --accent: 217.2 32.6% 17.5%;
    --accent-foreground: 210 40% 98%;
    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 210 40% 98%;
    --border: 217.2 32.6% 17.5%;
    --input: 217.2 32.6% 17.5%;
    --ring: 212.7 26.8% 83.9%;
    --chart-1: 220 70% 50%;
    --chart-2: 160 60% 45%;
    --chart-3: 30 80% 55%;
    --chart-4: 280 65% 60%;
    --chart-5: 340 75% 55%;
  }
}

@layer base {
  * {
    @apply border-border;
  }
  body {
    @apply bg-background text-foreground;
  }
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

body {
  margin: auto;
  font-family: 'Inter', BlinkMacSystemFont, sans-serif;
  overflow: auto;
  background: /* Customize your own Gradient Background here */
  linear-gradient(
  315deg, 
  rgb(255, 255, 255) 3%, 
  rgb(245, 252, 255) 38%, 
  rgb(237, 249, 254) 68%, 
  rgb(228, 247, 255) 98%); 
  animation: gradient 15s ease infinite;
  background-size: 400% 400%;
  background-attachment: fixed;
  line-height: 2;
}

@keyframes gradient {
  0% {
      background-position: 0% 0%;
  }
  50% {
      background-position: 100% 100%;
  }
  100% {
      background-position: 0% 0%;
  }
}

.wave {
  background: rgba(139, 210, 240, 0.7);  /* Customize the bottom waves here */  border-radius: 1000% 1000% 0 0;
  position: fixed;
  width: 200%;
  height: 10em;
  animation: wave 10s -3s linear infinite;
  transform: translate3d(0, 0, 0);
  opacity: 0.8;
  bottom: 0;
  left: 0;
  z-index: -1;
}

.wave:nth-of-type(2) {
  bottom: -1.25em;
  animation: wave 18s linear reverse infinite;
  opacity: 0.8;
}

.wave:nth-of-type(3) {
  bottom: -2.5em;
  animation: wave 20s -1s reverse infinite;
  opacity: 0.9;
}

@keyframes wave {
  2% {
      transform: translateX(1);
  }

  25% {
      transform: translateX(-25%);
  }

  50% {
      transform: translateX(-50%);
  }

  75% {
      transform: translateX(-25%);
  }

  100% {
      transform: translateX(1);
  }
}

.button {
  background-color: #ffffff;
  color: rgb(49, 162, 210);
  border-radius: 15px;
  border: 2px solid rgb(49, 162, 210);
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: transform 0.2s;
  animation: jump 1s infinite;
  margin-top: 30px;
}

.button:hover {
  background-color: rgb(49, 162, 210);
  color: #fff;
}

@keyframes jump {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.card {
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8); 
  border: 3px solid rgba(90, 178, 216, 0.7) ; 
  border-radius: 0.5rem; 
  text-align: left; 
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card:hover {
  border-color: #efefef; 
}

.card-header {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem; 
}

.card-header .icon {
  font-size: 2rem; 
}

.card-header .title {
  font-size: 1.25rem;
  font-weight: 600;
}

.card-header .category {
  font-size: 1rem; 
  font-weight: 600;
}

.card-header .description {
  font-size: 0.875rem;
  color: #6b7280; 
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap; 
}

.text_special {
  color: rgb(55, 160, 205);
  font-weight: 700;
}

.text_special_no_bold {
  color: rgb(55, 160, 205);
  font-weight: 500;

}

.text_special_no_bold:hover {
  color: rgb(125, 193, 222);
}

.text_special:hover {
  color: rgb(125, 193, 222);
  font-weight: 700;
}

.button-grey {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 15px;
  background-color: #f5f5f5; 
  color: #333; 
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.button-grey:hover {
  color: #757575; 
}

.darkgrey{
  color: #A9A9A9;
} 

.lightgrey{
  color: #dadada;
}

h2 {
  font-size: 1.2rem;
  line-height: 2rem;
  font-weight: bold;
  color: #4e4e4e;
}

h3 {
  font-weight: bold;
  color: #4e4e4e;
}

p{
  color: #333;
}

.strong{
  font-weight: 500;
}