*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
    scroll-behavior: smooth;

}



body{
    background: #0C0D10;
    color: #FFFFFF;
}
/*
#header{
    width: 100%;
    height: 100vh;
    background-image: url(Images/bild-removebg-preview.png) ;
    background-size: 50%;
    background-position: right;

}
*/
.container{
    padding: 10px 10%;
}

.navi{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.logo{
    width: 100px;
}
.navi ul li{
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}
.navi ul li a{
    color: #FFFFFF;
    text-decoration: none;
     font-size: 18px;
     position: relative;
}
.navi ul li a::after{
    content: '';
    width: 0;
    height: 3px;
    background: blueviolet;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}
.navi ul li a:hover::after{
    width: 100%;
}
.center-text {
    position: relative;
    margin-top: 20%;
    font-size: 30px;
}
.center-text h1{
    font-size: 60px;
}
.center-text h1 span{
    color: blueviolet;
}
.center-img{
    position: relative;
    display: flex; /*flex*/
    width: 350px;
    border-radius: 15px;
    opacity: 0.7;
}
.center-img::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("Images/bild-removebg-preview.png");
    background-size: cover;
    opacity: 0.5; 
    filter: blur(50px);
    z-index: -1; 
  }
  
.header-text span{
    color: blueviolet ;
}
#centeri {
    height: 600px;
    width: 100%;
    position: relative
 }
 
 #centeri div {
    position: absolute
 }
 #centeri div:first-child {
    top: 50px;
    left: 20px;
    z-index: 0;
 }
 #centeri div:last-child {
    top: 50px;
    right: 20px;
 }


/*-------------navbar------------*/

.navigation_container {
    position: relative;
    height: 0;
    pointer-events: none;
    margin-top: -100px
}

@media(min-width: 43.75rem) {
    .navigation_container {
        margin-top:-150px
    }
}

@media screen and (max-width: 833px)and (orientation: landscape) {
    .navigation_container {
        margin-top:-50px
    }
}

.navigation_sticky-wrapper {
    top: 0;
    left: 0;
    width: 100%;
    position: absolute
    
}



.navigation {
    position: sticky;
    display: flex;
    justify-content: center;
    height: 3.25rem;
    width: 100%;
    top: calc(100dvh - 6.25rem);
    z-index: 51;
    padding: 0 2.25rem;
    pointer-events: auto
}

@media(min-width: 43.75rem) {
    .navigation {
        top:1.625rem;
        transition: top .25s ease-out
    }

    .navigation.scroll-up {
        top: 5.625rem
    }

    .navigation.scroll-down {
        top: 1.625rem
    }
}

.navigation li:focus-within:has(:focus-visible) {
    transition: none;
    opacity: 1
    
    
}

.navigation a:focus-visible {
    outline: none;
    border-bottom: 2px solid #fff; 
    text-underline-offset: 2px;
    text-decoration-thickness: .5px;
    opacity: 1
    
}

.navigation_manager {
    width: inherit;
    display: flex;
    justify-content: center;
    position: relative
    
}

@media(min-width: 43.75rem) {
    .navigation_manager {
        width:-moz-fit-content;
        width: fit-content;
    }
}

.navigation_link-wrapper {
    display: flex;
    align-items: center;
    -moz-column-gap: 2.5rem;
    column-gap: 2.5rem;
    width: 100%;
    flex-wrap: nowrap;
    border-radius: 12.5rem;
    height: 100%;
    max-height: 100%;
    list-style: none;
    margin: 0;
    padding: 0 1.625rem;
    border: 1px solid rgba(255,255,255,.05);
    background-color: #464344;
    -ms-overflow-style: none;
    scrollbar-width: none
    
}

.navigation_link-wrapper::-webkit-scrollbar {
    display: none
}

@media(min-width: 43.75rem) {
    .navigation_link-wrapper {
        width:-moz-fit-content;
        width: fit-content
    }
}

.navigation_link {
    scroll-snap-align: center;
    transition: opacity calc(.7s*var(--motion)) ease-out
}

.navigation_link:not(.navigation_selected) {
    opacity: .3
}

.navigation_link,.navigation_link>a {
    color: #fff;
    font-family: Google Sans Display,sans-serif;
    font-size: .9375rem;
    font-style: normal;
    font-weight: 400;
    line-height: 160%;
    letter-spacing: .3px;
    white-space: nowrap;
    text-decoration: none
}

.navigation_selected {
    opacity: 1
}

.navigation_link.navigation_selected:target{
    opacity: 1
}


.navigation_mobile-spacer-wrapper {
    visibility: hidden
}

@media(min-width: 43.75rem) {
    .navigation_mobile-spacer-wrapper {
        display:none
    }
}

.navigation_mobile-spacer {
    display: block
}




/*-------------about------------*/

#about{
    padding-top: 200px;
    padding-bottom: 50px;
}
.row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.about-col-1{
    flex-basis: 35%;

}
.about-col-1 img{
    width: 100%;
    border-radius: 15px;

}

.about-col-2{
    flex-basis: 60%;
}
.sub-title{
    font-size: 40px;
    font-weight: 600;
    color: white;
}
.tab-titles{
    display: flex;
    margin: 20px 0 40px;
}
.tab-links{
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}
.tab-links::after{
    content: '';
    width: 0;
    height: 3px;
    background: blueviolet;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}

.tab-links.active-link::after{
    width: 50%;
}

.tab-contents ul li{
    list-style: none;
    margin: 10px 0px;
}
.tab-contents ul li span{
    color: rgb(151, 102, 197);
    font-size: 14px;
}
.tab-contents{
    display: none;
}
.tab-contents.active-tab{
    display: block;
}
/*-------------projects------------*/

#projects{
    padding:  50px 0;
}


.list-of-projects {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(400px,1fr));
    grid-gap: 20px;
    margin-top: 50px;
    
} 

.I-project{
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.I-project-wrap {
    width: auto;
    height: 100%;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    background-color: rgba(204,220,255,.12);
    border: 10px solid rgba(255,255,255,0);
    border-radius: 10px;
    flex-direction: column;
    padding: 10px;
    display: flex
}
.home-cases-info {
    width: 100%;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    color: #fff;
    background-color: rgba(255,255,255,.05);
    border-radius: .5rem;
    flex-direction: column;
    padding: 1.125rem 1.25rem;
    display: flex
    
}
.I-project-img {
    width: 100%;
    height: 250px; /* feste Höhe für alle Karten */
    overflow: hidden;
    border-radius: 10px;
}

.home-cases_image {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* WICHTIG */
    display: block;
    object-fit: contain;
    background-color: rgba(255,255,255,0); /* optional für leere Ränder */
}

.I-project-inf{
    text-decoration: none;
}

/*-------------Contact------------*/
#contact{
    padding: auto;
    margin-top: 200px;
}
.contact-left{
    flex-basis: 35%;
}
.contact-right{
    flex-basis: 60%;
}
.contact-left p{
    margin-top: 30px;
    font-size: 18px;
}
.contact-left p i{
    color: blueviolet;
    margin-right: 15px;
    font-size: 25px;
}
.social-icons{
    margin-top: 30px;
}

.social-icons a{
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    color: blueviolet;
    display: inline-block;
    transition: transform 0.5s;
}
.social-icons a:hover{
    color: whitesmoke;
    transform: translateY(-5px);
}
.btn{
    display: block;
    margin: 50px auto;
    width: fit-content;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: white;
    transition: background 0.5s;
}
.btn:hover{
    background: blueviolet;
}
.btn.btn2{
    display: inline-block;
    background: blueviolet;
}

.contact-right form{
    width: 100%;
}
form input, form textarea{
    width: 100%;
    border: 0;
    outline: none;
    background: #464344;
    padding: 15px;
    margin: 15px 0;
    color: white;
    font-size: 18px;
    border-radius: 6px;
}


form .btn2{
    padding: 14px 60px;
    font-size: 18px;
    margin-top: 20px;
    cursor: pointer;
}

#msg{
    color: blueviolet;
    margin-top: -40px;
    display: block;
}

/*-----------------css for small screen---------*/
.fa-solid.fa-bars{
    display: none;
}
.fa-regular.fa-circle-xmark{
    display: none;
}
@media only screen and (max-width: 600px){
    
    .navigation_container {
        z-index: 0;
        margin-top:-50px
        
    }
    .navigation {
        top:1.625rem;
        transition: top .25s ease-out
    }

    .navigation.scroll-up {
        top: 5.625rem
    }

    .navigation.scroll-down {
        top: 1.625rem
    }
    .navigation_manager {
        width: fit-content;
        width: -moz-fit-content;
    }
    .navigation_link-wrapper {
        padding: 10px;
        width:-moz-fit-content;
        width: fit-content
    }
    .navigation_mobile-spacer-wrapper {
        display:none
    }
    .center-img{
        width: 150px;
    }
    .center-text h1{
        font-size: 30px;
        max-width: 150px;
    }
    
    .fa-solid.fa-bars{
        display: block;
        font-size: 25px;
    }
    .fa-regular.fa-circle-xmark{
        display: block;
        font-size: 25px;
    }
    .navi ul{
        background: blueviolet;
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 50px;
        z-index: 1;
        transition: right 0.5s;
    }
    .navi ul li{
        display: block;
        margin: 25px;
    }

    .navi ul .fa-solid.fa-bars{
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }
    .navi ul .fa-regular.fa-circle-xmark{
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }
    .sub-title{
        font-size: 40px;
    }
    .about-col-1, .about-col-2{
        flex-basis: 100%;
    }
    .about-col-1{
        margin-bottom: 30px;
    }
    .about-col-2{
        font-size: 14px;
    }
    .tab-links{
        font-size: 16px;
        margin-right: 20px; 
    }
    .I-project{
        padding: 5px;
    }
    .list-of-projects {
        display: grid;
        grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
        grid-gap: 20px;
        margin-top: 50px;
        
    }
    .contact-left, .contact-right{
        flex-basis: 100%;
    }

}
