@keyframes rgbGlow {
    0% {
        color: rgb(255, 0, 0);
        text-shadow: 0 0 5px rgb(255, 0, 0), 0 0 10px rgb(255, 0, 0), 0 0 15px rgb(255, 0, 0), 0 0 20px rgb(255, 0, 0);
    }
    20% {
        color: rgb(255, 165, 0); /* Orange */
        text-shadow: 0 0 5px rgb(255, 165, 0), 0 0 10px rgb(255, 165, 0), 0 0 15px rgb(255, 165, 0), 0 0 20px rgb(255, 165, 0);
    }
    40% {
        color: rgb(255, 255, 0); /* Gelb */
        text-shadow: 0 0 5px rgb(255, 255, 0), 0 0 10px rgb(255, 255, 0), 0 0 15px rgb(255, 255, 0), 0 0 20px rgb(255, 255, 0);
    }
    60% {
        color: rgb(0, 255, 0); /* Grün */
        text-shadow: 0 0 5px rgb(0, 255, 0), 0 0 10px rgb(0, 255, 0), 0 0 15px rgb(0, 255, 0), 0 0 20px rgb(0, 255, 0);
    }
    80% {
        color: rgb(0, 0, 255); /* Blau */
        text-shadow: 0 0 5px rgb(0, 0, 255), 0 0 10px rgb(0, 0, 255), 0 0 15px rgb(0, 0, 255), 0 0 20px rgb(0, 0, 255);
    }
    100% {
        color: rgb(255, 0, 255); /* Magenta */
        text-shadow: 0 0 5px rgb(255, 0, 255), 0 0 10px rgb(255, 0, 255), 0 0 15px rgb(255, 0, 255), 0 0 20px rgb(255, 0, 255);
    }
}

@keyframes borderGlow {
    0% {
        border-color: rgb(255, 0, 0);
    }
    20% {
        border-color: rgb(255, 165, 0); /* Orange */
    }
    40% {
        border-color: rgb(255, 255, 0); /* Gelb */
    }
    60% {
        border-color: rgb(0, 255, 0); /* Grün */
    }
    80% {
        border-color: rgb(0, 0, 255); /* Blau */
    }
    100% {
        border-color: rgb(255, 0, 255); /* Magenta */
    }
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: url('Designer.pmxd') no-repeat center center fixed;
    background-size: cover;
    color: #ffffff;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    text-align: center;
    max-width: 800px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5); /* Halbtransparenter Hintergrund */
    border-radius: 10px;
}

.containerv2 {
    text-align: center;
    max-width: 800px;
    padding: 20px;
    background-color: rgba(37, 37, 37, 0.5); /* Halbtransparenter Hintergrund */
    border-radius: 5px;
}

h1 {
    font-size: 36px;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: rgbGlow 5s infinite;
}

.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-containerv2 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-link {
    display: inline-block;
    margin: 20px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: none;
}

.image-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.image-link img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.image-link:hover {
    border-color: rgb(186, 104, 200); /* lila Rahmen für ungerade Indexe */
}

.image-link:hover:nth-child(3n+1) {
    border-color: rgb(70, 155, 175); /* cyan Rahmen für Indexe teilbar durch 3 */
}

.image-link:hover:nth-child(4n+1) {
    border-color: rgb(255, 185, 0); /* goldener Rahmen für Indexe teilbar durch 4 */
}

.image-link:hover:nth-child(5n+1) {
    border-color: rgb(255, 135, 60); /* orange Rahmen für Indexe teilbar durch 5 */
}

.image-link:hover:nth-child(6n+1) {
    border-color: rgb(79, 179, 103); /* grüner Rahmen für Indexe teilbar durch 6 */
}

.image-link p {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    animation: rgbGlow 5s infinite;
}

.image-link p {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    animation: rgbGlow 5s infinite;
}

.image-linkv2 {
    display: inline-block;
    margin: 5px;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 5px 5px rgba(255, 255, 255, 0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-linkv2:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.0);
}


.image-linkv2 img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.image-linkv2:hover {
    border-color: rgb(186, 104, 200); 
}

.image-linkv2:hover:nth-child(3n+1) {
    border-color: rgb(70, 155, 175); 
}

.image-linkv2:hover:nth-child(4n+1) {
    border-color: rgb(255, 185, 0); 
}

.image-linkv2:hover:nth-child(5n+1) {
    border-color: rgb(255, 135, 60); 
}

.image-linkv2:hover:nth-child(6n+1) {
    border-color: rgb(79, 179, 103); 
}


.image-linkv2 p {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.0);
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    animation: rgbGlow 5s infinite;
}

.image-linkv2:hover p {
    animation: rgbGlow 1s infinite;
}

.custom-cursor {
    position: fixed;
    width: 30px;
    height: 30px;
    background: url('arrow.pmxd') no-repeat center center;
    background-size: contain;
    pointer-events: none;
    z-index: 1000;
    animation: cursorRGB 1s infinite;
}

@keyframes cursorRGB {
    0% {
        filter: hue-rotate(0deg);
    }
    100% {
        filter: hue-rotate(360deg);
    }
}
/*
.ads-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.ad-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #000000;
    color: white;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    transition: border-color 0.5s ease;
}

.ad-button:hover {
    background-color: #000000;
    animation: borderGlow 2s infinite;
}

.ad-button.loading::after {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}
*/
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
