body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
}
/*
.image-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px;
} */
.image-container {
position: relative;
display: inline-block;
}
#fullscreen {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.9);
      justify-content: center;
      align-items: center;
  }
  #fullscreen img {
      max-width: 100%;
      max-height: 100%;
  }


.image {
  display: block;
  width: 100%;
  height: auto;
}
.button-container {
position: absolute;
bottom: 10px;
left: 50%;
transform: translateX(-50%);
display: flex;
gap: 10px;
}

.button-film-container {
  position: absolute;
  top: 10px;
  left: 80%;
  transform: translateX(-20%);
  display: flex;
  gap: 10px;
  }

.share-button,
.full-button, .download-button, .trash-button {
  padding: 8px 12px;
  font-size: 14px;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  border-radius: 4px;
  text-decoration: none;
}
.share-button:hover, .download-button:hover, .full-button:hover, .trash-button:hover {
background-color: rgba(0, 0, 0, 0.8);
}

.video-wrapper {
  aspect-ratio: 16 / 9;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
}

#toast.htmx-settling {
  opacity: 100;
}

#toast {
  opacity: 0;
  transition: opacity 3s ease-out !important;
  background: blue;
  color: white;
  witdh:200px;
  max-witdh:360px;
}

.fade-left {
  animation: fadeLeft 1s ease-out;
}
.fade-right {
  animation: fadeRight 1s ease-out;
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}