body {
  background-color: rgb(25, 25, 25);
  color: rgb(255, 255, 255);
  font-size: 30px;
}
.item_menu {
  margin: 0px;
  display: inline-block;
  /* padding: 0.7vw; */
  color: skyblue;
  padding-left: 1vw;
  padding-right: 1vw;
}
a {
  text-decoration: none;
  color: rgb(255, 255, 255);
}
section {
  min-height: 80vh;
  border: 2px solid green;
  border-radius: 25px;
  padding: 0px;
  margin-top: 6vw;
  overflow: hidden;
  display: flex;
}

#top-sec {
  margin-top: 8vw;
  background-image: url(../img/label2.png);
}

section {
  align-items: center;
  background-color: gray;
  min-height: 80vh;
  border: 2px solid green;
  border-radius: 25px;
  padding: 0px;
  margin: 20px;
  overflow: hidden;
  display: flex;
}

/* Thêm CSS cho mobile menu */
.menu-toggle {
  display: none; /* Ẩn mặc định trên desktop */
  cursor: pointer;
  font-size: 2rem;
  color: white;
  padding: 1vw;
  position: absolute;
  left: 1vw;
  top: 1vw;
}

@media (max-width: 768px) {
  #header {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    height: auto;
    text-align: left;
    overflow: hidden;
    max-height: 6vw; /* Chỉ hiển thị chiều cao ban đầu cho toggle */
    transition: max-height 0.3s ease-in-out; /* Animation cho menu */
  }

  #header.active {
    max-height: 100vh; /* Mở rộng để hiển thị toàn bộ menu */
  }

  .menu-toggle {
    display: block; /* Hiển thị trên mobile */
  }

  .item_menu {
    width: 100%;
    padding: 1vw 2vw;
    border-bottom: 1px solid #333;
    display: block;
  }

  .item_menu:last-child {
    border-bottom: none;
  }
}
/* #label{
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
} */
.title {
  text-align: center;
  align-items: center;
  font-family: "Courier New", Courier, monospace;
  font-size: 6rem;
  font-weight: 900;
  color: azure;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: titl 2s ease-in forwards;
}
@keyframes titl {
    0%{
        transform: translateY(-50px);
        opacity: 0;
    }
    100%{
        transform: translateY(0px);
        opacity: 1;
    }
}
#produce {
  display: inline-block;
  width: 100%;
  height: 100%;
  padding: 10px;
}
.item-produce {
  list-style-type: none;
  text-decoration: none;
  overflow: hidden;
  display: inline-block;
  width: 23vw;
  height: 60vh;
  background-color: black;
  border-radius: 10%;
  margin-bottom: 4%;
  font-size: 2.5rem;
  color: aliceblue;
  font-weight: 900;
  animation: item_out 1s ease forwards;
}
.item-produce:hover {
  animation: item 1s ease forwards;
}
@keyframes item_out {
  0% {
    scale: 1.2;
  }
  100% {
    scale: 1;
  }
}
@keyframes item {
  0% {
    scale: 1;
  }
  100% {
    scale: 1.2;
  }
}
.item-produce img {
  border-radius: 25px;
  height: auto; /* Để hình ảnh giữ tỷ lệ, không ép height 100% nếu làm méo */
  max-height: 60%; /* Giới hạn chiều cao hình ảnh để chừa chỗ cho text */
  width: 100%;
  object-fit: cover;
}

#header {
  width: 100vw;
  background-color: rgb(227, 0, 0);
  height: 7vw;
  text-align: right;
  position: fixed;
  top: 0; /* đảm bảo dính sát đỉnh */
  left: 0; /* sát trái */
  z-index: 9999;
}
.item_menu {
  margin: 0px;
  font-size: 1.5rem;
  display: inline-block;
  margin: 0px 0px;
  padding: 0%;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: 20px;
  color: rgb(0, 173, 0);
  position: relative;
  display: inline-block;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 2rem;
}
.item_menu:hover {
  animation: col-change 1.5s ease forwards;
}
@keyframes col-change {
  0% {
    color: rgb(0, 173, 0);

    color: rgb(254, 0, 0);
  }
  100% {
    background-color: rgb(0, 29, 143);
    color: rgb(254, 0, 0);
    color: rgb(0, 173, 0);
  }
}
.container_left{
    border-radius: 25px;
    overflow: hidden;
    width: 45vw;
    animation: left 2s ease forwards;
}
.container_right{
        border-radius: 25px;
    margin-left: 10px;
    overflow: hidden;
    width: 45vw;
    animation: right 2s ease forwards;
    height: 100%;
}
@keyframes right {
    0%{
        transform: translateX(50px);
        opacity: 0;
    }
    100%{
        transform: translateX(0px);
        opacity: 1;
    }
}
@keyframes left {
    0%{
        transform: translateX(-50px);
        opacity: 0;
    }
    100%{
        transform: translateX(0px);
        opacity: 1;
    }
}