/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgb(1, 20, 5);
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
}
.fixed-top {
  position: relative;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 32px;
  margin-right: 8px;
}

.header .logo i {
  font-size: 24px;
  margin-right: 6px;
}

.header .logo h1 {
  font-size: 28px;
  margin: 0;
  font-weight: 600;
  color: var(--heading-color);
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
}

.logo img {
  max-height: 80px;
  height: auto;
  width: auto;
}

.header .logo h1 {
  font-size: 14px;
  margin: 0;
  font-weight: 600;
}

.text-logo .tagline {
  font-size: 14px;
  margin-top: 3px;
  color: #b5abab;
}

@media (max-width: 768px) {
  .text-logo .sitename {
    font-size: 1.2rem;
  }

  .text-logo .tagline {
    font-size: 0.9rem;
  }

  .logo {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: rgba(0, 0, 0, 0.8);
}

.header-top-custom {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  color: #fff;
  font-size: 0.5rem;
  gap: 10px;
}

.header-top-custom .header-item {
  flex: 1 1 auto;
  min-width: 50px;
}

.header-top-custom .header-info {
  flex: 3 1 auto;
  text-align: left;
  font-size: 0.85rem;
  color: #eee;
}

.translate-widget {
  text-align: right;
}

#search-button-top {
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .header-top-custom {
    flex-direction: column;
    text-align: center;
  }

  .header-top-custom .header-item {
    text-align: center;
  }

  .translate-widget {
    text-align: center;
  }
}
