.header-logo{
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-right: 20px;
}

.search-bar{
  display: flex;
  align-items: center;
  width: 40%;
  justify-content: space-around;
}

.search-container {
  display: flex;
  align-items: center;
  width: 100%;
  height: 35px;
  border-radius: 5px 10px 10px 5px;
  background-color: #F0F9FF; 
}

.search-input {
  width: 80%;
  flex: 1;
  margin-left: 5px;
  border: none;
  outline: none;
  font-size: 16px;
  background-color: transparent;
  color: #333;
}

.search-button {
  background-color: #00bf63; 
  border: none;
  border-radius: 0 10px 10px 0;
  width: 20%;
  height: 35px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-button .icon {
  width: 15px;
  height: 15px;
  filter: brightness(0) invert(1);
}

.menu-bar{
  display: flex;
  align-items: center;
}

.navbar-menu {
  display: flex;
  align-items: center;
}

.button-item {
  color: #F0F9FF;
  margin: 20px;
  font-size: 13px;
  cursor: pointer;
}

.start-button {
  margin-left: 20px;
  background-color: transparent; 
  border: 2px solid #F0F9FF;
  color: #F0F9FF;
  padding: 5px 20px 5px 20px;
  border-radius: 20px; 
  font-size: 16px;
  height: 35px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.start-button:hover{
  background-color: #F0F9FF; 
  border: 2px solid #106db9;
  color: #106db9;
}

.select {
  color: #00bf63;
}

.button-content {
  margin-top: 20px;
  background-color: #00bf63; 
  border: none;
  color: #F0F9FF;
  padding: 5px 20px 5px 20px;
  border-radius: 20px; 
  font-size: 16px;
  height: 35px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.title-content {
  color: #F0F9FF;
  font-size: 40px;
}

.content-content {
  color: #F0F9FF;
  font-size: 16px;
  margin-top: 10px;
}

.container {
  overflow: hidden;
  width: 100%; /* Độ rộng khung chứa */
  display: flex;
  justify-content: center;
}

.carousel {
  display: flex;
  margin-top: 20px;
  transition: transform 0.5s ease; /* Hiệu ứng trượt */
}


.card {
  border-radius: 15px;
  background-color: #F0F9FF;
}

.item {
  flex: 0 0 20%;
  width: 20%;
  margin: 25px;
  height: auto;
  opacity: 0.5; 
  border-radius: 8px;
  box-sizing: border-box;
  object-fit: cover; 
  transition: opacity 0.3s, transform 0.3s;
  overflow: hidden;
}

.item.selected {
  opacity: 1; /* Item được chọn hiển thị rõ */
  transform: scale(1.1); /* Phóng to nhẹ */
}

.level {
  width: max-content;
  padding: 5px;
  margin-top: 10px;
  border-radius: 10px;
  font-size: 10px;
  background-color: #00bf63;
  color: #F0F9FF;
}

.card-content{
  padding: 15px;
}


.menu-item {
  position: relative;
  padding: 10px 20px;
}

.menu-button{
  width: 40px;
  height: 40px;
  background-color: transparent;
  border: none;
  font-size: 30px;
  color:#F0F9FF;
}




#menu-btn{
display: none;
}


@media (max-width: 768px) {
.carousel {
    margin-top: 40px;
    width: 100%;
}

.item {
    width: 100%;
    margin: 5px;
    flex: 0 0 30%;
    width: 30%;
    height: auto;
    opacity: 1; 
    border-radius: 8px;
    box-sizing: border-box;
    object-fit: cover; 
    transition: none;
    overflow: hidden;
}

.menu-bar{
  display: none;
}

.search-bar{
  width: 80%;
}

#menu-btn{
  display: block;
}

.main{
  width: 90%;
  padding-left: 5%;
  padding-right: 5%;
}
}

.nav-mobile{
display: none;
}

.active{
display: block;
width: 50%;
height: 100%;
background-color: #F0F9FF;
position: fixed;
color: #070707;
top: 0;
right: 0;
z-index: 999;
padding: 10%;
}

.canvas-menu-list {
list-style: none;
}

.item-canvas-menu-list {
margin: 15px;
}

.item-start-button {
background-color: #00bf63;
}

.nav-mobile-header {
display: flex;
justify-content: space-between;
align-items: start;
}

.button-x {
background-color: transparent;
border: none;
font-size: 25px;
}


/* Thiết lập thuộc tính ban đầu của phần tử */
.slide-in-element {
transform: translateX(-100%); /* Bắt đầu từ ngoài màn hình bên trái */
opacity: 0; /* Đặt độ trong suốt để ẩn phần tử */
transition: transform 2.0s ease-out, opacity 2.0s ease-out;
}

/* Khi thêm lớp .active, phần tử sẽ trượt vào */
.slide-in-element.start {
transform: translateX(0); /* Phần tử sẽ ở vị trí bình thường */
opacity: 1; /* Hiện phần tử */
}