@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700;800&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Rubik", sans-serif;
}
* ul {
  list-style: none;
}
* a {
  text-decoration: none;
}

body {
  background: #abd1c6;
}

main {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}
main section.comment-module {
  width: 50%;
  height: auto;
  background: #fff;
  margin: 100px 0px;
  border-radius: 5px;
  /* padding: 0px 75px; */
}
main section.comment-module ul {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  row-gap: 30px;
  margin-left: 0px;
}
main section.comment-module ul li {
  width: 100%;
  position: relative;
}
main section.comment-module ul li .comment {
  width: 100%;
  display: flex;
  column-gap: 20px;
}
main section.comment-module ul li .comment .comment-img {
  width: 70px;
  min-width: 70px;
}
main section.comment-module ul li .comment .comment-img img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 50%;
}
main section.comment-module ul li .comment .comment-content {
  width: 93%;
  display: flex;
  flex-direction: column;
  row-gap: 0px;
  /* row-gap: 10px; */
}
main section.comment-module ul li .comment .comment-content .comment-details {
  width: 100%;
  display: flex;
  column-gap: 15px;
  align-items: center;
  justify-content: flex-start;
}
main section.comment-module ul li .comment .comment-content .comment-details .comment-name {
  text-transform: capitalize;
}
main section.comment-module ul li .comment .comment-content .comment-details .comment-log {
  color: #7a7a7a;
  font-size: 14px;
}
main section.comment-module ul li .comment .comment-content .comment-data {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  column-gap: 20px;
}
main section.comment-module ul li .comment .comment-content .comment-data .comment-likes {
  display: flex;
  align-items: center;
  column-gap: 12px;
}
main section.comment-module ul li .comment .comment-content .comment-data .comment-likes > div {
  display: flex;
  column-gap: 4px;
  align-items: center;
}
main section.comment-module ul li .comment .comment-content .comment-data .comment-likes > div img {
  cursor: pointer;
}
main section.comment-module ul li .comment .comment-content .comment-data .comment-likes > div span {
  font-weight: 600;
}
main section.comment-module ul li .comment .comment-content .comment-data .comment-reply a, main section.comment-module ul li .comment .comment-content .comment-data .comment-report a {
  /* color: #272727; */
  font-weight: 400;
}
main section.comment-module ul li::before {
  content: "";
  position: absolute;
  top: 100px;
  left: 60px;
  transform: translateX(-25px);
  width: 2px;
  height: calc(100% - 100px);
  background: #c5c5c5;
}
main section.comment-module ul.sub_chat li::before {
  content: "";
  position: absolute;
  top: 105px;
  left: 75px;
  transform: translateX(-25px);
  width: 2px;
  height: calc(100% - 70px);
  background: #c5c5c5;
}
main section.comment-module ul li ul {
  margin-top: 0px;
  margin-left: 60px;
  width: calc(100% - 70px);
}

@media screen and (max-width: 1600px) {
  main section.comment-module {
    width: 100%;
  }
}
@media screen and (max-width: 1400px) {
  main section.comment-module {
    width: 70%;
  }
  main section.comment-module ul li .comment .comment-img {
    width: 10%;
  }
  main section.comment-module ul li .comment .comment-content {
    width: 90%;
  }
}
@media screen and (max-width: 1024px) {
  main section.comment-module {
    width: 80%;
  }
}
@media screen and (max-width: 768px) {
  main section.comment-module {
    width: 96%;
    padding: 75px 10px;
  }
  main section.comment-module ul li .comment {
    column-gap: 12px;
  }
  main section.comment-module ul li .comment .comment-img {
    width: 10%;
    min-width: 50px;
  }
  main section.comment-module ul li .comment .comment-img img {
    width: 40px;
    height: 40px;
  }
  main section.comment-module ul li .comment .comment-content {
    width: 85%;
  }
  main section.comment-module ul li .comment .comment-content .comment-details {
    flex-direction: column;
    align-items: flex-start;
  }
  main section.comment-module ul li .comment .comment-content .comment-data {
    column-gap: 10px;
  }
  main section.comment-module ul li::before {
    top: 50px;
    left: 50px;
    transform: translateX(-30px);
    height: calc(100% - 60px);
    display: none;
  }
  main section.comment-module ul li ul {
    margin-top: 0;
    margin-left: 50px;
    width: calc(100% - 50px);
  }
}