
.mainBox
{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #1d061a
}

.Mcontainer
{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 40px 0;
}
/**CARD BODY**/
.Mbox
{
    position: relative;
    width: 350px;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px;
    transition: 0.5s;
}

.Mbox::before
{
    content:' ';
    position: absolute;
    top: 0;
    width: 80%;
    height: 100%;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.37);
    border-radius: 8px;
    transform: skewX(0deg);
    transition: 0.5s;
}


.card_1
{
    .Mbox:before,
    .Mbox:after
    {
        background: linear-gradient(315deg, #ffbc00, #ff0058);
    }


}

.card_2
{
    .Mbox:before,
    .Mbox:after
    {
        background: linear-gradient(315deg, #03a9f4, #ff0058)
    }
}


.card_3
{
    .Mbox:before,
    .Mbox:after
    {
        background: linear-gradient(315deg, #4dff03, #00d0ff)
    }
}

.card_4
{
    .Mbox:before,
    .Mbox:after
    {
        background-image: linear-gradient(
                30deg,
                #03a9f4 0%,
                #ff0058 100%
        );
        background-size: auto auto;
        background-clip: border-box;
        background-size: 200% auto;
        color: #fff;
        background-clip: text;
        text-fill-color: transparent;
        animation: textclip-main 20s reverse infinite;
        font-size: 15px;
    }
}

.card_5
{
    .Mbox:before,
    .Mbox:after
    {
        background-image: linear-gradient(
                60deg,
                #131645 0%,
                #e5c285 100%
        );
        background-size: auto auto;
        background-clip: border-box;
        background-size: 200% auto;
        color: #fff;
        background-clip: text;
        text-fill-color: transparent;
        animation: textclip-main 20s reverse infinite;
        font-size: 15px;
    }
}

.card_6
{
    .Mbox:before,
    .Mbox:after
    {
        background-image: linear-gradient(
                30deg,
                #ffbc00 0%,
                #ff0058 100%
        );
        background-size: auto auto;
        background-clip: border-box;
        background-size: 200% auto;
        color: #fff;
        background-clip: text;
        text-fill-color: transparent;
        animation: textclip-main 20s reverse infinite;
        font-size: 15px;
    }
}


.card_7
{
    .Mbox:before,
    .Mbox:after
    {
        background-image: linear-gradient(
                30deg,
                #4dff03 0%,
                #00d0ff 100%
        );
        background-size: auto auto;
        background-clip: border-box;
        background-size: 200% auto;
        color: #fff;
        background-clip: text;
        text-fill-color: transparent;
        animation: textclip-main 20s reverse infinite;
        font-size: 15px;
    }
}
/**KEY FOR THE TRANSFORMATION**/

@keyframes textclip {
    to {
        background-position: 200% center;
    }
}

@keyframes textclip-main {
    to {
        background-position: 200% center;
    }
}


.spanning
{
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    pointer-events: none;
}


.spanning::before
{
    content:'';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: 0.1s;
    animation: animate 2s ease-in-out infinite;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08)
}




.Mbox:hover .spanning::before
{
    top: -50px;
    left: 50px;
    width: 100px;
    height: 100px;
    opacity: 1;
}


.spanning::after
{
    content:'';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: 0.5s;
    animation: animate 2s ease-in-out infinite;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    animation-delay: -1s;
}



@keyframes animate
{
    0%, 100%
    {
        transform: translateY(10px);
    }

    50%
    {
        transform: translate(-10px);
    }
}

.content
{
    position: relative;
    left: 0;
    padding: 80px 60px;
    background: rgba(255, 255, 255, 0%);
    backdrop-filter: blur(30px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    z-index: 1;
    transform: 0.5s;
    color: #fff;
}

.content:hover
{
    center: 25px;
    padding: 80px 60px;
}

.Fixh2
{
    font-size: calc(1rem + 0.4vw);
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: 2px;

}

.Fixp
{
    font-size: calc(1rem + 0.2vw);
    margin-bottom: 5px;
    line-height: 2.4em;
    color: #ffffff;
}

.Fixa
{
    display: inline-block;
    font-size: 1.1em;
    color: #111;
    background: rgba(245, 245, 245, 0.27);
    padding: 10px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 5px;
}



/**images in box**/


.center-image-gall
{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.5%;
    margin-bottom: 1.5%;
    position: relative;
}


.image-dim-gall
{
    display: block;
    height: auto;
    width: 80%;
    border-radius: 2%;
}

.text-overlay-gall
{
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white; /* Text color */
    padding: 10px; /* Adjust padding as needed */
    font-size: 18px;
}
.image-hilight-gall
{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgb(229, 194, 133, 0.5);
    overflow: hidden;
    width: 77%;
    height: 0;
    transition: .5s ease-in-out;
    border-radius: 2%;
    justify-content: center;
    align-items: center;
    margin-left: 11.5%;
}

.center-image-gall:hover .image-hilight-gall {
    height: 100%;
    justify-content: center;
}

.doty
{
    height: 15px;
    width: 15px;
    background-color: #ffc400;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.doty .dot-text {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}



.glass-background {
    width: 100%;
    font-weight: 900;
    height: 500px;
    letter-spacing: 10px;
    font-size: 7vw;
}
.glass-background-under {
    width: 100%;
    font-weight: 900;
    height: 500px;
    letter-spacing: 10px;
    font-size: 20px;
}

@supports (backdrop-filter: blur(12px)) {
    .visually-hidden {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .glass {
        backdrop-filter: blur(2px);
        background: rgba(255, 255, 255, 0.65);
        /* Assuming the clip-path URL is valid */
        clip-path: url(#lockup-headline-mask-path);
    }
}

.glow-card-titel{
    font-size: calc(1rem + 2vw);
    color: #e5c285;
    letter-spacing: 3px;
    margin-bottom: 6%;

}


@media screen and (min-width: 2200px)
{
    .content
    {
        position: relative;
        left: 0;
        padding: 80px 60px;
        background: rgba(255, 255, 255, 0%);
        backdrop-filter: blur(30px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        border-radius: 50px;
        z-index: 1;
        transform: 0.5s;
        color: #fff;
    }



}

@media screen and ( max-width: 1500px)
{
    .content
    {
        position: relative;
        left: 0;
        padding: 80px 60px;
        background: rgba(255, 255, 255, 0%);
        backdrop-filter: blur(30px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        border-radius: 50px;
        z-index: 1;
        transform: 0.5s;
        color: #fff;
    }
    .card-adjustment
    {
        padding: 1%;
    }

}




@media screen and (max-width: 500px)
{

    .Mbox
    {
        position: relative;
        width: 300px;
        height: 200px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: auto;

        margin-bottom: 30%;
        transition: 0.5s;
    }
    .Mbox::before
    {
        content:' ';
        position: absolute;
        top: 0;
        width: 80%;
        height: 100%;
        text-decoration: none;
        background: rgba(255, 255, 255, 0.37);
        border-radius: 8px;
        transform: skewX(0deg);
        transition: 0.5s;
    }

    .content
    {
        position: relative;
        left: 0;
        padding: 80px 60px;
        background: rgba(255, 255, 255, 0%);
        backdrop-filter: blur(30px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        border-radius: 50px;
        z-index: 1;
        transform: 0.5s;
        color: #fff;
    }


}