@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
* {
  font-family: "poppins", sans-serif;
  margin: 0;
  padding: 0px;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}

body {
  background: #000;
  padding-top: 15px;
  padding-left: 15px;
}

body h1,
h3 {
  color: white;
}

body span {
  color: white;
}

:root {
  --gradient: linear-gradient(to right, #e2336b, #fcac4b);
}

.sidebar {
  position: fixed;
  width: 300px;
  height: 100vh;
  background: #000;
  z-index: 2;
}

.main_home {
  position: absolute;
  width: calc(100% - 330px);
  top: 0;
  left: 315px;
  background: #000;
  border-radius: 1rem 0 0 1rem;
  z-index: 1000;
}

.logo img {
  width: 140px;
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 1.4rem;
}

.profile_img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid #e2336b;
}

.profile_img img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 50%;
  object-position: center;
}

.name {
  display: flex;
  align-items: center;
  margin: 0.5rem 0 0 0.2rem;
}

.name h1 {
  font-size: 1.1rem;
}

.name img {
  margin-left: 4px;
  width: 20px;
  object-fit: center;
}

.profile_img span {
  font-size: 0.938rem;
  font-weight: 400;
}

.about {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
}

.box {
  text-align: center;
}

.box h3 {
  font-size: 1rem;
  font-weight: 500;
}

.box span {
  font-size: 0.938rem;
  font-weight: 400;
}

.menu a {
  width: 100%;
  font-size: 1rem;
  color: #fff;
  display: flex;
  align-items: center;
  line-height: 40px;
}

.menu a:hover,
menu .active {
  color: #e2336b;
}

.menu .icon {
  margin-right: 1rem;
  font-size: 20px;
}

.menu a:hover::before,
.menu .active::hover,
.likes::hover {
  content: "";
  position: absolute;
  right: 0;
  width: 2px;
  height: 17px;
  background: #e2336b;
}

.main_home {
  padding: 20px;
  overflow: hidden;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.search {
  display: flex;
  align-items: center;
  background: #f8f8f8;
  width: 200px;
  height: 2.4rem;
  padding: 10px;
  border-radius: 10px;
}
.search input {
  border: none;
  outline: none;
  background: transparent;
  margin-left: 7px;
}
.search o {
  font-size: 20px;
}
.header_content {
  display: flex;
  align-items: center;
}
.header_content i {
  color: #fff;
  font-size: 20px;
  margin-left: 1rem;
}
.header_content .btn {
  display: flex;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  background: var(--gradient);
  margin-left: 1rem;
}
.header_content .btn i {
  color: hsla(0, 0%, 100%, 0.6);
  margin-left: 10px;
}

.btn_text {
  color: #fff;
}

.stories_title {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}
.stories_title h1 {
  font-size: 1.8rem;
}
.stories_title .btn {
  display: flex;
  align-items: center;
  color: #fff;
}
.stories_title .btn i {
  font-size: 24px;
  margin-right: 10px;
}
.stories {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
}
.stories_img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid #e2336b;
}

.stories_img img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 50%;
  object-position: center;
}
.stories_img .color {
  border: 2px solid #dbdbdb;
}
.stories_img .add {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  color: #fff;
  background: hsla(246, 39%, 80%, 0.7);
}

.main_post {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, auto));
  gap: 11px;
}
.post_box {
  width: 300px;
}
.post_box img {
  width: 100%;
  height: 344px;
  object-fit: cover;
  border-radius: 0.5rem;
}
.post_info {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.post_img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border: 2px solid #e2336b;
  border-radius: 50%;
}
.post_img img {
  width: 27px;
  height: 27px;
  object-fit: cover;
  border-radius: 50%;
  cursor: pointer;
  object-position: center;
}
.post_profile {
  display: flex;
  align-items: center;
  /* justify-content: space-between; */
}
.post_profile h3 {
  font-size: 12px;
  font-weight: 600px;
  margin-left: 5px;
  cursor: pointer;
  justify-content: space-between;
}
.post_profile .name {
  margin-left: 4px;
  width: 20px;
  object-fit: center;
}
.post_profile i {
  font-size: 20px;
  margin-left: 7px;
  /* justify-content: space-between; */
  color: white;
}
.post_info .saved {
  cursor: pointer;
}
.post_info span {
  cursor: text;
}

.dots {
  display: flex;
  margin-left: 180px;
  cursor: pointer;
}

.likes {
  display: flex;
  align-items: center;
}
.likes i {
  font-size: 20px;
  margin-left: 17px;
  color: white;
  cursor: pointer;
}
.likes span {
  font-size: 20px;
  margin-left: 7px;
}

.feed {
  color: white;
}
.feed_text #love {
  color: red;
}
.feed_text #star {
  color: yellow;
}

.caption {
  color: white;
}
.caption strong {
  cursor: pointer;
}
