* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  width: 100%;
}
#posts {
  display: flex;
  flex-direction: column;
  height: 100%;
  height: 390px;
  width: 350px;
  margin-top: 30px;
  background-color: #fff;
  position: absolute;
  overflow: hidden;
  border-top: 2px solid #dadada;
  transition: all 1s ease-in-out;
}
#images {
  height: 100%;
  width: 100%;
  /* background-color: red; */
  padding: 3px 6px;
  gap: 4px;
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}
#images img {
  height: 340px;
  width: 340px;
  object-fit: cover;
  object-position: center;
  padding: 4px;
}

/* #images::-webkit-scrollbar {
  display: none;
} */

.idt {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* gap: 150px; */
  margin: 5px 17px;
  font-size: 1.1rem;
  font-weight: 800;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
#posts .ri-heart-3-fill {
  font-size: 70px;
  position: absolute;
  top: 45%;
  left: 40%;
  transform: translate(-50%, -50%) scale(0);
  color: rgb(0, 0, 0);
  opacity: 0;
  /* transition: transform ease 0.5s; */
  /* animation: pulse 1s infinite; */
}
@keyframes pulse {
  0% {
    transform: rotate(15deg) scale(1);
  }
  25% {
    transform: rotate(-15deg) scale(1.25);
  }
  50% {
    transform: rotate(8deg) scale(0.95);
  }
  75% {
    transform: rotate(-8deg) scale(1.15);
  }
  100% {
    transform: rotate(0deg) scale(1);
  }
}
#posts .ri-heart-3-fill {
  background: linear-gradient(115deg, #f9ce34, #ee2a7b, #6228d7);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* follow button */
#btn {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 5px 16px;
  background-color: #465be7;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  color: #fff;
  transition: all 0.3s ease;
}
#btn:hover {
  /* background: linear-gradient(45deg, #833ab4, #fd1d1d, #f56040, #fcaf45)
      padding-box,
    linear-gradient(45deg, #833ab4, #fd1d1d, #f56040, #fcaf45) border-box; */
  color: #fff;
  transform: scale(1.05);
}
#btn:active {
  transform: scale(0.95);
}

.atti {
  /* position: absolute; */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 6px;
  /* background-color: #833ab4; */
  margin: 0 8px;
  /* border: 2px solid rebeccapurple; */
}
.atti i {
  font-size: 1.8rem;
  /* color: #000000; */
  transition: all 0.3s ease;
}
#like {
  background: linear-gradient(115deg, #f9ce34, #ee2a7b, #6228d7);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ri-heart-line {
  background: linear-gradient(115deg, #f9ce34, #ee2a7b, #6228d7);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
