header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  /*  */
  width: 100%;
  height: 60px;
  /*  */
  background-color: var(--bg-pri);
  padding: 0 var(--ss);
  border-bottom: thin solid var(--bd-pri);
}

main {
  margin-top: 60px;
}

footer {
  background-color: var(--bg-pri);
}

.footer-category,
.footer-bottom,
.footer-nav {
  padding: var(--ss) 0;
}

.footer-nav {
  border-top: thin solid var(--bd-pri);
  border-bottom: thin solid var(--bd-pri);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  column-gap: 20px;
  row-gap: 3px;
  margin-bottom: 15px;
}

/*  */
.nav-user {
  position: relative;
}

.nav-user .user {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
}

.nav-user .user-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-user .user-img {
  background-color: var(--white);
}

.nav-user .user-menu {
  position: absolute;
  top: 120px;
  right: 0;
  padding: 10px 20px;
  background: var(--bg-pri);
  min-width: 200px;
  border-radius: 10px;
  border: thin solid var(--bd-pri);
  transition: 0.5s;
  visibility: hidden;
  opacity: 0;
}

.nav-user .user-menu.active-user {
  top: 50px;
  visibility: visible;
  opacity: 1;
}

.brand {
  font-weight: 700;
  font-size: var(--fs-1);
  text-transform: uppercase;
  white-space: nowrap;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 4rem;
  margin: 0 auto;
}

.count {
  position: absolute;
  top: -7px;
  right: -10px;
  padding: 2px 4px;
  font-size: var(--fs-s);
  line-height: 15px;
  background: var(--success);
  color: var(--white);
  border-radius: 10px;
  white-space: nowrap;
}

.navbar-actions {
  margin-left: var(--ss);
  display: flex;
  align-items: center;
}

.navbar-form {
  position: relative;
  margin-right: var(--ss);
}

.navbar-form-search {
  width: 100%;
  padding: 10px 20px;
  border-radius: var(--ss);
}

.navbar-form-btn {
  position: absolute;
  top: calc(50% - 14px);
  right: 10px;
}

.menu .menu-list {
  display: flex;
  list-style-type: none;
  padding-left: 0;
}

.menu .menu-item {
  position: relative;
  margin-right: 20px;
}

.menu .icon {
  display: none;
}

/* Login - Register */

.account {
  margin: auto;
  height: 100%;
  max-width: 600px;
  padding-top: 10%;
  padding-left: var(--sm);
  padding-right: var(--sm);
}

.account .user {
  margin-bottom: 60px;
  margin-top: 15px;
}

.account .form {
  .input-field {
    position: relative;
    margin-top: 2rem;
  }

  .label {
    color: var(--txt-sec);
    position: absolute;
    transition: all 0.3s ease-in-out;
    top: var(--ss);
    padding-left: var(--ss);
  }

  .input {
    border: none;
    border-bottom: 2px solid var(--bd-pri);
    display: block;
    font-size: var(--fs);
    height: 35px;
    line-height: 35px;
    outline: none;
    width: 100%;
  }

  input::placeholder {
    opacity: 0;
  }

  .input:focus + label,
  input:not(:placeholder-shown) + label {
    color: var(--info);
    font-size: var(--ssmall);
    font-weight: var(--fw-500);
    top: -20px;
  }

  input:focus {
    border-bottom: 2px solid var(--info);
  }
}

.account .footer {
  padding: 1rem 0;
  position: fixed;
  bottom: 0;

  a {
    padding-right: 2rem;
  }

  ul {
    padding: 0;
  }

  li {
    display: inline-block;

    &:not(:first-child) {
      position: relative;
    }
  }
}

.user {
  span.user-logo {
    background-color: var(--red);
    color: var(--white);
    display: inline-block;
    height: 25px;
    line-height: 25px;
    margin-right: 10px;
    text-align: center;
    width: 25px;
    border-radius: 50%;
  }
}

/*  */
#demo {
  display: flex;
  row-gap: 10px;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;

  .header {
    width: 100%;
    background-color: var(--bg-pri);
    position: fixed;
    z-index: 1;
    top: 0;
  }

  .nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

  .nav ul {
    display: flex;
    min-height: 40px;
    list-style: none;
  }

  .nav li {
    min-height: 20px;
    padding: 0 10px;
    float: left;
    display: flex;
    align-items: center;
    font-size: 0.8em;
  }

  .nav a {
    color: #616161;
    text-decoration-line: none;
  }

  a:hover {
    color: var(--active);
  }

  #Apps {
    opacity: 0.5;
  }

  #Apps:hover {
    opacity: 1;
  }

  #sign-in {
    color: seashell;
    font-weight: bold;
    border: 1px solid #4285f4;
    background: #4285f4;
    outline: none;
    padding: 2px 12px;
    line-height: 28px;
    border-radius: 3px;
  }

  #sign-in:hover {
    text-decoration: none;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
  }

  /*  */
  .time {
    text-transform: uppercase;
    display: flex;
  }

  .time span {
    padding: 0 14px;
    font-size: 10px;
  }

  .time span div {
    font-size: 40px;
  }

  /*  */
  .container {
    margin-top: 100px;
    margin-bottom: 50px;
  }

  /*  */

  .footer {
    background-color: var(--bg-pri);
    position: fixed;
    z-index: 1;
    right: 0;
    left: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: 1px solid var(--bd-pri);
    font-size: 0.9em;
  }

  .footer #down {
    padding: var(--ss);
  }

  .footer a {
    text-decoration-line: none;
    padding-right: 25px;
  }
}
