#header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 1rem;
  border-bottom: 0.5px solid #1c1c21;
}

.main-logo {
  cursor: pointer;
  width: 15vw;
  float: left;
}

.nav-bar {
  display: flex;
  margin: 0 auto;
  position: relative;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0);
  width: max-content;
  overflow: hidden;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  border: 0.5px solid #1c1c21;
  border-bottom: 0;
  float: left;
  width: max-content;
  align-self: flex-end;
}

nav ul {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  width: fit-content;
  text-align: center;
}

nav li {
  float: left;
  position: relative;
  cursor: pointer;
  width: max-content;
  text-wrap: nowrap;
}

nav li a {
  display: block;
  color: #ffdc73;
  text-align: center;
  padding: 2vh 1vw;
  width: 105px;
  text-decoration: none;
  border: 0.5px solid #1c1c21;
}

nav li a:hover {
  background-color: #222228;
}

nav li:not(:last-of-type)::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background-color: white;
}

nav li::after {
  background-color: #131316;
}

.selected-nav {
  background-color: #202024;
  color: #ffbf00;
}

.selected-nav:hover {
  background-color: #202024;
}

.mobile-nav {
  display: none;
}

.log-elements {
  display: none;
}

.sign-buttons {
  margin-left: 10px;
}

.btn-sign {
  font-size: 1vw;
  background: transparent;
  border: none;
  padding: 1em 1.5em;
  color: #ffedd3;
  text-transform: uppercase;
  position: relative;
  transition: 0.5s ease;
  cursor: pointer;
}

.btn-sign::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background-color: #d8b04a;
  transition: 0.5s ease;
}

.btn-sign:hover {
  color: #1e1e2b;
  transition-delay: 0.5s;
}

.btn-sign:hover::before {
  width: 100%;
}

.btn-sign::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 0;
  width: 100%;
  background-color: #d8b04a;
  transition: 0.4s ease;
  z-index: -1;
}

.btn-sign:hover::after {
  height: 100%;
  transition-delay: 0.4s;
  color: aliceblue;
}

.button-log {
  cursor: pointer;
  position: relative;
  padding: 10px 24px;
  font-size: 1vw;
  color: #d8b04a;
  border: 2px solid #d8b04a;
  border-radius: 34px;
  background-color: transparent;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  overflow: hidden;
  margin-right: 30px;
}

.button-log::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 50px;
  height: 50px;
  border-radius: inherit;
  scale: 0;
  z-index: -1;
  background-color: #d8b04a;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.button-log:hover::before {
  scale: 3;
}

.button-log:hover {
  color: #212121;
  scale: 1.1;
  box-shadow: 0 0px 20px rgba(193, 163, 98, 0.4);
}

.button-log:active {
  scale: 1;
}

.profile-button-part {
  position: relative;
  left: 2rem;
}

.profile-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px 12px;
  gap: 8px;
  height: 36px;
  width: 120px;
  border: none;
  background: #5e41de33;
  border-radius: 20px;
  cursor: pointer;
}

.lable {
  line-height: 20px;
  font-size: 17px;
  color: #5d41de;
  font-family: sans-serif;
  letter-spacing: 1px;
}

.profile-btn:hover {
  background: #5e41de4d;
}

.profile-btn:hover .svg-icon {
  animation: spin 2s linear infinite;
}

.profile-btn:active {
  scale: 99%;
}

.user-drop {
  display: flex;
  flex-direction: column;
  width: 200px;
  background-color: #5d41de;
  justify-content: center;
  border-radius: 5px;
  top: 5.3rem;
  left: 3rem;
  position: absolute;
  display: none;
}

.value {
  background-color: transparent;
  border: none;
  padding: 10px;
  color: white;
  display: flex;
  position: relative;
  gap: 5px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 1rem;
}

.value:hover {
  background-color: #7357084d;
}

.value:not(:active):hover,
.value:focus {
  background-color: #7357084d;
}

.value:focus,
.value:active {
  background-color: #7357084d;
  outline: none;
}

.value::before {
  content: "";
  position: absolute;
  top: 5px;
  left: -10px;
  width: 5px;
  height: 80%;
  background-color: #7357084d;
  border-radius: 5px;
  opacity: 0;
}

.value:focus::before,
.value:active::before {
  opacity: 1;
}

.value svg {
  width: 15px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@media screen and (max-width: 1060px) {
  .button-log {
    display: none;
  }
  .btn-sign {
    display: none;
  }

  .profile-button-part {
    display: none;
  }

  #header {
    flex-direction: column;
    height: max-content;
  }

  .main-logo {
    float: left;
    width: 100%;
  }
  .logoContainer {
    width: 40%;
  }
  .nav-bar {
    width: 100%;
    display: none;
  }
  nav ul {
    display: flex;
    flex-direction: column;
    width: 100vw;
  }
  nav li {
    width: 100vw;
  }
  nav li a {
    width: 100vw;
    font-size: 2.5vw;
  }
  .mobile-header-start {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .mobile-nav {
    display: block;
    cursor: pointer;
    padding: 0.6rem;
    padding-bottom: 0;
  }
  .mobile-nav:hover,
  .mobile-nav:active {
    background: rgba(255, 255, 255, 0.112);
  }
  .second-nav-button {
    display: none;
  }
  .log-elements {
    display: block;
  }
  .msg-count {
    border-radius: 0px 0px 50% 0px !important;
    left: 8px !important;
  }
  .notifi-drop {
    position: relative !important;
    margin: 0 auto;
    top: 0 !important;
    width: 90% !important;
  }
}

.notification-button {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(0 0 0 / 0%);
  cursor: pointer;
  transition-duration: 0.3s;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.13);
  border: 0.5px solid #1c1c21;
  padding: 2vh 1vw;
}

.notification-bell {
  width: 18px;
}

.notification-bell path {
  fill: #d9b34a;
}

.notification-button:hover {
  background-color: rgb(56, 56, 56);
}

.notification-button:hover .notification-bell {
  animation: bellRing 0.9s both;
}

/* bell ringing animation keyframes*/
@keyframes bellRing {
  0%,
  100% {
    transform-origin: top;
  }

  15% {
    transform: rotateZ(10deg);
  }

  30% {
    transform: rotateZ(-10deg);
  }

  45% {
    transform: rotateZ(5deg);
  }

  60% {
    transform: rotateZ(-5deg);
  }

  75% {
    transform: rotateZ(2deg);
  }
}

.notification-button:active {
  transform: scale(0.8);
}

.msg-count {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #d9b34a;
  border-radius: 50% 0px;
  font-size: 0.7em;
  color: rgb(0, 0, 0);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-drop-cont {
  display: flex;
  flex-direction: column;
  margin-top: 12px;
}

.notifi-drop {
  /* direction: ltr; */
  background-color: #d9b34a;
  display: flex;
  flex-direction: column;
  width: 350px;
  justify-content: center;
  border-radius: 5px;
  top: 6.9rem;
  left: auto;
  position: absolute;
  align-self: flex-end;
  z-index: 2000;

  /* margin-right: 23rem; */
}
.notifi-line {
  border-bottom: 0.5px solid #977310;
}

.notifi-line p {
  margin: 0;
}

.recentSeenTitle {
  margin: 0;
  margin-right: 2px;
  font-size: 15px;
}
