* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  background: linear-gradient(to left, #ffffff, #a7bf666c);
  font-family: sans-serif;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 45px;
  background: linear-gradient(to left, #ffffff, #a7bf6647);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 60px;
  z-index: 1000;
}


.container {
  display: flex;
  gap: 60px;
  margin-left: auto;
  flex-wrap: nowrap; 
  margin-right: 10%;
}

.button {
  display: inline-block;  
  position: relative;
  padding: 5px 0;         
  color: black;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}


.button::after {
  content: "";
  position: absolute;
  left: 0;                /* Gạch bắt đầu từ đầu chữ */
  bottom: -5px;           /* Cách dưới chữ 1 chút */
  height: 3px;
  width: 0;               /* Ban đầu ẩn */
  background-color: #81944e9c;  /* Màu gạch dưới */
  transition: width 0.3s ease-in-out;
}

.button:hover::after {
  width: 100%;            /* Khi hover: chạy hết chiều ngang chữ */
}


svg {
    margin-top: 5%;
    display: inline-block;
    width: 100%;
    max-width: 100%;
    height: auto;
    vertical-align: top;
}

path {
    transition: transform 0.3s ease, filter 0.3s ease;
    transform-origin: center;
    transform-box: fill-box;
}

path:hover {
    transform: scale(1.5);
    cursor: pointer;
}

.search-container {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  backdrop-filter: blur(18x);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  padding: 10px 20px;
  transition: all 0.3s ease;
  margin-left:30%
}

#search-input {
  width: 0;
  transition: width 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  margin-right: 10px;
  border: none;
  outline: none;
  font-size: 16px;
  background: transparent;
  color: #000;
}

.search-container.show #search-input {
  width: 350px;
  opacity: 1;
}

#search-button {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
}

#search-button svg {
  stroke: #333;
}