* {
  font-family: "Ligconsolata", sans-serif;
  font-weight: bold;
}

/*----------------------HEADER--------------------*/

header {
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px;
  position: fixed;
  background-color: #fdfeff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.header-content {
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.header-left-side {
  width: 40%;
  height: 100%;
  display: flex;
  align-items: center;
  min-width: 0;
}

.header-right-side {
  width: 30%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 40px;
  flex-shrink: 0;
}

.home-button {
  width: 60px;
  height: 60px;
  margin-left: 20px;
  margin-right: 20px;
  border-radius: 50%;
  flex-shrink: 0;
}

.search-bar {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}

.search-bar .search-icon {
  position: absolute;
  left: 15px;
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.search-bar input {
  color: #000000;
  font-size: large;
  width: 100%;
  height: 35px;
  background-color: #eeeeee;
  border-radius: 20px;
  border: none;
  padding-left: 40px;
}

.search-bar input::placeholder {
  color: #494949;
}

.search-bar input:focus {
  outline: none;
}

#notification-button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
}

#notification-button span {
  font-size: 20px;
  color: #222222;
}

#profile-button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
}

#profile-button span {
  font-size: 20px;
  color: #222222;
}

#help-button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
}

#help-button span {
  font-size: 20px;
  color: #222222;
}

#dark-mode-button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
}

#dark-mode-button span {
  font-size: 20px;
  color: #222222;
}

.def-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
}

.def-btn:hover {
  background-color: #e0e0e0;
}

.new-project-button {
  width: 40px;
  height: 40px;
  background-color: #7127d8;
  border-radius: 50%;
  border: none;
  margin-right: 20px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.5s ease;
  flex-shrink: 0;
}

.new-project-button:hover {
  background-color: #7127d8;
  transform: rotate(180deg);
}

.new-project-button span {
  font-size: 25px;
  color: #fff;
}

/*--------------MENUS DROPDOWN--------------*/

.dropdown-menu {
  position: fixed;
  top: 50px;
  padding: 10px 0px;
  margin-top: 5px;
  border-radius: 10px;
  z-index: 1100;
  display: none;
  width: 150px;
  height: fit-content;
  background-color: #F5F5F5;
  text-align: left;
  box-shadow: 2px 2px 7px -5px #222222;
}

.dropdown-menu ul {
  list-style: none;
  width: fit-content;
  display: flex;
  padding: 0;
  margin-left: 10px;
  flex-direction: column;
  gap: 7px;
}

.dropdown-menu a {
  text-decoration: none;
  color: #323232;
}

#profile-dropdown-menu {
  right: 50px;
}

#profile-dropdown-menu ul li #user-name {
  color: #323232;
}

#notification-dropdown-menu {
  right: 100px;
}

/*--------------RESPONSIVIDADE MOBILE--------------*/

/* Tablets */
@media screen and (max-width: 768px) {
  .home-button {
    width: 50px;
    height: 50px;
    margin-left: 10px;
    margin-right: 15px;
  }

  .header-right-side {
    width: auto;
    gap: 5px;
  }

  .new-project-button {
    margin-right: 10px;
  }

  .search-bar input {
    font-size: medium;
  }
}

/* Celulares */
@media screen and (max-width: 480px) {
  header {
    height: 60px;
    padding: 5px 0;
  }

  .header-content {
    gap: 5px;
  }

  .home-button {
    width: 40px;
    height: 40px;
    margin-left: 5px;
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .home-button img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  .header-left-side {
    width: auto;
    flex: 1;
    min-width: 0;
  }

  .search-bar {
    margin-right: 5px;
  }

  .search-bar input {
    font-size: small;
    height: 32px;
    padding-left: 35px;
  }

  .search-bar .search-icon {
    left: 10px;
    width: 16px;
    height: 16px;
  }

  .header-right-side {
    width: auto;
    gap: 2px;
    flex-shrink: 0;
  }

  .def-btn {
    width: 28px;
    height: 28px;
  }

  #notification-button,
  #profile-button,
  #help-button,
  #dark-mode-button {
    width: 28px;
    height: 28px;
  }

  #notification-button span,
  #profile-button span,
  #help-button span,
  #dark-mode-button span {
    font-size: 17px;
  }

  .new-project-button {
    width: 35px;
    height: 35px;
    margin-right: 5px;
  }

  .new-project-button span {
    font-size: 20px;
  }

  /* Ajustar dropdown menus no mobile */
  .dropdown-menu {
    top: 45px;
  }

  #profile-dropdown-menu {
    right: 10px;
  }

  #notification-dropdown-menu {
    right: 50px;
  }
}

/* Celulares muito pequenos */
@media screen and (max-width: 360px) {
  .home-button {
    width: 35px;
    height: 35px;
    margin-left: 3px;
    margin-right: 6px;
  }

  .search-bar input {
    font-size: 12px;
    height: 30px;
  }

  .new-project-button {
    width: 32px;
    height: 32px;
  }

  .new-project-button span {
    font-size: 18px;
  }

  #notification-button,
  #profile-button,
  #help-button,
  #dark-mode-button {
    width: 26px;
    height: 26px;
  }

  #notification-button span,
  #profile-button span,
  #help-button span,
  #dark-mode-button span {
    font-size: 15px;
  }
}

@import url("../css/dark-mode.css");