/*
js.css

/* Allgemeine Rotationslogik */
.rotating-text {
    transition: transform 20s linear;
    transform-origin: 50% 50%; /* Automatische Zentrierung */
    z-index: 1000;
}

/* Hover-Effekt */
.hover-trigger:hover + .rotating-text {
    transform: rotate(360deg);
}


/* Desktop-Version (ab 600px Breite) */
@media screen and (min-width: 600px) {
    #rotating-svg {
        display: block;
        margin-left: -20px; /* Optional: Anpassung für Styling */
    }

    #rotating-svg-small, #rotating-svg-smaller {
        display: none;
    }

    /* Zentrierung der Animation */
    #rotating-svg .rotating-text {
        transform-origin: 250px 250px; /* Mittelpunkt des großen SVG */
    }
}

/* Tablet- und mittlere Größe (zwischen 400px und 600px Breite) */
@media screen and (max-width: 600px) and (min-width: 400px), (max-width: 955px) and (min-width: 780px) {
    #rotating-svg-small {
        display: block;
        
    }
    #rotating-svg, #rotating-svg-smaller {
        display: none;
    }

    #rotating-svg-small .rotating-text {
        transform-origin: 150px 150px; /* Mittelpunkt des mittleren SVG */
    }
}

/* Mobile (unter 400px Breite) */
@media screen and (max-width: 400px) {
    #rotating-svg-smaller {
        display: block;
    }

    #rotating-svg, #rotating-svg-small {
        display: none;
    }

    #rotating-svg-smaller .rotating-text {
        transform-origin: 100px 100px; /* Mittelpunkt des kleinen SVG */
    }
}


  /*--------------------------------------------------------------
Content Swap Container
--------------------------------------------------------------*/

/* Content Swap Container Basis-Styling */
#present-content,
#future-content {
    display: none;
    width: 100%;
    transition: none; /* Deaktiviere mögliche andere Transitions */
}

#present-content {
    display: block; /* Initial sichtbar */
}

/* Entferne möglicherweise störende Styles */
.content-layer,
.content-swap-container {
    position: relative;
    width: 100%;
}

/* Wichtig: Übergeordnete Container nicht verstecken */
.wp-block-group__inner-container {
    display: block !important;
}

/* Basis-Styling für Content-Container */
#content-swap-container {
    position: relative;
    width: 100%;
}

#content-swap-container #present-content,
#content-swap-container #future-content {
    width: 100%;
    transition: none;
}


/* Entferne alle anderen display/visibility Eigenschaften */
#content-swap-container .wp-block-group__inner-container {
    display: block !important;
}

  /*--------------------------------------------------------------
Bouncing Icons
--------------------------------------------------------------*/

/* Bouncing Icons Container */
.x-bouncing-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: transparent;
}

/* Bouncing Link Basis-Styling */
.x-bouncing-link {
    position: absolute;
    text-decoration: none;
    display: block;
    opacity: 0;
    transition: all 0.3s ease-in !important;
    border-radius: 50%;
    background-color: #222;
    z-index: 1;
}

/* Icon Container */
.x-bouncing-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    background-color: #222;
}

/* Icon Größen */
.x-bouncing-link.large {
    width: 140px;
    height: 140px;
}

.x-bouncing-link.small {
    width: 80px;
    height: 80px;
}

.x-bouncing-link:not(.large):not(.small) {
    width: 100px;
    height: 100px;
}

/* Icon Bilder */
.x-bouncing-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Tooltip Container */
.x-bouncing-tooltip-container {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 600px;
    min-height: 100px;
    background: rgba(34, 34, 34, 0.95);
    border: 1px solid #2EDAF1;
    border-radius: 15px;
    padding: 20px;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1000;
    text-align: center;
    font-family: "Comic Sans MS", "Arial Rounded MT Bold", "Verdana", sans-serif;
    box-shadow: 0 0 20px rgba(46, 218, 241, 0.2);
}

.x-bouncing-tooltip-container.active {
    opacity: 1;
}

/* Individuelle Hover-Effekte */
.x-bouncing-link:hover {
    transform: scale(1.05) !important;
}

/* Individuelle Glow-Farben */
#ai-taskbreaker:hover { box-shadow: 0 0 30px rgba(255, 0, 0, 0.6) !important; }
#ai-taskbreaker:focus { box-shadow: 0 0 40px rgba(255, 0, 0, 0.8) !important; }

#ai-reality-weave:hover { box-shadow: 0 0 30px rgba(255, 127, 0, 0.6) !important; }
#ai-reality-weave:focus { box-shadow: 0 0 40px rgba(255, 127, 0, 0.8) !important; }

#ai-chatty:hover { box-shadow: 0 0 30px rgba(255, 255, 0, 0.6) !important; }
#ai-chatty:focus { box-shadow: 0 0 40px rgba(255, 255, 0, 0.8) !important; }

#ai-prompt-muse:hover { box-shadow: 0 0 30px rgba(0, 255, 0, 0.6) !important; }
#ai-prompt-muse:focus { box-shadow: 0 0 40px rgba(0, 255, 0, 0.8) !important; }

#ai-zeus:hover { box-shadow: 0 0 30px rgba(0, 255, 255, 0.6) !important; }
#ai-zeus:focus { box-shadow: 0 0 40px rgba(0, 255, 255, 0.8) !important; }

#ai-musicmaster:hover { box-shadow: 0 0 30px rgba(0, 127, 255, 0.6) !important; }
#ai-musicmaster:focus { box-shadow: 0 0 40px rgba(0, 127, 255, 0.8) !important; }

#ai-textdude:hover { box-shadow: 0 0 30px rgba(46, 43, 255, 0.6) !important; }
#ai-textdude:focus { box-shadow: 0 0 40px rgba(46, 43, 255, 0.8) !important; }

#ai-alchemist:hover { box-shadow: 0 0 30px rgba(139, 0, 255, 0.6) !important; }
#ai-alchemist:focus { box-shadow: 0 0 40px rgba(139, 0, 255, 0.8) !important; }

#ai-mr-rainbow:hover { box-shadow: 0 0 30px rgba(255, 105, 180, 0.6) !important; }
#ai-mr-rainbow:focus { box-shadow: 0 0 40px rgba(255, 105, 180, 0.8) !important; }

#ai-kalathar:hover { box-shadow: 0 0 30px rgba(255, 215, 0, 0.6) !important; }
#ai-kalathar:focus { box-shadow: 0 0 40px rgba(255, 215, 0, 0.8) !important; }

#writ-ultimo:hover { box-shadow: 0 0 30px rgba(147, 112, 219, 0.6) !important; }
#writ-ultimo:focus { box-shadow: 0 0 40px rgba(147, 112, 219, 0.8) !important; }

  /*--------------------------------------------------------------
Custom Tooltip
--------------------------------------------------------------*/

/* Der ußere Container für den Tooltip */
.tooltip-container {
    position: relative;
    display: inline-block;
    margin-top: 10px;

}

/* Das Tooltip-Inhaltselement mit Clip-Path und Border-Radius */
.custom-tooltip {
    font-family: "Comic Sans MS", "Arial Rounded MT Bold", "Verdana", sans-serif;
    font-size: 14px;
    font-weight: 300;
    background-color: #333;
    color: #fff;
    padding: 10px;
    padding-top: 10px;
    padding-left: 18px;
    position: relative;
    font-size: 14px;
    max-width: 200px;
    white-space: normal;
    border: 1px solid #2EDAF1;
    border-radius: 12px 20px 16px 28px;
    z-index: 10;
}

@media (max-width:768px) {
    .custom-tooltip {
            display: none;

    }

}

.custom-tooltip.special-tooltip {
    border: 1px solid #FFD700;
}

/* Pseudoelement für den Border des Dreiecks */
.custom-tooltip::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 15px;
    border-width: 10px;
    border-style: solid;
    border-color: transparent transparent #2EDAF1 transparent; /* Farbe des Borders */
    z-index: 5;
}

/* Pseudoelement für die Füllung des Dreiecks */
.custom-tooltip::after {
    content: "";
    position: absolute;
    top: -19px;
    left: 15px;
    border-width: 10px;
    border-style: solid;
    border-color: transparent transparent #333 transparent; /* Farbe des Hintergrunds */
    z-index: 6;
}

/* Spezielle Styling für den goldenen Border */
.custom-tooltip.special-tooltip::before {
    border-color: transparent transparent #FFD700 transparent;
}
