body{
    font-family: 'Poppins', sans-serif;
    margin: 0;
    font-size: 15px;
    --color: #eee;
    color: var(--color);
    background-color: #23282E;
}

/* Global Elements */
footer{
    position: fixed;
    text-align: center;
    width: 100%;
    bottom: 15px;
    left: 0;
    margin: 0;
    z-index: 9999;
}
footer a {
    color: #483d8b;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}
footer a:hover {
    color: #5e50b6;
}

a{
    text-decoration: none;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}
::-webkit-scrollbar{
    width: 5px;
    height: 5px;
}
::-webkit-scrollbar-track {
    background: #16222D;
}
::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

header{
    width: 100%;
    position: fixed;
    z-index: 100;
    text-align: center;
    padding: 15px 0;
    background-color: rgba(35, 40, 46, 0.7);
    backdrop-filter: blur(5px);
}
header nav a{
    margin: 0 30px;
    color: var(--color);
    font-size: 16px;
    position: relative;
    padding: 5px 0;
}
header nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-image: linear-gradient(to right, #c67ad0, #e53c17);
    transition: width 0.3s ease;
}
header nav a:hover::after {
    width: 100%;
}

.tab{
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
    background-size: 50%;
}
.tab .container{
    width: 1140px;
    max-width: 100%;
    height: 100%;
    padding-top: 80px;
    box-sizing: border-box;
    margin: auto;
    position: relative;
}
.text-gradient{
    background-image: linear-gradient(
            to right, #c67ad0, #e53c17, #f0770a, #f4e640, #e1f18d, #a2e9d7, #a5e0f0
    );
    display: inline-block;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}

/* Video Background */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
#background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* Home Tab */
#home{
    z-index: 2;
}
#home .content{
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#home .title{
    font-size: 5em;
    font-weight: bold;
    display: block;
    margin-bottom: 20px;
}
#home .des{
    width: 600px;
    max-width: 80%;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.6;
}
#home .list{
    text-align: center;
    margin-top: 30px;
}
#home .list .item{
    display: inline-block;
    margin: 10px 30px;
    transition: transform 0.3s ease;
}
#home .list .item:hover {
    transform: translateY(-5px);
}
#home .list .item i {
    margin-right: 8px;
    color: #c67ad0;
}
#home .list .item a{
    color: #fff;
    text-decoration: none;
    font-weight: normal;
    transition: color 0.3s;
}
#home .list .item a:hover{
    color: #c67ad0;
    text-decoration: underline;
}

/* Services Preview */
.services-preview {
    margin: 20px 0;
    text-align: center;
    width: 80%;
}
.services-preview h2 {
    margin-bottom: 15px;
    font-size: 1.8em;
    background-image: linear-gradient(to right, #c67ad0, #e53c17);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.services-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}
.service-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
}
.service-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}
.service-item i {
    margin-right: 8px;
    color: #c67ad0;
}

/* Skills Tab (Services) */
.section-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    background-image: linear-gradient(to right, #c67ad0, #e53c17);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.services-grid.symmetrical {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.services-grid.symmetrical .row {
    display: flex;
    justify-content: center;
    gap: 30px;
}
.service-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex: 1;
    max-width: 450px;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}
.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #c67ad0, #e53c17);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}
.service-icon i {
    font-size: 2.5em;
    color: white;
}
.service-card h3 {
    margin: 15px 0;
    font-size: 1.5em;
}
.service-card p {
    color: #ddd;
    line-height: 1.6;
}

/* Experience Tab (Social Media) */
.social-content {
    text-align: center;
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.social-content p {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 10px;
    border-radius: 5px;
    margin: 20px 0;
}

.social-media-consent {
    margin: 30px 0;
}
.consent-button {
    background: linear-gradient(45deg, #c67ad0, #e53c17);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.consent-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-media-container {
    margin-top: 30px;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.hidden {
    display: none;
    opacity: 0;
}

.social-feed {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.social-embed {
    flex: 0 1 auto;
    max-width: 45%;
    min-width: 280px;
}

.social-embed iframe {
    max-width: 100%;
}

/* Media Queries */
@media screen and (max-width: 991px) {
    .services-grid.symmetrical .row {
        flex-direction: row;
    }
}

@media screen and (max-width: 767px) {
    .services-grid.symmetrical .row {
        flex-direction: column;
        align-items: center;
    }

    .service-card {
        width: 100%;
        max-width: 350px;
    }
}

/* Tab Transitions */
.tab{
    position: fixed;
    inset: 0 0 0 0;
    z-index: 1;
}
.tab.active{
    --x: 50%;
    --y: 50%;
    clip-path: circle(
            200% at var(--x) var(--y)
    );
    animation: showTab 1.5s ease-in-out 1;
}
@keyframes showTab{
    from{
        clip-path: circle(
                0% at var(--x) var(--y)
        );
    }
}

/* Media Queries */
@media screen and (max-width: 991px){
    /* ipad, tablets */
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 767px){
    body{
        font-size: 14px;
    }
    header nav a{
        margin: 0 10px;
        font-size: 14px;
    }
    #home .title {
        font-size: 3em;
    }
    .service-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
    .services-list {
        flex-direction: column;
    }
    .social-feed {
        flex-direction: column;
        align-items: center;
    }
    .social-feed iframe {
        max-width: 100%;
    }
}

@media screen and (max-width: 480px) {
    #home .title {
        font-size: 2.5em;
    }
    #home .list .item {
        margin: 10px;
    }
    .service-card {
        padding: 20px;
    }
}

@media screen and (max-width: 767px) {

    .services-grid.symmetrical .row {
        flex-direction: column;
        align-items: center;
    }

    .service-card {
        width: 100%;
        max-width: 350px;
    }
    
    /* Stattdessen: Verkleinere die Kästen und den Abstand zwischen ihnen */
    .services-grid.symmetrical .row {
        gap: 15px; /* Kleinerer Abstand zwischen den Karten */
    }

    .service-card {
        padding: 15px; /* Weniger Innenabstand */
        max-width: 100%; /* Volle Breite innerhalb des verfügbaren Platzes */
    }

    .service-icon {
        width: 60px; /* Kleineres Icon */
        height: 60px;
    }

    .service-icon i {
        font-size: 1.8em; /* Kleinere Iconschrift */
    }

    .service-card h3 {
        font-size: 1.2em; /* Kleinere Überschrift */
        margin: 10px 0;
    }

    .service-card p {
        font-size: 0.9em; /* Kleinere Textgröße */
    }
}

@media screen and (max-width: 480px) {
    .services-grid.symmetrical .row {
        gap: 10px;
    }

    .service-card {
        padding: 12px;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }

    .service-icon i {
        font-size: 1.5em;
    }
}