.profile-container {
  padding: 10px 15%;
  color: #626262;
}

.profile-container .cover-pic {
  width: 100%;
  margin-bottom: 20px;
  border-radius: 6px;
}

.profile-details {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px;
  background-color: var(--bg-color);
}

.pd-row {
  display: flex;
  align-items: flex-start;
}

.pd-row .pd-image {
  width: 100px;
  border-radius: 6px;
  margin-right: 14px;
}

.pd-row div h3 {
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 5px;
}

.pd-row div p {
  font-size: 13px;
}

.pd-row div img {
  width: 25px;
  margin: 5px 1px 10px 0;
  border-radius: 50%;
}

.pd-right button {
  display: inline-flex;
  align-items: center;
  background-color: #1876f2;
  border: 0;
  outline: 0;
  color: #fff;
  cursor: pointer;
  margin-left: 10px;
  border-radius: 3px;
  padding: 6px 10px;
}

.pd-right button img {
  height: 15px;
  margin-right: 10px;
}

.pd-right button:first-child {
  color: #000;
  background-color: #e4e6eb;
}

.pd-right {
  text-align: right;
}

.pd-right a {
  border-radius: 3px;
  background-color: #e4e6eb;
  padding: 10px;
  display: inline-flex;
  margin-top: 30px;
}

.pd-right a img {
  width: 20px;
}

.profile-info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 20px;
}

.info-col {
  flex-basis: 33%;
}

.post-col {
  flex-basis: 65%;
}

.profile-intro {
  background-color: var(--bg-color);
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 6px;
}

.profile-intro h3 {
  font-weight: 600;
}

.profile-intro .intro-text {
  text-align: center;
  font-size: 15px;
  margin: 10px 0;
}

.profile-intro .intro-text img {
  width: 15px;
  margin-bottom: -3px;
}

.profile-intro hr {
  border: 0;
  background-color: #ccc;
  height: 1px;
  margin: 24px 0;
}

.profile-intro ul li {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 15px 0;
  font-size: 15px;
}

.profile-intro ul li img {
  width: 25px;
  margin-right: 10px;
}

.title-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.title-box a {
  text-decoration: none;
  font-size: 14px;
  color: #1876f2;
}

.photo-box,
.friends-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 10px;
  margin-top: 20px;
}

.photo-box img,
.friends-box div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.friends-box div {
  position: relative;
  padding-bottom: 20px;
}

.friends-box div p {
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: 13px;
}

.profile-intro .friend-no {
  font-size: 13px;
  margin-top: 5px;
}

@media screen and (max-width: 900px) {
  .profile-container {
    padding: 10px 5%;
  }

  .profile-details {
    flex-wrap: wrap;
  }

  .pd-row div h3 {
    font-size: 20px;
  }

  .pd-right {
    text-align: left;
    margin-top: 20px;
  }

  .pd-right button {
    margin-left: 0;
    margin-right: 10px;
  }

  .profile-info {
    flex-wrap: wrap;
  }

  .info-col {
    flex-basis: 100%;
  }

  .post-col {
    flex-basis: 100%;
  }
}
