#user-container {
  display: flex;
  margin: 50px auto;
  width: 90%;
  height: auto;
  min-height: 40vh;

  #feed-posts {
    display: flex;
    flex-direction: column;
    width: 950px;

    h2 {
      color: grey;
      margin-bottom: -7px;
      margin-top: 17px;
      border-bottom: 2px solid lightgrey;
      width: 88%;
    }

    #post-form {
      height: auto;
      padding: 5px 10px;
      border-radius: 11px;
      align-items: center;
      width: 240px;

      h1 {
        font-size: 24px;
        color: gray;
        border-bottom: 1px solid lightgray;
        margin: 0;
        margin-bottom: 10px;
      }

      form {
        display: flex;
        align-items: center;
        background-color: #fff;
        border: 2px solid lightgray;
        border-radius: 11px;
        padding: 10px 12px;
        width: 233px;

        #file {
          width: 100%;
        }

        #content {
          border: none;
          background-color: rgb(250, 250, 250);
          overflow: hidden;
          padding: 10px;
          border-radius: 11px;
        }

        #submit {
          border: none;
          background: none;
          color: blue;
          cursor: pointer;
          height: 31px;
        }

        #submit:hover {
          background-color: #fafafa;
          border: 2px solid lightgray;
          border-radius: 20px;
        }
      }
    }

    #posts-list-container {
      width: 100%;

      #post-list {
        display: flex;
        width: 100%;
        margin: 0 auto;
        padding: 0;
        list-style: none;
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 40px;

        li {
          width: 23%;
          margin: 20px 0;
          background-color: #fff;
          padding: 12px 16px;
          border: 1px solid lightgrey;
          border-radius: 11px;
        }

        #head {
          position: relative;
          width: 200px;
          display: flex;
          align-items: center;
          margin-left: 7px;

          img {
            border-radius: 50%;
            width: 30px;
            height: 30px;
            margin-right: 10px;
          }

          a {
            position: absolute;
            right: 0;
            color: red;
          }
        }

        #content {
          margin-top: 15px;

          img {
            width: 100%;
            height: 100%;
          }
        }

        #comment {
          padding: 0 4px;

          #like-comment {
            display: block;
            margin: 8px 2px;

            a {
              text-decoration: none;
              color: black;

              span {

                // color: blue;
                i {
                  font-size: 17px;
                }
              }
            }
          }

          form {
            width: 100%;
            border-top: 1px solid lightgrey;

            #text {
              width: 159px;
              height: 34px;
              border-radius: 0;
              border: none;
            }

            #submit {
              width: 37px;
              border: none;
              background: none;
              color: blue;
            }
          }
        }

        .post-comments-list {
          ul {
            list-style: none;
            padding: 0;

            li {
              display: flex;
              flex-direction: column;
              padding: 0;
              align-items: center;
              border: none;
              flex-wrap: wrap;
              height: auto;
              width: 100%;

              #first {
                display: flex;
                align-items: center;
                width: 100%;

                #photo {
                  img {
                    width: 30px;
                    height: 30px;
                    border-radius: 50%;
                  }
                }

                #content {
                  height: 30px;
                  width: 100%;
                  border: none;
                  margin: 0;
                  justify-content: start;
                  margin-left: 9px;

                  small {
                    font-weight: 800;
                    margin-right: 5px;
                  }
                }
              }

              #button {
                display: flex;
                width: 67%;

                #love a {
                  text-decoration: none;
                  color: black;
                }

                #delete {
                  margin-left: 15px;
                }
              }
            }
          }
        }
      }
    }
  }

  aside {
    width: 22%;
    margin-top: -23px;

    .heading {
      font-size: 22px;
      margin-bottom: 10px;
      color: gray;
      border-bottom: 2px solid lightgray;
    }

    .list {
      background-color: #fff;
      border: 1px solid lightgray;
      border-radius: 11px;
      padding: 0 16px;
      width: 100%;

      .items {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid lightgray;
        height: 52px;

        .logo {
          width: 35px;
          height: 35px;
          border-radius: 50%;
        }

        .name {
          width: 170px;
        }

        .remove {
          color: red;
        }
      }

      .items:last-child {
        border: none;
      }
    }

    #user_list {
      height: auto;

      ul {
        list-style: none;
        padding: 9px 13px;
        display: flex;
        flex-direction: column;
        gap: 10px;

        background-color: #fff;
        border: 1px solid lightgray;
        border-radius: 11px;
        padding: 0 16px;
        width: 100%;

        li {
          display: flex;
          align-items: center;
          border-bottom: 1px solid lightgray;
          padding: 6px 1px;
          gap: 10px;

          img {
            border-radius: 50%;
            height: 35px;
            width: 35px;
          }

          a {
            text-decoration: none;
            color: black;
          }
        }

        li:last-child {
          border: none;
        }
      }
    }
  }
}