body { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    height: 100vh; 
    box-sizing: border-box;
    background: #f4f4f4; 
    font-family: Arial, sans-serif;
}
body {
    transition: background 0.5s ease-out; /* Längere, sanftere Übergangszeit */
}

.flash-top, .flash-bottom {
    position: fixed;
    left: 0;
    width: 100%;
    height: 300px;
    z-index: -1;
    pointer-events: none;
    opacity: 0; /* Start: Unsichtbar */
    transition: opacity 0.4s ease-out; /* Sanftere Überblendung */
}

.flash-top {
    top: 0;
    background: linear-gradient(to bottom, rgba(154, 7, 144, 0.5), transparent);
}

.flash-bottom {
    bottom: 0;
    background: linear-gradient(to top, rgba(154, 7, 144, 0.5), transparent);
}


#quote-box { 
    width: 80%; 
    max-width: 500px; 
    text-align: center; 
    padding: 20px; 
    background: white; 
    border-radius: 10px; 
    box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
}
.quote-text { 
    font-size: 1.5em; 
    margin: 20px 0; 
}
.quote-kategorie { 
    font-size: 1em; 
    color: rgba(154, 7, 144, 0.5);
}

.quote-author { 
    font-size: 1em; 
    color: gray; 
}

#swipe-hint {
    position: fixed;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(154, 7, 144, 0.5);
    color: white;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 16px;
    text-align: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

#swipe-hint.show {
    opacity: 1;
}

.like-heart {
   
   
    font-size: 40px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    touch-action: manipulation;
    transition: color 0.3s ease-in-out;
    user-select: none;      /* Verhindert Textauswahl */
    -webkit-user-select: none; 
    -moz-user-select: none;  
    -ms-user-select: none;   
    outline: none;          /* Entfernt den Fokusrahmen */
    border: none;           /* Kein Rand */
    background: none;       /* Kein Hintergrund */
    font-size: 2rem;        /* Herz schön groß */
    cursor: pointer;        /* Zeigt an, dass es klickbar ist */
    -webkit-tap-highlight-color: transparent; 
}

.like-heart.liked {
    color: red;
}

.like-count {
   
    text-align: center;
   
  
   
    font-size: 12px;
    color: gray;
    font-family: Arial, sans-serif;
}
.likecontainer{
    display: grid;
    grid-template-rows: 90% 10%;
    position: absolute;
    top: 15px;
    right: 15px;
    width: 50px;
}

.share-button {
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-size: 16px;
    background: #333;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
}

.share-button:hover {
    background: #555;
}

.inst{
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: #333;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    transition: background 0.3s;
    font-size: 16px;
}

.for-you-button {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 16px;
    background: #333;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
}

.impressum{
    position: fixed;
    bottom: 5px;
    font-size: 0.8rem;
}
