/* mèo */

.cute-animation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    position: relative; /* Added position relative for absolute positioned hearts */
    user-select: none;  /* Ngừng sao chép */
    pointer-events: none; /* Ngừng kéo thả */
}

.cat-svg {
    width: 200px;
    height: auto;
    filter: drop-shadow(0 5px 10px rgba(255, 107, 149, 0.3));
    animation: bounce 3s ease-in-out infinite;
    position: relative; /* Added position relative */
    z-index: 2; /* Ensure cat is above hearts */
    
}

.cat-hearts {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.cat-heart {
    position: absolute;
    width: 30px;
    height: 30px;
    background: url('ong.png') no-repeat;
    background-size: contain;
    opacity: 0.8;
    animation: catHeartFloat 4s ease-in-out infinite;
}


.ch1 {
    top: -15px;
    left: 50px;
    animation-delay: 0s;
}

.ch2 {
    top: 30px;
    right: 60px;
    animation-delay: 1.2s;
}

.ch3 {
    bottom: 10px;
    left: 60px;
    animation-delay: 0.6s;
}

.ch4 {
    top: 10px;
    right: 40px;
    transform: scale(0.7);
    animation-delay: 2s;
}
.ch6 {
    top: 100px;
    right: 30px;
    transform: scale(0.7);
    animation-delay: 2s;
}

@keyframes catHeartFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.2);
    }
}

.animated-gradient-text {
  position: relative;
  margin: 0 auto;
  display: flex;
  max-width: fit-content;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  border-radius: 1.25rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
  transition: box-shadow 0.5s ease-out;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
}

#hieu_ung_chu {
  text-align: center;
  margin: 0;
  font-size: 2rem;
  font-weight: bold;
  background-image: linear-gradient(90deg, red, orange, yellow, red);
  background-size: 300% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: gradient 5s linear infinite;
    user-select: none;  /* Ngừng sao chép */
    pointer-events: none; /* Ngừng kéo thả */
}

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

/* Áp dụng hiệu ứng cho các liên kết */
.text-hover {
    font-size: 16px; /* Kích thước chữ ban đầu */
    transition: transform 0.3s ease, color 2s ease; /* Hiệu ứng chuyển động mượt mà cho transform và color */
    text-decoration: none; /* Loại bỏ gạch chân mặc định */
    color: #000; /* Màu chữ mặc định */
    display: inline-block; /* Đảm bảo phần tử không ảnh hưởng đến các phần tử khác */
}

/* Khi di chuột vào liên kết */
.text-hover:hover {
    transform: scale(1.05); /* Tăng kích thước lên 2% */
    transform-origin: left center; /* Giữ nguyên vị trí của văn bản */
    color: #007bff; /* Thay đổi màu chữ khi hover */
    text-decoration: none; /* Đảm bảo không có gạch chân khi hover */
}
