/* HOME AREA */
.home {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  text-align: center;
  width: auto;
  height: auto;
  max-width: 90%;
  box-sizing: border-box;
  z-index: 2;
  transition: top 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  /* Only animate top */
}


.home #home_logo {
  text-align: center;
  display: block;
  margin: 0 auto;
  clear: both;
  max-width: 485px;
  padding: 50px;
}

.search-bar {
  position: relative;
  margin: 0 auto;
}

.search-bar input[type="text"] {
  width: 746px;
  padding: 17px 100px 15px 60px;
  border-radius: 50px;
  border: 0 none;
  font-size: 16px;
  max-width: 100%;
  position: relative;
  z-index: 9;
}

#search.active {
  box-shadow: none;
}

input:focus:focus-visible {
  outline: 0;
  border: 0 none;
}

.search-bar input[type="text"]::placeholder {
  font-family: "Roboto", sans-serif;
  color: #afafaf;
  opacity: 1;
  font-weight: 400;
}

.icons {
  position: absolute;
  right: 25px;
  top: 25px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  z-index: 10;
}

.icons img {
  margin-left: 15px;
  height: 28px;
}

.icons img.hands {
  height: 24px;
  margin-top: 5px;
}

.search-action {
  position: absolute;
  left: 25px;
  top: 25px;
  transform: translateY(-50%);
  color: #5e5e5e;
  z-index: 10;
}

.feature_cat {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.feature_cat .item {
  width: 110px;
}

.feature_cat .thumb {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature_cat .thumb img {
  max-width: 100%;
  max-height: 100%;
  padding: 5px;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.feature_cat .item:hover .thumb img {
  padding: 0;
}

.feature_cat .thumb i {
  font-size: 50px;
}

.feature_cat .extra {
  background: #d8e2e1;
  border-radius: 50px;
}

.feature_cat .label {
  font-size: 14px;
  max-width: 100px;
  font-weight: 500;
  margin: 8px auto;
  color: #474747;
}

.search_cat_list {
  position: absolute;
  width: 100%;
  background: #fff;
  box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.2);
  top: 0;
  border-radius: 25px;
  z-index: 8;
  max-height: 0;
  overflow: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  min-height: 49px;
  transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
}

.search_cat_list.active {
  max-height: calc(100vh - 390px);
  padding-top: 40px;
  padding-bottom: 20px;
}

.search_item {
  font-size: 15px;
  text-align: left;
  padding: 20px 10px 0;
  color: #000;
  display: flex;
  align-items: center;
}

.search_item img {
  width: 20px;
  margin: 0 15px;
  border-radius: 50px;
}

.search_item.no-result {
  margin: 0 15px;
  color: #AFAFAF;
}

.copyright {
  position: fixed;
  bottom: 10px;
  font-size: min(14px, 3vw);
  text-align: center;
  left: 0;
  right: 0;
  color: #B1B1B1;
}

.copyright a {
  color: #B1B1B1;
}

.copyright a:hover {
  color: #006775;
}

#sign_icon {
  font-size: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}

#sign_icon label {
  font-size: 20px;
  cursor: pointer;
  color: #474747;
}

#sign_icon i {
  color: #B1B1B1;
}

#nav_bar {
  font-size: 20px;
  right: 3vw;
  top: 3vw;
}

.user_name {
  color: #000;
}

.lang-toggle-home {
  display: flex;
  border: 1px solid #B1B1B1;
  border-radius: 30px;
  padding: 2px;
  gap: 2px;
  height: 31px;
}

.lang-toggle-btn {
  min-width: 25px;
  height: 25px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 400;
  color: #B1B1B1;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0 none;
}

.lang-toggle-btn:hover {
  background: #B1B1B1;
  color: #FFFFFF;
}

.lang-toggle-btn.active {
  background: #B1B1B1;
  color: #FFFFFF;
}

@media screen and (max-width: 767px) {

  #sign_icon {
    font-size: 28px;
  }

  .hamburger-menu {
    display: block;
  }

  #hamburger {
    font-size: 28px;
    padding: 10px;
    cursor: pointer;
    position: fixed;
    top: 5px;
    left: 10px;
    color: #B1B1B1;
  }

  #hamburger i {
    display: block;
    font-weight: 500;
  }

  .feature_cat>*:nth-child(n+5):not(:last-child) {
    display: none;
  }

  .feature_cat .thumb {
    width: 60px;
    height: 60px;
  }

  .feature_cat .thumb i {
    font-size: 30px;
  }

  .search-bar input[type="text"] {
    padding: 15px 100px 15px 45px;
  }

  .search-action {
    left: 20px;
  }

}

/* MEDIA QUERIES */
@media screen and (max-width: 479px) {
  #home_logo {
    padding: 0;
  }
}

@media screen and (max-width: 565px) {
  #home_logo {
    padding: 0;
  }
}


/* MEDIA QUERIES */
@media screen and (max-width: 479px) {
  .feature_cat>*:nth-child(n+4):not(:last-child) {
    display: none;
  }
}