
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 16px;
    }
    #header2 {
      background: linear-gradient(to right, #3b82f6, #1d4ed8);
      color: white;
      padding: 48px 16px;
      text-align: center;
    }
    #header2 h1 {
      font-size: 2.5rem;
      font-weight: 800;
      margin: 0;
    }
    #header2 p {
      font-size: 1.25rem;
      /* margin: 16px 0; */
    }
    #header2 input {
      width: 90%;
      max-width: 400px;
      padding: 12px;
      border-radius: 8px;
      border: none;
      font-size: 1rem;
      color: #1f2937;
    }
    #header2 input:focus {
      outline: none;
      box-shadow: 0 0 0 2px #93c5fd;
    }
    main {
      padding: 48px 16px;
    }
   .term-of-day {
      background: white;
      padding: 32px;
     max-width:600px;
     margin:auto;
      border-radius: 12px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      margin-bottom: 40px;
    }
    section h2 {
      font-size: 1.875rem;
      font-weight: 700;
      color: #1d4ed8;
      margin-bottom: 16px;
    }
     .title-container {
      display: flex;
      align-items: center;
     gap:15px;
       margin:auto;
      width:90%;
    }
    .term-of-day img {
      width: 150px;
        
      height:100px;     
      border-radius: 50%;
      object-fit: cover;
      align-content:left;
    }
    .term-of-day h3 {
      font-size: 1.5rem;
      font-weight: 600;
      color: #1f2937;
      flex: 1; 
      text-align:left;
    }
    .term-of-day p {
      font-size: 1rem;
      color: #4b5563;
      margin: 12px 0;
      text-align:justify;
    }
    .term-of-day a {
      color: #1d4ed8;
      text-decoration: none;
      font-weight: 500;
      transition: color 0.2s;
    }
    .term-of-day a:hover {
      color: #1e40af;
    }
    .grid-container {
      display: grid;
      grid-template-columns: 1fr;
      gap: 32px;
    }
    @media (min-width: 768px) {
      .grid-container {
        grid-template-columns: 1fr 2fr;
      }
    }
    #alphabet-index {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 8px;
    }
    .letter-link {
      display: block;
      text-align: center;
      padding: 8px;
      border-radius: 8px;
      color: #1d4ed8;
      text-decoration: none;
      font-weight: 500;
      transition: background-color 0.2s;
    }
    .letter-link:hover {
      background-color: #e0f2fe;
    }
    .letter-link.active {
      background-color: #bfdbfe;
      font-weight: 700;
    }
/* Animation 1: Scale Pulse */
        .animscale {
         
        font-size:10px;
            animation: twinkle 2s ease-in-out infinite;
        }
       
  /* Animation Flip */
        .animflip {
            animation: flip 3s ease-in-out infinite;
             
        }
        @keyframes flip {
            0%, 100% { 
              transform: perspective(400px) rotateY(0deg); }
            50% { transform: perspective(400px) rotateY(30deg); }
       
            0%, 100%  {  
              text-shadow: 0 0 3px #FFEB3B; color: #0089cb; }
            50% {  text-shadow: 0 0 3px #FF5722;  color: #0e7202; }
            
        }
    #featured-terms {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
    }
    #featured-terms a {
      color: #1d4ed8;
      text-decoration: none;
      font-weight: 500;
      padding: 12px;
      border-radius: 8px;
      transition: background-color 0.2s;
    }
    #featured-terms a:hover {
      background-color: #e0f2fe;
    }
    #featured-terms .error {
      color: #ef4444;
      font-weight: 500;
    }
    .categories {
      display: grid;
      grid-template-columns: 1fr;
      gap: 24px;
    }
    @media (min-width: 640px) {
      .categories {
        grid-template-columns: repeat(2, 1fr);
      }
    }
    @media (min-width: 1024px) {
      .categories {
        grid-template-columns: repeat(4, 1fr);
      }
    }
    .categories div {
      padding: 16px;
      border-radius: 8px;
      background:#0000ff05;
      transition: background-color 0.2s;
    }
    .categories div:hover {
      background-color: #e0f2fe;
    }
    .categories a {
      color: #1d4ed8;
      text-decoration: none;
      font-weight: 500;
      display: block;
    }
    .categories a:hover {
      color: #1e40af;
    }
    .categories p {
      font-size: 0.875rem;
      color: #4b5563;
      margin-top: 8px;
      text-align:justify;
    }
    footer {
      background: #1d4ed8;
      color: white;
      text-align: center;
      padding: 24px 16px;
    }
    footer p {
      margin: 0;
      font-size: 1rem;
    }

.catimage {
    margin:5px;
      width:70%;
  border-radius:25%;
    }