* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins', sans-serif;
}


body {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(0deg, #000000, #000000);
    position: relative;
    width: 100%;
    height: 100%;

}

.haupt {
    width: 100%;
    height: 100%;
}

.space1 {
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    height: 65%;
    display: flex;

}




.Pos {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border: solid 4px rgb(170, 255, 255);
    box-shadow: 0 0 30px rgb(170, 255, 255);
    width: 30%;
    height: 25%;
    margin-left: 35%;
    margin-top: 2%;
    overflow: hidden;
    border-radius: 5%;

}

.pos h1 {
    width: 100%;
    height: 100%;
    z-index: 1;
}

.Pos::before {

    content: '';
    position: absolute;
    width: 30%;
    height: 350%;
    background: linear-gradient(rgb(0, 248, 173), rgb(134, 243, 255));
    box-shadow: rgb(0, 248, 173);
    animation: animate 4s linear infinite;
}

.pos::after {
    content: '';
    position: absolute;
    inset: 4px;
    background: #000000;
    backdrop-filter: blur(50px);
    border-radius: 5%;

}

@keyframes animate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}




.Tittel {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;

}


.Tittel p {
    color: rgb(168, 255, 224);
    display: flex;
    justify-content: center;
    font-size: 30px;

}

.Tittel span {
    color: rgb(164, 222, 255);
    display: flex;
    justify-content: center;
    margin-bottom: 5%;
    font-size: 50px;


}

.menu {
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 350px;
    height: 350px;
    display: flex;

}

/*.space{
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 400px;
    height: 400px;
    display: flex;

}*/




.menu li {
    position: absolute;
    left: 0;
    list-style: none;
    transform-origin: 175px;
    transition: 0.5s;
    transition-delay: calc(0.1s * var(--i));
    transform: rotate(0deg) translateX(155px);

}

.menu.active li {


    transform: rotate(calc(360deg / -8* var(--i)));
}

/*.space p {
    position: absolute;
    left: 0;
    list-style: none;
    transform-origin: 200px;
    transition: 0.5s;
    transition-delay: calc(0.1s * var(--i));
    transform: rotate(0deg) translateX(180px);
    
}*/



.menu.active li {

    transform: rotate(calc(360deg / 8* var(--i)));

}

/*.space.active p{

    transform: rotate(calc(360deg / 8* var(--i))); 

}*/


.menu li a {
    text-decoration: none;



}

.menu.active li a {
    text-decoration: none;


}



.menu li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgb(250, 249, 249);
    border-radius: 50%;
    transform: rotate(calc(360deg / -8* var(--i)));
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.15);
    color: hsl(0, 0%, 0%);
    transition: 0.5s;
    text-decoration: none;
}

.menu li a span {
    display: flex;
    position: absolute;
    justify-content: center;
    align-items: center;
    color: hsl(0, 0%, 0%);
}



.menu li a p {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0%;
    transform: rotate(calc(360deg / -8* var(--i)));
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0);
    color: hsl(0, 0%, 100%);
    background: rgb(0, 0, 0);
    transition: 0.5s;
    text-decoration: none;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.menu li a p::before {
    content: '';
    position: absolute;
    transform: translateY(-60px);


}

/*.space p a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 40px;
    background: rgb(250, 249, 249);
    border-radius: 30%;
    transform: rotate(calc(360deg / -8* var(--i))); 
    box-shadow: 0 3px 4px rgba(0, 0, 0,0.15);
    color: hsl(0, 0%, 0%);
    transition: 0.5s;
    text-decoration: none;
}*/




.menu.active li a:hover {

    color: #000000;
    width: 60px;
    height: 60px;
    box-shadow: 0 0 30px var(--clr);
    border-radius: 50%;
    transform: rotate(calc(360deg / -8* var(--i)));
    background: var(--clr);
    justify-content: center;
    align-items: center;

}

/*.info{
    position: absolute;
    transform: translateX(-50px);
    background-color: #000000;
    color: #fff;
    white-space: nowrap;
    border-radius: 10%;
}*/

.menu.active li a:hover span {

    color: #000000;
    justify-content: flex-end;
    align-items: flex-end;
    font-size: 1.8em;

}

.menu.active li a:hover p {
    color: #ffffff;
    justify-content: flex-start;
    align-items: flex-start;
    font-size: 1.0em;
    transform: rotate(calc(0deg / -8* var(--i)));
    visibility: visible;
    opacity: 1;
    transform: translateY(-50px);

}

/*.space.active p a:hover{

    color:#000000;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 40px;
    border: 2px solid var(--clr);
    box-shadow: 0 0 30px var(--clr);
    border-radius: 30%;
    font-size: 1.5em;
    transform: rotate(calc(360deg / -8* var(--i))); 
    background: var(--clr);

}*/



.toggle {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgb(247, 245, 245);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
    font-size: 2em;
    transition: transform 1.25s;
}

.toggle:hover {
    color: rgb(0, 0, 0);
    box-shadow: #333;
    width: 70px;
    height: 70px;
    border: 2px solid var(--clr);
    box-shadow: 0 0 30px var(--clr);
    border-radius: 50%;
    font-size: 1.5em;
    background: var(--clr);

}

.menu.active .toggle {
    transform: rotate(315deg);
}

.links {
    display: flex;
    justify-content: left;
    align-items: center;
}

.recht {
    display: flex;
    justify-content: right;
    align-items: center;
}

.mitte {
    display: flex;
    justify-content: center;
    align-items: center;
}

#video_background {
    position: absolute;
    margin: 0;
    padding: 0;
    left: 0;
    top: 0;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;

}

/*.hero{
    width: 100%;
    height: 100%;
    position: relative;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}*/


@media screen and (max-width: 350px) {
    .menu {
        width: 180px;
        height: 180px;
    }

    .menu li {
        transform-origin: 90px;
        transform: rotate(0deg) translateX(75px);
    }

    .menu li a {
        width: 35px;
        height: 35px;
    }

    .menu li a:hover {
        width: 45px;
        height: 45px;
    }

    .toggle {
        width: 45px;
        height: 45px;
    }

    .toggle:hover {
        width: 55px;
        height: 55px;
    }
}


.texto {
    color: rgb(255, 255, 255);
    width: 255px;

}


.texto2 {
    color: rgb(128, 230, 230);
    width: 255px;

}

.up {
    padding-bottom: 200%;
}


@media screen and (max-width: 1180px) {


    .Pos {
        width: 40%;
        height: 25%;
        margin-left: 30%;

    }



}


@media screen and (max-width: 920px) {


    .Pos {
        width: 50%;
        height: 25%;
        margin-left: 25%;

    }



}

@media screen and (max-width: 660px) {


    .Pos {
        width: 60%;
        height: 25%;
        margin-left: 20%;

    }



}

@media screen and (max-width: 540px) {


    .Pos {
        width: 80%;
        height: 25%;
        margin-left: 10%;

    }



}

@media screen and (max-width: 430px) {


    .Pos {
        width: 80%;
        height: 25%;
        margin-left: 10%;

    }

    .Tittel p {
        font-size: 20px;

    }

    .Tittel span {

        font-size: 30px;


    }

}


@media screen and (max-width: 270px) {


    .Pos {
        width: 90%;
        height: 25%;
        margin-left: 5%;

    }

    .Tittel p {
        font-size: 15px;

    }

    .Tittel span {

        font-size: 25px;


    }

}