.dropdown-user {
  position: relative;
}
.avatar {
  appearance: none;
  background-color: #44b678;
  border: none;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font-family: Inter, Helvetica Neue, Helvetica, Arial, sans-serif;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  font-weight: 600;
  line-height: 1;
  padding: 0.75em 1em;
  text-decoration: none;
  user-select: none;
  vertical-align: middle;
  white-space: nowrap;
  position: relative;
  width: 36px;
  height: 36px;
  padding: 0;
  background: none;
}
.avatar:focus {
  outline: none;
}
.avatar img {
  width: 100%;
  height: auto;
}
button {
  outline: none;
}

.link-dropdown {
  display: flex;
  align-items: center;
  border: none;
  height: 36px;
  padding: 0 0.85em;
  color: rgba(32, 33, 36, 1);
  text-transform: uppercase;
}
.link-dropdown i {
  margin-right: 10px;
}
.btn-wrapper {
  display: flex;
  justify-content: center;
  flex-direction: column;
  font-size: 0.9em;
}

.btn-dropdown::after {
  content: "\f077";
  position: absolute;

  transition: 0.3s;
  font-family: "FontAwesome";
  color: rgba(32, 33, 36, 1);
  top: 50%;
  -webkit-transform: translateY(-50%) rotate(180deg);
  -moz-transform: translateY(-50%) rotate(180deg);
  -ms-transform: translateY(-50%) rotate(180deg);
  -o-transform: translateY(-50%) rotate(180deg);
  transform: translateY(-50%) rotate(180deg);
}

.btn-dropdown.rotate::after {
  -webkit-transform: translateY(-50%) rotate(0deg);
  -moz-transform: translateY(-50%) rotate(0deg);
  -ms-transform: translateY(-50%) rotate(0deg);
  -o-transform: translateY(-50%) rotate(0deg);
  transform: translateY(-50%) rotate(0deg);
}
.dropdown-container {
  position: absolute;
  top: 266px;
  transition: visibility 0.2s;
}

.overlay-dropdown {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #333333d3;
  opacity: 0;
  transition: opacity 0.2s ease-out;
}

.dropdown {
  visibility: hidden;
  width: 100%;
  max-width: 550px;
  min-width: 300px;
  font-size: 1em;
  text-align: center;
  background-color: #ffffff;
  border-radius: 5px;
  position: absolute;
  right: -14px;
  top: 50px;
  opacity: 0;
  transition: opacity 0.2s ease-out;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 16px 0 rgba(10, 14, 29, 0.04),
    0 8px 64px 0 rgba(10, 14, 29, 0.08);
  outline: none;
}
.dropdown:after,
.dropdown:before {
  font-size: 1.4em;
  display: block;
  width: 0;
  height: 0;
  content: "";
  pointer-events: none;
  position: absolute;
  top: -0.45em;
}
.dropdown:before {
  border-right: 10px solid transparent;
  border-bottom: 10px solid #999;
  border-left: 10px solid transparent;
  right: 0.97em;
}
.dropdown:after {
  border-right: 12px solid transparent;
  border-bottom: 12px solid #fff;
  border-left: 12px solid transparent;
  right: 0.9em;
}
.dropdown.active {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.2s ease-out;
}
/* .dropdown-container.active .dropdown {
  transform: translate(-50%, -50%);
  opacity: 1;
  transition: opacity 0.4s 0.2s ease-out, transform 0.3s ease-out;
} */
.close-dropdown {
  position: absolute;
  padding: 8px 10px;
  border: none;
  border-radius: 5px;
  top: 10px;
  right: 10px;
  color: #ffffff;
  background-color: #ff365e;
  font-size: 1.1em;
  cursor: pointer;
  font-weight: 600;
}
.dropdown h1 {
  font-size: 1.3em;
  font-weight: 500;
  line-height: 2em;
  margin-bottom: 16px;
  padding: 16px;
  border-bottom: 1px solid #d8d8d8;
}
.dropdown p {
  line-height: 1.2;
  margin-bottom: 32px;
}

@media screen and (max-width: 992px) {
  .dropdown-user {
    order: 2;
    padding-right: 1.5em;
  }
  .dropdown {
    right: 5px;
  }
}
