.profile {
  max-width: 100%;
  height: auto;
}

.nav-profile {
  background-color: #fff;
  padding: 0 3rem;
  border-radius: 0.625rem;
}

.ul-profile {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.li-profile {
  list-style-type: none;
  position: relative;
  padding: 0.625rem 0 0.5rem;
}

.li-profile .ul-profile {
  flex-direction: column;
  position: absolute;
  background-color: white;
  align-items: flex-start;
  transition: all 0.5s ease;
  width: 20rem;
  right: -3rem;
  top: 4rem;
  border-radius: 0.325rem;
  gap: 0;
  padding: 1rem 0rem;
  opacity: 0;
  box-shadow: 0px 0px 100px rgba(20, 18, 18, 0.25);
  display: none;
}

.ul-profile .li-profile:hover > .ul-profile,
.ul-profile .li-profile .ul-profile:hover {
  visibility: visible;
  opacity: 1;
  display: flex;
}

.material-icons-outlined {
  color: #888888;
  transition: all 0.3s ease-out;
  font-size: 22px;
}

.material-icons-outlined:hover {
  color: #63e88b;
  transform: scale(1.25) translateY(-4px) rotate(10deg);
  cursor: pointer;
}

.profile {
  height: 3rem;
  width: auto;
  cursor: pointer;
}

.sub-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.725rem;
  cursor: pointer;
  padding: 0.5rem 1.5rem;
}

.sub-item:hover {
  background-color: rgba(232, 232, 232, 0.4);
}

.sub-item:hover .material-icons-outlined {
  color: #2072bd;
  transform: scale(1.08) translateY(-2px);
  cursor: pointer;
}

.sub-item:hover .p-profile {
  color: #000;
  cursor: pointer;
}

.sub-item .p-profile {
  font-size: 0.85rem;
  color: #888888;
  margin: 0.4rem 0;
  flex: 1;
  font-size: 18px;
}
