@font-face {
    font-family: 'DM Sans';
    src: url('fonts/DM_Sans/static/DMSans-Regular.ttf') format('truetype'),
         url('fonts/DM_Sans/static/DMSans-Regular.woff') format('woff'),
         url('fonts/DM_Sans/static/DMSans-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'DM Sans';
    src: url('fonts/DM_Sans/static/DMSans-Bold.ttf') format('truetype'),
         url('fonts/DM_Sans/static/DMSans-Bold.woff') format('woff'),
         url('fonts/DM_Sans/static/DMSans-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
  }
  
  body, html {
    margin: 0;
    padding: 0;
    font-family: 'DM Sans', sans-serif;
    background: #fff;
    color: #3d3d3c;
    display: flex;
    justify-content: center;
    width: 100%;
    letter-spacing: 0.03rem;
  }
  h1 {
    font-size: 1.8rem !important;
    margin-block-end: 0.5em !important;
  }
  h2 {
    margin-block-end: 1.4em !important;
    font-weight: bold !important;
    margin-bottom: 0 !important;
  }
  h3 {
    margin-block-end: 0.5em !important;
    font-weight: 400 !important;
  }
  .m-0 {
    margin: 0 !important;
  }
  .hidden{
    display: none;
  }
  
  .main-container {
    max-width: 580px;
    width: 100%;
    margin: auto;
  }
  .navbar {
    position: fixed;
    display: flex;
    top: 1.5rem;
    justify-content: space-between;
    padding: 1rem;
    width: 100%;
    max-width: 580px;
  }
  .menu, .subscribe {
    background: none;
    border: none;
    color: white;
    font-size: 1rem;
  }
  .background-image {
    width: 100%;
    height: 348px;
    margin-top: 1.5rem;
    background-color: #fff;
    background-image: linear-gradient(
      to bottom, transparent, #fff
    ), url("img/profilimg.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
  }
  .overlay-text {
    text-align: center;
    margin: 1rem;
  }
  .cta-text {
    text-align: center;
    margin-bottom: 1rem;
  }
  .icon-links {
    display: flex;
    justify-content: center;
    margin: 1rem;
  }
  .icon-links svg {
    width: 32px;
    height: 32px;
    margin: 0 0.7rem;
    fill: #3d3d3c;
  }
  .icon-links .contact-link svg {
    fill: none !important;
    margin-left: 1rem;
  }
  .icon-links svg:hover {
    fill: #d5d2d2;
  }
  .icon-links .contact-link svg:hover {
    stroke: #d5d2d2;
    cursor: pointer;
  }
  .section {
    margin: 2rem 1rem;
    text-align: center;
  }
  .section a {
    text-decoration: none;
    height: 100%;
    display: inline-block;
  }
  
  .buttons-wrapper {
    position: relative;
  }
  .btn-link {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
    margin: 0.5rem 0 1.5rem;
    padding: 0;
    border: none;
    border-radius: 20px;
    color: #3d3d3c;
    text-align: left;
    text-align: center;
    font-size: 0.9rem;
  }
  .btn-logo {
    width: 130px;
    flex-grow: 1;
    position: relative;
    align-items: center;
    display: flex;
    justify-content: center;
  }
  .btn-logo::before {
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.35;
    background-repeat: no-repeat;
    background-position: 50% 0;
    background-size: cover;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
  }
  .btn-logo img {
    width: 52px;
    position: relative;
  }
  .btn-text {
    flex-grow: 1;
    padding: 15px 35px 18px 15px;
    text-align: left;
    width: 100%;
    color: #3d3d3c;
  }
  .btn-text h3 {
    margin-block-start: 0.2rem;
  }
  .btn-inner {
    position: absolute;
    display: flex;
    top: 3px;
    bottom: 3px;
    right: 3px;
    width: 44px;
    height: 44px;
    color: #d5d2d2;
    border-radius: 50%;
    border: 0;
    align-items: center;
    justify-content: center;
    padding-top: 2px;
  }
  .btn-ad {
    position: absolute;
    right: 2px;
    bottom: 0;
    width: 103px;
    font-size: 0.7rem;
    padding-bottom: 1px;
    padding-right: 3px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #b2b0b0;
    border-top-left-radius: 10px;
    border-bottom-right-radius: 20px;
  }
  .btn-copy {
    display: inline-block;
    color: #3d3d3c;
    border-radius: 50%;
    border: 0;
    align-items: center;
    justify-content: center;
    padding: 0.7rem;
    margin-left: 0.5rem;
    cursor: pointer;
}
.btn-copy:hover {
    color: #3d3d3c;
    background-color: #c8c5c5;
}
  .btn-inner:hover {
    color: #3d3d3c;
    background-color: #c8c5c5;
  }
  .btn-link:hover {
    background-color: #d5d2d2;
    cursor: pointer;
  }
  .btn-link:hover .btn-logo::before {
    opacity: 1;
  }
  .btn-link:hover .btn-logo img {
    opacity: 0;
  }
  .btn-link:hover .btn-text, .btn-link:hover .btn-inner, .btn-link:hover .btn-copy {
    color: #3d3d3c;
  }
  .btn-link h3 {
    font-weight: bold !important;
  }
  .btn-close {
    position: absolute;
    top: 18px;
    right: 12px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    color: #3d3d3c;
    border-radius: 50%;
    border: 0;
    background: none;
  }
  .btn-close:hover {
    background: #d5d2d2;
  }
  .btn-playlist {
    background-image: linear-gradient(to right, rgba(0,0,0, 0.6) 0 100%), url(img/playlist-pride-tunes.jpg);
    background-size: cover;
    background-position-y: calc(100% - 66%);
    color: #fff;
  }
  .btn-playlist .btn-text {
    color: #fff;
  }
  .btn-playlist:hover .btn-text, .btn-playlist:hover .btn-inner, .btn-playlist:hover .btn-copy {
    color: #fff;
  }

  /* Scroll-Container und Elemente */
  .scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 20px;
  }
  .scroll-item {
    flex: 0 0 49%;
    max-width: 49%;
    margin-right: 12px;
    scroll-snap-align: start;
  }
  .scroll-item:last-child {
    margin-right: 0;
  }
  .card {
    background-color: #eee;
    margin: 0;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    color: #3d3d3c;
    text-align: center;
    font-size: 0.9rem;
    height: 100%;
  }
  .card img {
    width: 80px;
    height: 80px;
    display: block;
    margin: 1rem auto 0;
  }
  .card-body {
    padding: 15px;
    text-align: left;
  }
  .card-body h3 {
    margin-top: 0;
    font-weight: bold !important;
  }
  .card-title {
    margin: 0 0 10px;
    font-size: 1.25em;
  }
  .card-text {
    margin: 0 0 15px;
    font-size: 1em;
    color: #555;
  }
  /* Optional: Scroll-Leiste ausblenden */
  .scroll-container::-webkit-scrollbar {
    display: none;
  }

/* Karussell-Container */
.carousel {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 20px auto 0;
  perspective: 1000px; /* Für 3D-Effekt */
  margin-bottom: -100px;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 100vw;
  max-height: 580px;
}

.carousel-item {
  position: absolute;
  top: 0;
  width: 60%;
  height: 60%;
  opacity: 0.5;
  transition: all 0.5s ease;
  cursor: pointer;
  touch-action: pan-y;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

/* Positionierung der Bilder */
.carousel-item.prev {
  left: 0;
  transform: translateX(-20%) scale(0.8) rotateY(20deg);
}

.carousel-item.active {
  left: 20%;
  transform: translateX(0) scale(1) rotateY(0deg);
  opacity: 1;
  z-index: 1;
}

.carousel-item.next {
  right: 0;
  transform: translateX(20%) scale(0.8) rotateY(-20deg);
}

/* Z-Index für die Stapelreihenfolge */
.carousel-item.prev,
.carousel-item.next {
  z-index: 0;
}

/* Karussell-Caption (Songtitel und Buttons) */
.carousel-caption {
  position: absolute;
  bottom: -100px; /* Startet außerhalb des Sichtbereichs */
  left: -40%;
  width: 100vw;
  max-width: 580px;
  text-align: center;
  opacity: 0;
  transition: all 0.5s ease;
}

.carousel-item.active .carousel-caption {
  opacity: 1;
}

.carousel-caption h3 {
  margin: 10px 0;
  font-size: 1.5em;
}

.button-group {
  display: flex;
  justify-content: center;
  gap: 25px;
}

.music-button {
  display: inline-block;
  padding: 10px 15px;
  background-color: rgba(255, 255, 255, 0.8);
  color: #000;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.music-button.spotify {
  background-color: #1DB954; /* Spotify Grün */
  color: #fff;
}

.music-button.apple-music {
  background-color: #FA243C; /* Apple Music Rot */
  color: #fff;
}

/* Optional: Hover-Effekte */
.music-button:hover {
  opacity: 0.8;
}
  
  .footer-links {
    text-align: center;
    padding: 0 10px 12px;
    color: #d5d2d2;
  }
  .footer-links a {
    cursor: pointer;
    margin: 10px;
    color: #3d3d3c;
    text-decoration: none;
    font-size: 0.9rem;
  }
  .footer-links a:hover {
    color: #000;
  }
  
  .overlay {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
    overflow-y: auto;
  }
  .overlay-content {
    position: relative;
    width: 85vw;
    max-width: 500px;
    margin: 10% auto;
    padding: 20px;
    background: white;
    color: #3d3d3c;
    font-size: 0.9rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  .overlay-content a {
    color: #3d3d3c;
  }
  .overlay-content a:hover {
    color: #000;
  }
  
  /* Contact Form Specific */
  .contact-form {
    display: flex;
    flex-direction: column;
  }
  .contact-form label {
    margin: 0.5rem 0 0.2rem;
  }
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid #ccc;
    margin-bottom: 1rem;
  }
  .contact-form button {
    padding: 0.7rem;
    border-radius: 4px;
    border: none;
    background-color: #3d3d3c;
    color: white;
    cursor: pointer;
  }
  .contact-form button:hover {
    background-color: #d5d2d2;
    color: #3d3d3c;
  }
  .contact-form .error {
    color: red;
    margin-bottom: 1rem;
  }
  
  /* CSS für temporäre Nachrichten */
  .message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    color: #fff; /* Textfarbe */
    z-index: 1001; /* Höher als Overlays */
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  .message.show {
    opacity: 1;
    transform: translateY(0);
  }

  .message-success {
    background-color: #28a745; /* Grüner Hintergrund für Erfolg */
  }

  .message-error {
    background-color: #dc3545; /* Roter Hintergrund für Fehler */
  }
  
  .logo-contact::before {
    background-image: url("img/img-contact.jpg");
  }
  .logo-leonardo::before {
    background-image: url("img/img-leonardoai.png");
  }
  .logo-elevenlabs::before {
    background-image: url("img/img-elevenlabs.jpg");
  }
  .logo-es::before {
    background-image: url("img/img-es.png");
  }
  .logo-tiktok::before {
    background-image: url("img/img-tiktok.png");
  }
  
  .adpic {
    width: 100%;
    border-radius: 20px;
    opacity: 0.75;
  }
  .adpic:hover {
    opacity: 1;
  }

/* create_prompts  */
/* Stil für das Formular */
.prompt-form {
  display: flex;
  flex-direction: column;
}

.prompt-form label {
  margin-top: 10px;
  font-weight: bold;
}

.prompt-form textarea {
  resize: vertical;
  padding: 8px;
  font-size: 1em;
}

.prompt-form button[type="submit"] {
  margin-top: 15px;
  padding: 10px;
  background-color: #007BFF;
  color: #fff;
  border: none;
  cursor: pointer;
}

.prompt-form button[type="submit"]:hover {
  background-color: #0056b3;
}

/* Stil für generierte Prompts */
.generated-prompts {
  margin-top: 20px;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.prompt-section {
  margin-bottom: 15px;
}

.prompt-section h4 {
  margin-bottom: 5px;
}

.prompt-section p {
  background-color: #f9f9f9;
  padding: 10px;
  border-radius: 3px;
  word-wrap: break-word;
}

.prompt-section button {
  margin-top: 5px;
  padding: 5px 10px;
  background-color: #28a745;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 3px;
}

.prompt-section button:hover {
  background-color: #218838;
}

/* Stil für Fehlermeldungen */
.error {
  color: #dc3545;
  margin-top: 10px;
}

.success {
  color: #28a745;
  margin-top: 10px;
}

/* Responsives Design */
@media (max-width: 480px) {
  .carousel {
    margin-bottom: 10px;
  }
  .carousel-item {
    width: 78%;
    height: 78%;
  }
  .carousel-item.active {
    left: 10%;
  }
  .carousel-caption {
    left: -20%;
  }.footer-links {
    padding: 12px 10px;
    margin-top: 1em;
  }
}