:root {
  --shadow: 0px 2px 8px 0px gray;
}

.navbar {
  height: 6vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow);
}

.profile {
  position: absolute;
  right: 20px;
  user-select: none;
}

.user-pic {
  width: 30px;
  border-radius: 50%;
  background: white;
}

.profile-sub-menu-wrap {
  position: absolute;
  top: 100%;
  right: 10%;
  min-width: 300px;
  max-width: 300px;
  overflow: hidden;
  z-index: 1000;
  transition: max-height 0.5s;
}

.sub-menu {
  background: white;
  padding: 10px;
  margin: 10px;
}

.user-info {
  display: flex;
  align-items: center;
}

.user-info img {
  width: 60px;
  margin-right: 15px;
  border-radius: 50%;
}

.user-info h3 {
  font-weight: 500;
}

.sub-menu hr {
  border: 0;
  height: 1px;
  width: 100%;
  background: #ccc;
  margin: 15px 0 10px;
}

.sub-menu-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #525252;
}

.sub-menu-link:hover .sub-menu-link-icon {
  transform: scale(1.1);
}

.sub-menu-link:hover p {
  font-weight: 600;
}

.sub-menu-link p {
  user-select: none;
}

.sub-menu-link .sub-menu-link-icon {
  width: 20px;
  background: #e5e5e5;
  border-radius: 50%;
  padding: 8px;
  margin-right: 15px;
}

.change-password-window {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 30vw;
  height: 40vh;
  background: white;
  border: solid 2px black;
  display: flex;
  flex-direction: column;
  z-index: 5;
}

.change-password-window .header {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 5px;
  background: #ccc;
}

.change-password-window .header .close_btn {
  display: inline-block;
  cursor: pointer;
  height: 5%;
  position: absolute;
  right: 5px;
}

.change-password-window .content {
  background: white;
  width: 100%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.change-password-window .content form {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.change-password-window .content form .input_cnt {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 5px 0;
}

.change-password-window .content form .input_cnt input {
  width: 80%;
  padding: 5px 20px;
  border: 1px solid lightgray;
  border-radius: 5px;
}

.error {
  color: red;
  font-size: 12px;
  padding: 0;
  margin: 0;
}

.change-password-window .content form .input_cnt .submit_btn {
  width: 30%;
}

.change-password-window .content form .input_cnt .password_cnt {
  position: relative;
  width: 80%;
}

.change-password-window .content form .input_cnt .password_cnt input {
  width: 100%;
  padding-left: 20px;
  padding-right: 30px;
}

.change-password-window
  .content
  form
  .input_cnt
  .password_cnt
  .visibility-button {
  position: absolute;
  top: 50%;
  right: 5px;
  transform: translateY(-50%);
  cursor: pointer;
}
