﻿.hieuung_dtnhay {
  animation-name: icon_to_nho;
  animation-duration: 1s;
  animation-iteration-count: infinite;

}

@keyframes icon_to_nho {
  0%   {   transform: scale(1,1); }
  25%  { transform: scale(1.5,1.5);}
}




/* CSS */
.img_style_01{
  position: relative;
  overflow: hidden;
  border-radius: 6px; /* div giữ nguyên vuông */
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
  transition: transform .35s ease, box-shadow .35s ease;
  cursor: pointer;
}


.img_style_01 img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;     /* bo góc nhẹ ảnh */
  transform: scale(1);
  transition: transform .5s ease, filter .5s ease;
}

/* Hover */
.img_style_01:hover img{
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.02);
}


/* Lớp phủ ánh sáng + gradient */
.img_style_01::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 50% at 50% 40%, rgba(255,255,255,.18), transparent 60%),
    linear-gradient(to top, rgba(0,0,0,.28), rgba(0,0,0,0) 60%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}

.nendep01
{
	
            background-color:var(--color5);
            padding: 15px;
            border: 1px solid #ccc;
            border-radius: 5px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            background-image: linear-gradient(var(--color5), var(--color5), var(--color6));
	
}
.nendep01:hover {
  background-image: linear-gradient(180deg, #FF6600, #FFCC00); /* đổi màu nền gradient */
  box-shadow: 0 0 15px rgba(255, 102, 0, 0.5); /* đổ bóng cam cam */
}
.nendep02 {
    color: #fff; /* chữ trắng */
    padding: 10px;
    border: 1px solid var(--color6); /* xanh đậm viền */
    border-radius: 5px;
    background-color: #091af2;
    background-image: linear-gradient(to right,  var(--color5)  ,  var(--color6)  ); /* trái xanh đậm -> phải xanh nhạt */
    box-shadow: 0 0 12px rgba(9, 26, 242, 0.4);
}

.nendep02:hover {
    background-image: linear-gradient(to right, var(--color6),var(--color6)); /* hover: sáng hơn */
    box-shadow: 0 0 20px rgba(9, 26, 242, 0.7);
    color: #fff; /* giữ chữ trắng */
}
	