.overlay {
  display: flex;
  flex-direction: column;

  min-width: 700px;
  margin: 0;

  text-align: left;

  background: var(--color-gray-fff);
  border-radius: 5px;
}

.wrap {
  display: flex;
  align-items: baseline;
  padding-bottom: 10px;
}

.avatar {
  align-self: center;

  width: 150px;
  height: 150px;
  margin: 20px 0 20px 30px;
  margin-bottom: auto;

  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-radius: 3px;

  &::after {
    content: '';
    display: block;
    padding-bottom: 100%;
  }
}

.name {
  margin-top: 0;
  margin-bottom: 22px;
  padding: 0 10px;

  font-size: 22px;
  font-weight: 400;
}

.person-info {
  margin: 10px 20px 20px 30px;
}

.vacation {
  margin-bottom: 5px;
  padding: 0 10px;
}

.status-icon {
  display: inline-block;

  width: 9px;
  height: 9px;
  margin-right: 5px;

  background-color: var(--color-gray-fff);
  border-radius: 100%;

  &.online {
    background-color: #4dd965;
  }

  &.offline,
  &.invisible {
    background-color: #ececec;
  }

  &.away {
    background-color: #ffe100;
  }

  &.dnd {
    background-color: #ff1414;
  }
}

.project,
.status,
.other {
  margin: 0;
  margin-bottom: 5px;
}

header {
  margin-top: 10px;
  margin-left: 20px;

  p {
    position: absolute;
    right: 25px;
  }
}

.project,
.other {
  padding: 0 10px;
}

.heads {
  display: flex;
  margin: 0 0 5px;
  padding: 0 10px;
}

.role {
  align-self: center;
  margin-top: 0;
  margin-bottom: 5px;
  padding: 0 10px;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: space-around;

  width: 100%;
  padding: 10px;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 30px;

  color: #fff;

  background-color: #1a3d60;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;

  a {
    padding-bottom: 5px;
    color: #fff;

    span {
      padding-left: 5px;
      color: #fff;
    }
  }
}

.project {
  display: flex;

  .wrap {
    display: flex;
    flex-direction: column;
    padding-bottom: 5px;
  }
}

a {
  color: var(--color-gray-222);
  text-decoration: none;
}

.bold {
  display: inline-block;
  min-width: 120px;
  font-weight: 500;
}

.more {
  cursor: pointer;
  padding-left: 10px;
  color: #8c8c8c;
}

.contact__wrapper {
  display: flex;
  align-items: center;

  span {
    height: 20px;
  }

  a {
    display: flex;
    align-items: center;
    margin-right: 5px;
  }
}
