* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: black;
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: none;
}

.custom-cursor {
    position: fixed;
    width: 80px;
    /* Größe des Sterns */
    height: 80px;
    background-color: transparent;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%,
            68% 57%, 79% 91%, 50% 70%,
            21% 91%, 32% 57%, 2% 35%, 39% 35%);
    /* Sternform */
    background-color: #FF0080;
    /* Knallpink */
    pointer-events: none;
    /* Verhindert, dass der Cursor Elemente blockiert */
    transform: translate(-6000%, -1000%) rotate(0deg);
    transition: transform 0.01s ease-out;
    /* Sanfte Übergänge */
    z-index: 10000;
    /* Über alles legen */
}

.text-style:hover {
    color: #FF0080;
}

.containerparent {
    display: grid;
    grid-template-columns: repeat(22, 1fr);
    grid-template-rows: repeat(6, 1fr);
    gap: 0;
    height: 100%;
    width: 100%;
}

/* Einheitliche Standard-Schriftklasse */
.text-style {
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-size: 6.7vw;
    color: white;
    display: flex;
    align-items: center;
    white-space: normal;
    overflow: hidden;
    word-wrap: break-word;
    padding: 10px;
    overflow: visible;

}

/* Links ausgerichteter Text */
.text-left-style {
    justify-content: fleAx-start;
    text-align: left;
    padding-left: 20px;
}

/* Vertikal gedrehter Text nach rechts (90°) */
.text-vertical-style {
    transform: rotate(90deg);
    transform-origin: center;
    white-space: nowrap;
}

/* Vertikal gedrehter Text nach links (-90°) */
.text-vertical-style-left {
    transform: rotate(-90deg);
    transform-origin: center;
    white-space: nowrap;
}

.child1 {
    grid-column: 1/12;
    grid-row: 1/2;
    border-bottom: 2px solid white;
}

.child2 {
    grid-column: 1/12;
    grid-row: 2/3;
    border-bottom: 2px solid white;
    background-color: black;
    z-index: 5;
}

.childworkin2 {
    grid-column: 8/10;
    grid-row: 3/7;
    border-left: 2px solid white;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    position: relative;
    z-index: 2;
    /* Niedrigste Ebene */
}

.childworkin {
    grid-column: 9/11;
    grid-row: 3/7;
    border-left: 2px solid white;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    position: relative;
    z-index: 3;
    /* Höhere Ebene, überdeckt Pink */
}

.child6 {
    grid-column: 10/12;
    grid-row: 3/7;
    border-left: 2px solid white;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    position: relative;
    z-index: 4;
    /* Höchste Ebene, überdeckt Blau */
}

.childspace {
    grid-column: 10/12;
    grid-row: 2/3;
    border-left: 2px solid white;
    display: flex;
    justify-content: center;
    align-items: center;

}

.child7 {
    grid-column: 12/23;
    grid-row: 6/7;
    border-top: 2px solid white;
    border-left: 2px solid white;
    justify-content: flex-end;
    padding-right: 20px;
    background-color: black;
    z-index: 5;
}

.child8 {
    grid-column: 12/14;
    grid-row: 1/6;
    border-left: 2px solid white;
    border-right: 2px solid white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    background-color: black;
    z-index: 3;
}

.child8progress {
    grid-column: 14/16;
    grid-row: 1/6;
    border-left: 2px solid white;
    border-right: 2px solid white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    background-color: black;
    z-index: 1;
}

.child8progress2 {
    grid-column: 13/15;
    grid-row: 1/6;
    border-left: 2px solid white;
    border-right: 2px solid white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    background-color: black;
    z-index: 2;
}

.childspace2 {
    grid-column: 12/14;
    grid-row: 6/7;
    border-left: 2px solid white;
    border-right: 2px solid white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;

}

.animated {
    animation: pulse 2s infinite alternate ease-in-out;
}

@keyframes pulse {
    0% {
        transform: translateX(-16px);
    }

    100% {
        transform: translateX(5px);
    }
}

.animated2 {
    animation: pulse2 5s infinite alternate ease-in-out;
}

@keyframes pulse2 {
    0% {
        transform: translateX(-5px);
    }

    100% {
        transform: translateX(28px);
    }
}





.animatedleft {
    animation: pulseleft 3s infinite alternate ease-in-out;
}

@keyframes pulseleft {
    0% {
        transform: translateX(5px);
    }

    100% {
        transform: translateX(-5px);
    }
}

.animatedleft2 {
    animation: pulseleft2 4s infinite alternate ease-in-out;
}

@keyframes pulseleft2 {
    0% {
        transform: translateX(5px);
    }

    100% {
        transform: translateX(-25px);
    }
}


@media (max-width: 768px) {
    .containerparent {
        display: grid;
        grid-template-columns: repeat(22, 1fr);
        grid-template-rows: repeat(6, 1fr);
        gap: 0;
        height: 100%;
        width: 100%;
    }

    .childworkin2 .text-style,
    .childworkin .text-style,
    .child6 .text-style {
        font-size: 14vw;
        /* Größere Schriftgröße für "WORK IN" */
    }

    .child8progress2 .text-style,
    .child8progress .text-style,
    .child8 .text-style {
        font-size: 14vw;
        /* Größere Schriftgröße für "PROGRESS" */
    }

    /* Einheitliche Standard-Schriftklasse */
    .text-style {
        font-family: "Roboto", sans-serif;
        font-weight: 700;
        font-size: 9.5vw;
        color: white;
        display: flex;
        align-items: center;
        white-space: normal;
        overflow: hidden;
        word-wrap: break-word;
        padding: 3px;
        overflow: visible;
    }

    /* Links ausgerichteter Text */
    .text-left-style {
        justify-content: fleAx-start;
        text-align: center;
        padding-left: 20px;

    }

    /* Vertikal gedrehter Text nach rechts (90°) */
    .text-vertical-style {
        transform: rotate(90deg);
        transform-origin: center;
        white-space: nowrap;

    }

    /* Vertikal gedrehter Text nach links (-90°) */
    .text-vertical-style-left {
        transform: rotate(-90deg);
        transform-origin: center;
        white-space: nowrap;
    }

    .child1 {
        grid-column: 1/23;
        grid-row: 1/2;
        border-bottom: 2px solid white;
        background-color: black;
        z-index: 10;
        text-align: right;
    }

    .child2 {
        grid-column: 1/14;
        grid-row: 6/7;
        border-right: 2px solid white;
        border-bottom: 0px solid white;
        border-top: 2px solid white;
        background-color: black;
        z-index: 5;
    }

    .childworkin2 {
        grid-column: 4/7;
        grid-row: 2/5;
        border-left: 2 px solid white;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: black;
        position: relative;
        z-index: 2;
        /* Niedrigste Ebene */
    }

    .childworkin {
        grid-column: 6/10;
        grid-row: 2/5;
        border-left: 2px solid white;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: black;
        position: relative;
        z-index: 3;
        /* Höhere Ebene, überdeckt Pink */
    }

    .child6 {
        grid-column: 8/12;
        grid-row: 2/5;
        border-left: px solid white;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: black;
        position: relative;
        z-index: 4;
        /* Höchste Ebene, überdeckt Blau */
    }

    .childspace {
        grid-column: 10/12;
        grid-row: 2/3;
        border-left: 2px solid white;
        display: flex;
        justify-content: center;
        align-items: center;

    }

    .child7 {
        grid-column: 12/23;
        grid-row: 2/3;
        border-top: 0px solid white;
        border-bottom: 2px solid white;
        border-left: 2px solid white;
        justify-content: flex-start;
        padding-left: 20px;
        background-color: black;
        z-index: 5;
    }

    .child8 {
        grid-column: 12/16;
        grid-row: 3/6;
        border-left: 2px solid white;
        border-right: 2px solid white;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        background-color: black;
        z-index: 3;
    }

    .child8progress {
        grid-column: 16/20;
        grid-row: 3/6;
        border-left: 2px solid white;
        border-right: 2px solid white;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        background-color: black;
        z-index: 1;
    }

    .child8progress2 {
        grid-column: 14/18;
        grid-row: 3/6;
        border-left: 2px solid white;
        border-right: 2px solid white;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        background-color: black;
        z-index: 2;
    }

    .childspace2 {
        grid-column: 12/14;
        grid-row: 6/7;
        border-left: 2px solid white;
        border-right: 2px solid white;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;

    }

    .emptyunten {
        grid-column: 14/23;
        grid-row: 6/7;
        border-top: 2px solid white;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        background-color: black;
        z-index: 20;

    }

    .emptylinks {
        grid-column: 1/12;
        grid-row: 5/6;
        border-top: 2px solid white;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        z-index: 11;


    }
}