/* Allgemeine Stile */
#frame-progress {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    position: relative;
}

.circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #cccccc;
    margin: 0 5px;
    transition: background-color 0.3s;
    position: relative;
}

.circle.active {
    background-color: #ff3366;
}

.circle.active::after {
    content: attr(data-label);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: #FFF;
    white-space: nowrap;
}

#frame-container .frame {
    display: none;
}

#frame-container .frame.active {
    display: block;
}

/* Frame 1 und Frame 3 Anpassungen */
#frame-1 h2, #frame-3 h2 {
    font-size: 3.5em;
    text-align: center;
    padding-top: 25px;
}

#frame-1 p, #frame-3 p {
    font-size: 1.3em;
    text-align: center;
}

#frame-1 .arrow-container, #frame-3 .arrow-container {
    margin-top: 0;
}

#frame-1 .arrow-circle, #frame-3 .arrow-circle {
    margin-top: 0;
}

#frame-1 .inspirational-box, #frame-3 .inspirational-box {
    position: relative;
    z-index: 1;
    margin-top: 20px;
    height: 100% !important;
    overflow: visible;
}

/* Anpassungen für das Dropdown in Frame 1 und 3 */
#frame-1 #category-select, #frame-3 #category-select {
    width: 100%;
    max-width: 800px; /* Maximale Breite auf größeren Bildschirmen */
    padding: 15px;
    background-color: #333;
    color: #FFF;
    font-size: 1.3em; /* Schriftgröße gleich wie der Text */
    border: 2px solid #FFF;
    border-radius: 5px;
    margin: 0 auto; /* Zentriert das Dropdown */
    appearance: none; /* Entfernt den Standard-Pfeil von Browsern */
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iNSIgdmlld0JveD0iMCAwIDEwIDUiIHZlcnNpb249IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgZmlsbD0iI0ZGRiI+PHBhdGggZD0iTTAgMGw1IDUgNS01eiIvPjwvc3ZnPg==');
    background-repeat: no-repeat;
    background-position: right 15px center;
    box-sizing: border-box;
}

#frame-1 #category-select option, #frame-3 #category-select option {
    background-color: #333;
    color: #FFF;
    font-size: 1.3em; /* Gleiche Schriftgröße wie der restliche Text */
}

/* Dropdown-Fokus-Stil */
#frame-1 #category-select:focus, #frame-3 #category-select:focus {
    border-color: #ff3366; /* Farbe des Rahmens bei Fokus */
    box-shadow: 0 0 5px rgba(255, 51, 102, 0.5); /* Leuchteffekt bei Fokus */
}

/* Benutzerdefiniertes Dropdown-Menü für Frame 1 und 3 */
.custom-dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    z-index: 2; /* Setzt das Dropdown über die inspirational-box */
}

#dropdown-toggle, #dropdown-toggle-3 {
    display: none;
}

.dropdown-label {
    display: block;
    padding: 15px;
    background-color: #333;
    color: #FFF;
    font-size: 1.3em;
    border: 2px solid #fff;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    position: relative;
    box-sizing: border-box;
    z-index: 2; /* Stellt sicher, dass das Label über anderen Elementen liegt */
}

.dropdown-label::after {
    content: '▼';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8em;
    pointer-events: none;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%; /* Positioniert das Dropdown direkt unter dem Label */
    left: 0;
    width: 100%;
    background-color: #333;
    border: 2px solid #FFF;
    border-radius: 5px;
    box-sizing: border-box;
    z-index: 3; /* Höherer z-index, damit es über der inspirational-box und dem Label liegt */
}

.dropdown-option {
    padding: 12px;
    color: #FFF;
    font-size: 1.2em;
    cursor: pointer;
    border-bottom: 1px solid #444;
}

.dropdown-option:last-child {
    border-bottom: none;
}

.dropdown-option:hover {
    background-color: #555;
}

#dropdown-toggle:checked + .dropdown-label + .dropdown-menu,
#dropdown-toggle-3:checked + .dropdown-label + .dropdown-menu {
    display: block;
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    #frame-1 h2, #frame-3 h2 {
        font-size: 2.5em;
    }

    #frame-1 p, #frame-3 p {
        font-size: 1.1em;
    }

    #frame-1 .inspirational-box, #frame-3 .inspirational-box {
        margin-top: 15px;
        height: auto;
        max-height: 80vh;
    }

    #frame-1 #category-select, #frame-3 #category-select {
        font-size: 1.2em; /* Erhöhte Schriftgröße für bessere Lesbarkeit */
        padding: 15px; /* Mehr Padding für größere Klickfläche */
        background-position: right 10px center;
        max-width: 100%; /* Volle Breite auf mobilen Geräten */
        margin-top: 20px; /* Zusätzlicher Abstand von oberen Elementen */
    }

    .arrow-container {
        margin-top: -50px;
    }

    #frame-progress {
        margin-bottom: 80px !important;
    }

    .inspirational-box {
        max-height: 52vh !important;
    }
}

/* Frame 2 Anpassungen */
.frame-title {
    font-size: 3.5em;
    text-align: center;
    padding-top: 25px;
}

.frame-description {
    font-size: 1.3em;
    text-align: center;
}

/* Cards und Tinder Styles */
#insight-tinder-container {
    width: 100%;
    max-width: 350px;
    height: 580px;
    position: relative;
    perspective: 1000px;
    margin: 0 auto;
}

.insight-tinder-card {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-out;
    cursor: grab;
    color: #2d2d2d !important;
    user-select: none; /* Verhindert die Markierung des Textes */
    z-index: 10; /* Über dem Balken */
}

.insight-tinder-card h2 {
    color: #2d2d2d !important;
}

.quote-text {
    font-size: 24px;
    font-weight: bold;
    user-select: none; /* Verhindert die Markierung des Textes */
}

.description-text {
    display: none;
    font-size: 14px;
    color: #e0e0e0;
    margin-top: 10px;
    text-align: left;
    position: absolute;
    top: 30px;
    right: 10px;
    background-color: #333;
    padding: 5px;
    border-radius: 5px;
    z-index: 10;
    max-width: 200px;
    color: #FFFFFF;
    user-select: none; /* Verhindert die Markierung des Textes */
}

.info-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    background-color: #cccccc;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    cursor: pointer;
    user-select: none; /* Verhindert die Markierung des Textes */
}

.info-icon:hover + .description-text {
    display: block;
}

.actions {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    user-select: none; /* Verhindert die Markierung des Textes */
}

.action-btn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 50px;
    color: #2d2d2d;
    transition: transform 0.2s, color 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 2px 2px 5px #cccccc;
    padding: 5px;
    user-select: none; /* Verhindert die Markierung des Textes */
}

.action-btn.left:hover {
    color: #ff3366;
}

.action-btn.right:hover {
    color: #ff3366;
}

.inspirational-box {
    width: 90%;
    max-width: 800px;
    margin: 20px auto;
    background-color: #1a1a1a;
    border-radius: 10px;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.2);
    padding: 20px;
    overflow-y: auto;
    max-height: 40vh;
    color: #FFFFFF;
    height: 700px;
    margin-top: 60px;
}

.spacer-50 {
    height: 50px;
}

.arrow-container {
    display: flex;
    justify-content: center;
    margin-top: -75px;
}

.arrow-circle {
    width: 40px;
    height: 40px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: jump 3s infinite;
    background-color: transparent;
    margin-top: 150px;
    user-select: none;
}

.arrow-circle::before {
    content: '↓';
    font-size: 20px;
    color: #ffffff;
    user-select: none;
}

@keyframes jump {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Weitere allgemeine Stile */
.inspirational-box h2 {
    color: #FFFFFF;
}

.saved-quote {
    background-color: #2a2a2a;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
    position: relative;
    padding-right: 40px;
    user-select: none;
}

.remove-quote {
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: #2d2d2d;
    border-radius: 15px;
    color: #ffffff;
    cursor: pointer;
    font-size: 18px;
    border-color: #ffffff;
    user-select: none;
}

.match-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
    user-select: none;
}

.match-text {
    font-size: 72px;
    color: #ff3366;
    text-shadow: 0 0 20px rgba(255, 51, 102, 0.8);
    animation: pulse 1s infinite alternate;
    user-select: none;
}

.error-message {
    color: #ff3366;
    text-align: center;
    margin-top: 10px;
    display: none;
    user-select: none;
}

.show-error {
    display: block;
    animation: shake 0.5s;
}

.shake {
    animation: shake 0.5s;
}

@keyframes shake {
    0% { transform: translate(0, 0); }
    25% { transform: translate(-5px, 0); }
    50% { transform: translate(5px, 0); }
    75% { transform: translate(-5px, 0); }
    100% { transform: translate(0, 0); }
}

@keyframes pulse {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}

.no-crush-message {
    color: #ffffff;
    text-align: center;
    margin: 20px 0;
    font-size: 16px;
    font-style: italic;
    user-select: none;
}

#navigation-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
}

#navigation-buttons #back-button {
    display: none;
    font-size: 1.2em;
    color: #fff;
    text-decoration: none;
    margin-top: 10px;
    display: flex;
    align-items: center;
}

#navigation-buttons #back-button .arrow-left {
    font-size: 1.2em;
    margin-right: 5px;
    transition: transform 0.2s ease-in-out;
}

#navigation-buttons #back-button:hover .arrow-left {
    animation: shake 0.5s;
}

#navigation-buttons #next-button {
    background-color: #cccccc;
    color: #ffffff;
    padding: 20px 20px;
    border: 2px solid #FFF;
    border-radius: 5px;
    cursor: not-allowed;
    transition: background-color 0.3s, cursor 0.3s, background-position 0.5s, transform 0.3s;
    font-size: 1.5em;
    /*background: linear-gradient(90deg, #33013a, #ff3366, #33013a);*/
    background-size: 200% 200%;
}

#navigation-buttons #next-button:enabled {
    cursor: pointer;
    background-position: left center; /* Move the gradient on hover */
    transform: scale(1.05); /* Slightly increase size */
}

#navigation-buttons #next-button:enabled:hover {
    background-position: right center; /* Move the gradient on hover */
    transform: scale(1.05); /* Slightly increase size */
}

/* Körper Hintergrund */
body {
    background: radial-gradient(circle at top left, #5a5a5a, #000000) !important;
    min-height: 100vh !important;
    margin: 0;
    padding: 0;
    position: relative;
}

.has-base-background-color {
    background-color: transparent !important;
}

/* Schriftart 
body, h1, h2, h3, h4, h5, h6, p, div, span, a, button {
    font-family: 'Oswald', sans-serif;*/
}

/* Animation für das leichte Wackeln der obersten Karte */
.sway {
    animation: sway 1s ease-in-out;
}

@keyframes sway {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-2deg);
    }
    50% {
        transform: rotate(0deg);
    }
    75% {
        transform: rotate(2deg);
    }
    100% {
        transform: rotate(0deg);
    }
}


h1 {display:none;}

.input-container {
    margin-bottom: 15px;
}

.input-container label {
    display: block;
    margin-bottom: 5px;
    color: #ffffff;
    font-weight: bold;
}

.input-container input {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}


/* Neue CSS-Klassen für Frame 4 */

/* Kartencontainer für Frame 4 */
#campaign-tinder-container {
    width: 100%;
    max-width: 350px;
    height: 580px;
    position: relative;
    perspective: 1000px;
    margin: 0 auto;
}

/* Insight-Karten für Frame 4 */
.campaign-tinder-card {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-out;
    cursor: grab;
    color: #2d2d2d !important;
	padding-bottom: 120px;
    user-select: none; /* Verhindert die Markierung des Textes */
}

.campaign-tinder-card h2 {
    color: #2d2d2d !important;
}

/* Markenname (ganz oben auf der Karte) */
.campaign-brand {
    font-size: 12px;
    font-weight: bold;
    color: #777;
    margin-bottom: 10px;
    user-select: none;
}

/* Idea (short) (groß in der Mitte der Karte) */
.campaign-idea-short {
    font-size: 24px;
    font-weight: bold;
    color: #2d2d2d;
    margin-bottom: 10px;
    user-select: none;
}

/* Idea (long) (kleiner darunter) */
.campaign-idea-long {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
	display: block; /* Falls das Element versehentlich auf 'none' gesetzt war */
    user-select: none;
}

/* Touchpoints (ganz unten auf der Karte) */
.campaign-touchpoints {
    font-size: 14px;
    color: #888;
    margin-top: auto;
    user-select: none;
}

/* Learn more Link */
.campaign-learn-more {
    font-size: 14px;
    color: #ff3366;
    text-decoration: underline;
    margin-top: 10px;
    user-select: none;
}

/* Awards (versteckt hinter dem Info-Icon) */
.campaign-info-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    background-color: #cccccc;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    cursor: pointer;
    user-select: none; /* Verhindert die Markierung des Textes */
}

.campaign-info-icon:hover + .campaign-description-text {
    display: block;
}

.campaign-description-text {
    display: none;
    font-size: 14px;
    color: #e0e0e0;
    margin-top: 10px;
    text-align: left;
    position: absolute;
    top: 30px;
    right: 10px;
    background-color: #333;
    padding: 5px;
    border-radius: 5px;
    z-index: 10;
    max-width: 200px;
    color: #FFFFFF;
    user-select: none; /* Verhindert die Markierung des Textes */
}

/* Animation für das leichte Wackeln der obersten Kampagnen-Karte */
.campaign-sway {
    animation: sway 1s ease-in-out;
}

/* Frame 5 spezifische Anpassungen */
#frame-5 .frame-title {
    font-size: 3.5em;
    text-align: center;
    padding-top: 25px;
}

#frame-5 .frame-description {
    font-size: 1.3em;
    text-align: center;
}




.vs-container .box {
    width: 80%;
    max-width: 600px;
    padding: 20px;
    border: 2px solid #ffffff;
    border-radius: 10px;
    background-color: #1a1a1a;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
}

.vs-container .vs-text {
    font-size: 5em;
    color: #ff3366;
    font-weight: bold;
    margin: 20px 0;
}

/* Anpassungen für mobile Ansicht */
@media (max-width: 768px) {
    .vs-container .vs-text {
        font-size: 3em;
    }
}
/* Frame 5 Styling */
#frame-5 .vs-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

#frame-5 .box {
    width: 45%;
    padding: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background-color: #f9f9f9;
}

#frame-5 .vs-text {
    font-size: 3rem;
    font-weight: bold;
    color: #ff3366;
    text-align: center;
    margin: 0 10px;
}

#selected-insights {
    margin-top: 15px;
    padding: 10px;
    border: 1px dashed #ccc;
    border-radius: 5px;
    min-height: 150px;
    background-color: #ffffff;
}

#selected-insights .insight-item {
    padding: 10px;
    margin-bottom: 5px;
    background-color: #f1f1f1;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    color: #333;
}

#frame-5 .insight-drop-zone {
    margin-top: 20px;
    padding: 30px;
    border: 2px dashed #ff3366;
    border-radius: 10px;
    background-color: #fff;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff3366;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
}

/* Ensure that the boxes are responsive */
@media (max-width: 768px) {
    #frame-5 .vs-container {
        flex-direction: column;
        align-items: stretch;
    }

    #frame-5 .box {
        width: 100%;
        margin-bottom: 20px;
    }

    #frame-5 .vs-text {
        font-size: 2rem;
        margin: 20px 0;
    }
}

/* Style für die VS-Container */


.vs-text {
    font-size: 3em;
    font-weight: bold;
    color: #ff3366;
    margin: 0 20px;
}

.box {
    flex: 1;
    border: 2px solid #ccc;
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    border-radius: 10px;
}

.box h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
    text-align: center;
	color: #2d2d2d;
}

#selected-insights {
    min-height: 150px;
    margin-bottom: 20px;
    border: 2px dashed #ccc;
    padding: 10px;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.insight-drop-zone {
    height: 150px;
    border: 2px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background-color: #f9f9f9;
}


#box-left, #box-right {
    width: 45%;
}

@media (max-width: 768px) {
    .vs-container {
        flex-direction: column;
    }

    .box {
        width: 100%;
        margin-bottom: 20px;
    }

    .vs-text {
        font-size: 2em;
        margin: 20px 0;
    }
}

.draggable-items-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
    border: 2px dashed #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    min-height: 150px;
}

.draggable-item {
    padding: 10px;
    background-color: #2a2a2a;
    color: #fff;
    border-radius: 5px;
    cursor: grab;
    font-size: 14px;
    font-weight: bold;
    user-select: none;
    transition: transform 0.2s ease;
}

.draggable-item.dragging {
    opacity: 0.5;
    transform: scale(1.1); /* Vergrößert die Box während des Dragging */
}

.insight-drop-zone, .campaign-drop-zone {
    height: 150px;
    border: 2px dashed #ff3366;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background-color: #f9f9f9;
    font-size: 1rem;
    font-weight: bold;
    color: #ff3366;
    position: relative;
    overflow: hidden;
}

.insight-drop-zone .placeholder-text,
.campaign-drop-zone .placeholder-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ff3366;
}

.insight-drop-zone.filled,
.campaign-drop-zone.filled {
    border-color: #2a2a2a;
}

.insight-drop-zone.filled .placeholder-text,
.campaign-drop-zone.filled .placeholder-text {
    display: none;
}

/* Dropdown-Menü Anpassungen */
.custom-dropdown .dropdown-menu {
    z-index: 1000; /* Sicherstellen, dass das Dropdown im Vordergrund ist */
}

/* Styling für den deaktivierten Button */
#next-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* Aktiver Zustand des Buttons */
#next-button {
    transition: background-color 0.3s, cursor 0.3s;
}

#frame-1 .inspirational-box, #frame-3 .inspirational-box {
	z-index: unset !important;
}

.insight-tinder-card, .campaign-tinder-card {
    display: block; /* oder flex */
    visibility: visible;
    opacity: 1;
    z-index: 1; /* oder höher, falls erforderlich */
}

/* Entfernt das Häkchen-Icon und zeigt nur das Kreuz-Icon */
.action-btn.right {
    display: none;
}

/* Spezielles Styling für das Kreuz-Icon */
.action-btn.left {
    background-color: #ff3366;
    color: #fff;
}

.action-btn.left:hover {
    background-color: #cc2952;
    color: #fff;
}

/* Anpassung der Kartenanimationen beim Swipen */
.insight-tinder-card, .campaign-tinder-card {
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.insight-tinder-card.swipe-left, .campaign-tinder-card.swipe-left {
    transform: translateX(-150vw) rotate(-15deg);
    opacity: 0;
}

.insight-tinder-card.swipe-right, .campaign-tinder-card.swipe-right {
    transform: translateX(150vw) rotate(15deg);
    opacity: 0;
}

/* Z-Index-Optimierung für Karten */
.insight-tinder-card, .campaign-tinder-card {
    z-index: 10;
}

.insight-tinder-card:last-child, .campaign-tinder-card:last-child {
    z-index: 20;
}


/* Kartenüberlagerung bei Swipe */
.insight-tinder-card, .campaign-tinder-card {
    visibility: visible;
    opacity: 1;
}

.insight-tinder-card.removed, .campaign-tinder-card.removed {
    visibility: hidden;
    opacity: 0;
}

/* Tooltip-Info-Optimierung */
.info-icon:hover + .description-text, .campaign-info-icon:hover + .campaign-description-text {
    display: block;
}

/* Optimierung der Responsivität für Mobile */
@media (max-width: 768px) {
    #insight-tinder-container, #campaign-tinder-container {
        max-width: 100%;
        height: 480px;
    }

    .vs-container {
        flex-direction: column;
        font-size: 2rem;
    }
}

/* Frame 2 Styling */
.swipe-container {
    display: flex;
    flex-direction: column; /* Ändert die Anordnung von nebeneinander zu untereinander */
    align-items: center;
    margin-top: 30px;
}

.swipe-section {
    width: 100% !important; /* Volle Breite, damit die Karten zentriert untereinander stehen */
    text-align: center;
    margin-bottom: 30px; /* Abstand zwischen den Abschnitten */
}

#vs-container {
    position: relative;
    width: 100%;
    height: 150px; /* Höhe des Balkens */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px; /* Abstand nach oben */
    margin-bottom: 20px; /* Abstand nach unten */
    overflow: visible; /* Stellt sicher, dass nichts abgeschnitten wird */
    z-index: -18; /* Unter den Insight Cards */
    margin-top: -70px; /* Positionierung des VS */
}

#vs-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw; /* Gesamte Breite des Viewports */
    height: 350px; /* Höhe des Balkens */
    background: linear-gradient(90deg, #ff3366, #33013a);
    transform: translateX(-50%) rotate(-6deg); /* Zentriert und dreht den Balken */
    z-index: -1; /* Hinter dem "VS" */
	display:none;
}

#vs-container h2 {
	margin-top: 470px;
	margin-bottom:290px;
    font-size: 7em;
    color: yellow;
    z-index: 1;
}




.card-container {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    margin-bottom: 20px; /* Abstand unter den Karten */
}

@media (max-width: 768px) {
    .swipe-container {
        flex-direction: column;
        align-items: center;
    }

    .swipe-section {
        width: 100%;
        margin-bottom: 20px;
    }

    #vs-container {
        margin: 20px 0;
    }

    #vs-container h2 {
        font-size: 2em;
    }
	
}

/* Frame 2 Styling */
.swipe-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    margin-top: 30px;
}

.swipe-section {
    width: 45%;
    text-align: center;
}


.card-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    perspective: 1000px;
    height: 580px;
}

@media (max-width: 768px) {
    .swipe-container {
        flex-direction: column;
        align-items: center;
    }

    .swipe-section {
        width: 100%;
        margin-bottom: 20px;
    }

    #vs-container {
        width: 100%;
        margin: 20px 0;
    }

    #vs-container h2 {
        font-size: 2em;
    }
}

/* Frame 2 Styling */
.swipe-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    margin-top: 30px;
}

.swipe-section {
    width: 45%;
    text-align: center;
}

.swipe-section h2 {
    margin-bottom: 10px; /* Platz unter der Überschrift */
}


.card-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    perspective: 1000px;
    height: 580px;
}

/* Anpassung der Buttons auf den Karten */
.action-btn.right {
    display: none; /* Entfernt das Häkchen-Icon und zeigt nur das Kreuz-Icon */
}

.action-btn.left {
    background-color: #ff3366;
    color: #fff;
}

.action-btn.left:hover {
    background-color: #cc2952;
    color: #fff;
}

/* Kartenanimationen beim Swipen */
.insight-tinder-card, .campaign-tinder-card {
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.insight-tinder-card.swipe-left, .campaign-tinder-card.swipe-left {
    transform: translateX(-150vw) rotate(-15deg);
    opacity: 0;
}

.insight-tinder-card.swipe-right, .campaign-tinder-card.swipe-right {
    transform: translateX(150vw) rotate(15deg);
    opacity: 0;
}

/* Optimierung der Responsivität für Mobile */
@media (max-width: 768px) {
    .swipe-container {
        flex-direction: column;
        align-items: center;
    }

    .swipe-section {
        width: 100%;
        margin-bottom: 20px;
    }

    #vs-container {
        width: 100%;
        margin: 20px 0;
    }

    #vs-container h2 {
        font-size: 2em;
    }
}

/* Anpassung der spezifischen Überschriften und Texte über den Cards im Frame 2 */
#frame-2 .swipe-section > h2 {
    font-size: 3.5em; /* Gleiche Größe wie "Welcome Player" */
    text-align: center;    
	margin-top: 0.83em; /* Gleicher Abstand nach oben wie in Frame 1 */
    margin-bottom: 0.83em; /* Gleicher Abstand nach unten wie in Frame 1 */
    text-align: center; /* Falls das in Frame 1 der Fall ist */
    padding-top: 25px; /* Falls es in Frame 1 verwendet wird */
}

#frame-2 .swipe-section > p {
    font-size: 1.3em; /* Gleiche Größe wie die Copy unter "Welcome Player" */
    text-align: center;
    margin-top: 1em; /* Abstand nach oben, um den Abstand zwischen Headline und Text zu vergrößern */
    margin-bottom: 1em; /* Abstand nach unten */
}

/* Styling für die Match-Animation und den grünen Rahmen */
.insight-tinder-card.matched, .campaign-tinder-card.matched {
    border: 3px solid #4CAF50; /* Hellgrüner Rahmen */
}

.match-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
    user-select: none;
}

.match-text {
    font-size: 72px;
    color: #4CAF50;
    text-shadow: 0 0 20px rgba(76, 175, 80, 0.8);
    animation: pulse 1s infinite alternate;
    user-select: none;
}

@keyframes pulse {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}

/* Buttons auf den Karten */
.action-btn.right {
    display: block; /* Häkchen-Button anzeigen */
    background-color: #4CAF50;
    color: #fff;
}

.action-btn.right:hover {
    background-color: #388E3C;
    color: #fff;
}

.evolve-section {
    text-align: center;
    margin-top: 50px;
}

.evolve-section h2 {
    font-size: 3.5em;
    color: #FFF;
    margin-bottom: 20px;
}

.evolve-section p {
    font-size: 1.3em;
    color: #FFF;
    margin-bottom: 20px;
}

.evolve-button {
    background-color: #ff3366;
    color: #fff;
    padding: 15px 30px;
    font-size: 1.5em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.evolve-button:hover {
    background-color: #cc2952;
    transform: scale(1.05);
}

.evolve-button.shake {
    animation: shake 0.5s;
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}

.evolve-warning {
    color: #ff3366;
    font-size: 1.2em;
    margin-top: 20px;
    display: none;
}


.evolve-card {
    width: 95%; /* Etwas breiter für ein immersives Design */
    max-width: 380px; /* Leicht vergrößert, um mehr Platz zu bieten */
    height: 600px; /* Höhe leicht erhöht */
    margin: 25px auto;
    background-color: #1a1a1a; /* Dunkleres Grau für einen modernen Look */
    color: #f1f1f1; /* Hellere Schriftfarbe für besseren Kontrast */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Texte zentrieren für ein ausgewogenes Layout */
    align-items: center;
    border-radius: 15px; /* Leicht abgerundete Ecken für ein weiches Design */
    box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.2); /* Tieferer Schatten für mehr Tiefe */
    padding: 30px;
    text-align: center;
    font-size: 1em; /* Leicht größere Schriftgröße */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
}

.evolve-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    z-index: 0;
}

.evolve-card h3, .evolve-card p {
    z-index: 2; /* Über dem Overlay */
}

.evolve-card h3 {
    text-align: center;
    width: 100%;
    margin-bottom: 25px; /* Etwas mehr Abstand unter dem Titel */
    font-size: 2.2em; /* Größer, um das Hauptaugenmerk auf den Titel zu legen */
    font-weight: bold; /* Kräftiger für einen starken Eindruck */
    z-index: 2;
    color: #ff3366; /* Markenfarbe für den Titel */
}

.evolve-card p {
    margin-bottom: 10px; /* Etwas mehr Abstand zwischen den Absätzen */
    font-size: 1em; /* Größere Schrift für bessere Lesbarkeit */
    z-index: 2;
    color: #f1f1f1; /* Helle Farbe für besseren Kontrast */
}

#evolve-button {
    background-color: #ff3366;
    color: #ffffff;
    padding: 20px 40px; /* Größere Buttons für eine prominentere Darstellung */
    font-size: 1.7em; /* Größere Schrift für Wichtigkeit */
    border: none;
    border-radius: 8px; /* Sanft abgerundete Ecken */
    cursor: pointer;
    transition: transform 0.3s ease-in-out, background-color 0.3s; /* Weichere Übergänge */
}

#evolve-button:hover {
    background-color: #cc2952; /* Etwas dunklerer Farbton beim Hover */
    transform: scale(1.05); /* Leichte Vergrößerung beim Hover */
}

#evolve-button.shake {
    animation: shake 0.6s; /* Etwas längere und weichere Schüttel-Animation */
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    50% { transform: translateX(8px); }
    75% { transform: translateX(-8px); }
    100% { transform: translateX(0); }
}

.black-card {
    background-color: #111; /* Tiefes Schwarz für klare Abgrenzung */
    color: #fff;
    padding: 25px; /* Etwas mehr Innenabstand für Komfort */
    border-radius: 12px; /* Leichte Rundung für sanftere Kanten */
    margin-top: 30px; /* Mehr Abstand nach oben */
    text-align: center;
    font-size: 1.4em; /* Leicht größere Schrift für bessere Lesbarkeit */
    min-height: 180px; /* Etwas höhere Karten */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Slideshow Container */
#slideshow-container {
    width: 100%;
    max-width: 1000px; /* Maximale Breite der Slideshow */
    max-height: 90vh; /* Slideshow nimmt maximal 90% der verfügbaren Höhe ein */
    margin: 0 auto;
    position: relative;
    aspect-ratio: 1 / 1; /* Setzt das Seitenverhältnis 1:1 */
    background-color: #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Slideshow-Karten */
.slideshow-card {
    width: 100%;
    height: 100%;
    max-height: 90vh; /* Stellt sicher, dass jede Slide ebenfalls 90% der verfügbaren Höhe einnimmt */
    background-color: #1a1a1a;
    color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.5s ease, z-index 0s 0.5s;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
}

.slideshow-card.active {
    opacity: 1;
    z-index: 10;
    transition: opacity 0.5s ease, z-index 0s 0s;
}


/* Styling für Titel in den Slideshow-Karten */
.slideshow-card h2 {
    font-size: 4.5em !important;
    color: #ff3366;
    margin-bottom: 15px;
    text-align: left !important;
}

/* Text in den Slideshow-Karten */
.slideshow-card p {
    font-size: 1.2em;
    color: #e0e0e0;
    line-height: 1.5;
}

/* Spezifische Text-Styling für dynamische Inhalte */
#slideshow-brand,
#slideshow-campaign,
#slideshow-idea-title,
#slideshow-challenge,
#slideshow-target-group,
#slideshow-idea,
#slideshow-touchpoints {
    font-weight: bold;
    color: #ff3366;
}

#slideshow-navigation {
    display: flex;
    justify-content: center;
    margin-top: -90px;
    position: relative;
    z-index: 10000;
    padding-bottom: 90px;
}

.slideshow-nav-button {
    background-color: #ff3366;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 1.2em;
    cursor: pointer;
    border-radius: 5px;
    margin: 0 10px;
    transition: background-color 0.3s;
}

.slideshow-nav-button:hover {
    background-color: #cc2952;
}

/* CSS für Ladeanimation */
#slideshow-container {
    display: none; /* Slideshow verstecken, bis Inhalte geladen sind */
}

#loading-animation {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    font-size: 2em;
    color: #ff3366;
    font-weight: bold;
}

.slideshow-nav-button {
    background-color: #ff3366;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    border-radius: 5px;
    margin: 10px;
    transition: background-color 0.3s ease;
}

.slideshow-nav-button:hover {
    background-color: #cc2952;
}

.slideshow-card {
    display: none; /* Slides verstecken, wenn sie nicht aktiv sind */
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    padding: 20px;
    border: 2px solid #fff;
    background-color: #1a1a1a;
    color: white;
    border-radius: 10px;
}

.slideshow-card.active {
    display: block; /* Nur die aktive Slide zeigen */
    opacity: 1;
}

/* Navigation der Slideshow */
#slideshow-navigation {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* Allgemeine Styling für die Slideshow */
#slideshow-container .slideshow-card h2 {
    font-size: 2.5em;
    text-align: center;
    color: #ff3366;
}

#slideshow-container .slideshow-card p {
    font-size: 1.2em;
    text-align: left;
    color: #ffffff;
}

.arrow-down {
    text-align: center;
    font-size: 2em;
    margin: 10px 0;
    color: #ff3366; /* Farbe des Pfeils anpassen */
}

.slideshow-card p {
    font-size: 1.5em; /* Textgröße anpassen */
    color: #ffffff; /* Textfarbe anpassen */
    text-align: center;
    margin: 20px 0;
}

#loading-overlay {
    position: fixed;  /* Deckt den gesamten Bildschirm */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75); /* Halbtransparent */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;  /* Stellt sicher, dass es über allem liegt */
}

#loading-content {
    color: #fff;
    font-size: 24px;
    text-align: center;
}
/* Für Mobilgeräte */
@media (max-width: 768px) {
    #slideshow-container {
        max-width: 100%; /* Volle Breite auf mobilen Geräten */
        max-height: 90vh; /* Auch auf Mobilgeräten 90% der Höhe */
        aspect-ratio: 1 / 1;
    }
}
