.top-bar {
  padding: 12px 0;
  background-color: var(--back-header);
  /* 0-top, 90-right, 180-bottom */
  background-image: linear-gradient(135deg, #334756, #082032);
  border-bottom: 2px solid var(--color3);

  /* background: linear-gradient(-45deg, #485b6e, #1c1f29); */
  /* background-image: linear-gradient(25deg, #141e30, #243b55); */
  /* box-shadow: 0px 2px 15px var(--shadow-header); */

  transition: all 0.5s;
  z-index: 99;
  /* Sticky only works within the section it is defined in */
  position: -webkit-sticky;
  position: sticky;
  top: 0;
}

@media (min-width: 400px) {
  .top-bar {
    padding: 16px 0;
  }
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* border: 1px solid coral; */
}

.top-bar.header-scrolled {
  padding: 10px 0;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - -  */
.top-bar .logo {
  font-family: var(--font-2);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: #fff;
  /*  */
  display: none;
  align-items: center;
  /* border: 1px dashed red; */
}

@media (min-width: 600px) {
  .top-bar .logo {
    display: flex;
  }
}

.top-bar .logo img {
  /* width: 32px; */
  height: 32px;
  display: flex;
  margin-right: 1rem;
}

/* - - - - - - - - - - - - - - - - - - - - */
/* Search */
/* - - - - - - - - - - - - - - - - - - - - */
.top-bar .searchbar {
  font-size: 1rem;
  color: #fff;
  display: flex;
  align-items: center;
  /* border: 1px solid red; */
}

@media (min-width: 360px) {
  .top-bar .searchbar {
    /* margin-left: 1rem; */
    font-size: 1.2rem;
  }
}

.top-bar .searchbar form {
  /* margin-left: 1rem; */
  margin-right: auto;
  padding: 8px 12px;
  background-color: #f8f9fa;
  border-radius: 10px;
}

.top-bar input[type="text"] {
  max-width: 15ch;
  background-color: transparent;
  border: none;
  font-size: 1.2rem;
  outline: none;
}

/* - - - - - - - - - - - - - - - - - - - - */
/* Toggler */
/* - - - - - - - - - - - - - - - - - - - - */
.top-bar .side-toggle {
  width: 40px;
  height: 40px;
  /* background-color: var(--color2); */
  /* border-radius: 50px; */
  border: 0;
  /*  */
  font-size: 30px;
  line-height: 0;
  color: #fff;
  /*  */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /*  */
  transition: all 0.4s;
  cursor: pointer;
  /* border: 1px solid red; */
}

