@charset "UTF-8";
/*!
 * Creatsub
 */

/* Default: Show desktop logo, hide mobile logo */
.logo-desktop {
  display: block;
}

.logo-mobile {
  display: none;
}

/* Media query for mobile devices: Show mobile logo, hide desktop logo */
@media (max-width: 720px) {
  .logo-desktop {
    display: none;
  }

  .logo-mobile {
    display: block;
  }
}


.card-text-author {
  font-size: small;
}

/* CSS pro fotografii na pozadí */
.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('img/foto-text.jpg');
  /* Cesta k fotografii na pozadí */
  background-size: cover;
  z-index: -1;
}

/* CSS pro průhledný gradient */
.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  z-index: 0;
}

/* Confetti Animation */
@keyframes confetti-fall {
  0% {
    transform: translateY(-50%) rotate(0);
  }

  100% {
    transform: translateY(1000px) rotate(720deg);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

.pulsing-icon {
  animation: pulse 1.5s infinite;
}

.confetti {
  width: 8px;
  height: 8px;
  background-color: #fbc531;
  position: absolute;
  animation: confetti-fall 3s ease-out;
}

.fixed-bottom-menu {
  background-color: white;
  color: black;
  padding: 5px 0;
  position: fixed;
  bottom: 0;
  width: 100%;
  border-top: solid 1px silver;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.3);
  /* Přidání stínu nahoře */
  z-index: 1030;
}

.comment-box {
  border: 1px solid #ddd;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 5px;
}

.user-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.comment-header {
  display: flex;
  align-items: center;
}

.comment-date {
  font-size: 0.9em;
  color: #666;
}

.reply-link {
  font-size: 0.9em;
  color: #007bff;
  cursor: pointer;
}

.reply-box {
  border-left: 2px solid #ddd;
  padding-left: 15px;
  margin-top: 15px;
}

.comment-form {
  display: flex;
  align-items: center;
  margin-top: 15px;
}

.comment-form textarea {
  resize: none;
  width: 100%;
  margin-right: 10px;
}

.comment-form button {
  white-space: nowrap;
}

.dropdown-menu[data-bs-placement="top"] {
  top: auto;
  bottom: 100%;
}

.upload-box {
  border: 2px dashed #cccccc;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}

.upload-box:hover {
  background-color: #f8f9fa;
}

.upload-box input[type="file"] {
  display: none;
}

.upload-box label {
  cursor: pointer;
}

.upload-box-extra {
  border: 2px dashed #cccccc;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}

.upload-box-extra:hover {
  background-color: #f8f9fa;
}

.upload-box-extra label {
  cursor: pointer;
}

/* pokud někde dřív bylo .position-absolute na .delete-image, přepiš to */
.attachment-item .delete-image {
  position: static !important;
}

/* jistota, že tlačítka mají jen svoji šířku a nepřesahují přes sebe */
.attachment-item .actions {
  display: inline-flex;
  white-space: nowrap;
}

.attachment-item .actions .btn {
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
}

/* název se nesmí roztahovat pod akce */
.attachment-item .attachment-name-link,
.attachment-item .attachment-name-input {
  flex: 1 1 auto;
  min-width: 120px;
}