.polaroid {
  width: 100%;
  height: auto;
  background: #fff;
  border: 1px solid #dfdfdf;
  margin-top: 40px;
}

.info {
  width: 100%;
  height: 60px;
  display: flex;
  position: relative;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.info .username {
  width: auto;
  font-weight: bold;
  color: #000;
  font-size: 14px;
  margin-left: 10px;
}

.info .options {
  height: 10px;
  cursor: pointer;
}

.info .user {
  display: flex;
  align-items: center;
}

.info .polaroid-profile-pic {
  height: 40px;
  width: 40px;
  padding: 0;
  background: none;
  border-radius: 20px;
}

.info .polaroid-profile-pic img {
  border: none;
}

.polaroid-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  min-width: 100%;
  /* Jedes Bild nimmt die volle Breite des Sliders ein */
  transition: opacity 0.5s ease;
}

.polaroid-content {
  width: 100%;
  padding: 20px;
}

.likes {
  font-weight: bold;
}

.description {
  margin: 10px 0;
  font-size: 14px;
  line-height: 20px;
}

.description span {
  font-weight: bold;
  margin-right: 10px;
}

.polaroid-time {
  color: rgba(0, 0, 0, 0.5);
  font-size: 12px;
}

.comment-wrapper {
  width: 100%;
  height: 50px;
  border-radius: 1px solid #dfdfdf;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.comment-wrapper .icon {
  height: 30px;
}

.comment-box {
  width: 80%;
  height: 100%;
  border: none;
  outline: none;
  font-size: 14px;
}

.comment-btn,
.action-btn {
  width: 70px;
  height: 100%;
  background: none;
  border: none;
  outline: none;
  text-transform: capitalize;
  font-size: 16px;
  color: rgb(0, 162, 255);
  opacity: 0.5;
}

.reaction-wrapper {
  width: 100%;
  height: 50px;
  display: flex;
  margin-top: -20px;
  align-items: center;
}

.reaction-wrapper .icon {
  height: 25px;
  margin: 0;
  margin-right: 20px;
}

.reaction-wrapper .icon.save {
  margin-left: auto;
}

.post-menu {
  display: none;
  align-items: center;
  position: absolute;
  right: 0;
  top: 60px;
  background-color: #ffffff;
  border: 1px solid #dfdfdf;
  z-index: 2;
}

.post-menu.active {
  display: block;
}

.post-menu-btn {
  width: 100%;
  text-align: center;
  display: block;
  background-color: #fff;
  padding: 10px 20px 10px 20px;
}

.post-menu-btn:hover {
  background-color: #f0f8ff;
  cursor: pointer;
}

.slider {
  width: 100%;
  position: relative;
  overflow: hidden;
  /* Verhindert das Anzeigen von nicht aktiven Bildern */
}

.slides {
  display: flex;
  transition: transform 0.5s ease;
}

.slide-btn {
  position: absolute;
  top: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}