/* Allgemeine Stile */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f4f4f4;
    color: #333;
    text-align: left;
    padding: 40px;
    margin-top: 4rem;
}

.container{
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.left-content {
    max-width: 800px;
    margin-left: 20rem;
}


header {
    margin-bottom: 20px;
}

h1 {
    font-size: 3rem; 
    color: #222;
    font-weight: bold;
    margin-bottom: 1rem; 
}

h2 {
    font-size: 2.5rem; 
    color: #444;
    font-weight: bold;
    margin-bottom: 1rem;
}

h3 {
    font-size: 2rem; 
    color: #666;
    font-weight: bold;
    margin-bottom: 2rem;
}

strong {
    font-weight: bold;
    color: #222;
}

/* Beschreibung */
p {
    font-size: 1.2rem; 
    max-width: 800px;
    margin-top: 20px;
    line-height: 1.8; 
    color: #555;
    text-align: justify;
}


.social-box {
    margin-top: 40px;
    width: fit-content;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    display: inline-block;
    transition: transform 0.3s ease-in-out;
    border: 2px solid black; 
    font-size: 2rem;
    border-radius: 10px;
    padding: 10px 0px 0px 20px;
    width: 5rem;
    height: 4rem;
    color: #000;
}



/* Hover-Effekt für Abdunkelung */
.social-icons a:hover {
    background: #000; 
    color: white;
}

.social-icons a:hover img {
    filter: brightness(100%) invert(1); /* Heller beim Hover */
    transform: scale(1.1);
}

.right-content {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}
/* Illustration */
.illustration {
    width: 70%;
    max-width: 400px;
    
    display: block;
    margin-left: auto; /* Schiebt das Bild nach rechts */
    margin-right: 0;
}

.skills-section {
    max-width: 1200px;
    margin: 50px auto;
    padding: 50px 20px;
    text-align: center;
  
}

.skills-section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.skill-category {
    margin-bottom: 40px;
}

.skill-category h3 {
    font-size: 1.8rem;
    text-align: left;
    margin-bottom: 20px;
}

/* Grid für die Skills */
.skill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

/* Skill-Karten */
.skill-card {
    background: white;
    border: 2px solid black;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    transition: 0.3s ease-in-out;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 120px;
}

/* Icons in den Skill-Karten */
.skill-card i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #222;
}

/* Text in den Skill-Karten (überschreibt globales p { text-align: justify } ) */
.skill-card p {
    max-width: none;
    margin-top: 0;
    font-size: 1rem;
    line-height: 1.3;
    text-align: center;
    color: inherit;
    word-break: keep-all;
}

/* Hover-Effekt */
.skill-card:hover {
    background: black;
    color: white;
    transform: scale(1.05);
}

.skill-card:hover i {
    color: white;
}

/* Spezielle Klasse für Basic-Skills */
.skill-card.basic {
    opacity: 0.7;
    font-weight: normal;
}

.skill-card.basic:hover {
    opacity: 1;
}
/* Allgemeine Stile für die Experience-Sektion */
.experience-section {
    margin-top: 10rem;
    padding: 50px 20px;
    text-align: left;
}

.experience-section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
}

.experience-section strong {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
}

/* Erfahrungskarten */
.experience-card {
    background: white;
    color: black;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out, color 0.3s;
}

.experience-card:hover {
    transform: scale(1.02);
    background-color: black;
    color: white;
}

/* Icon für Firmenlogos */
.experience-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 20px;
    transition: color 0.3s ease-in-out;
}

.experience-icon i {
    color: black;
    transition: color 0.3s ease-in-out;
}

/* Erfahrungstitel und Zeit */
.experience-details {
    flex: 1;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.experience-header h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: black;
    transition: color 0.3s ease-in-out;
}

.experience-date {
    font-size: 1rem;
    color: black;
    transition: color 0.3s ease-in-out;
}

/* Highlights (Aufzählung) */
.experience-highlights {
    margin-top: 10px;
    padding-left: 20px;
    color: black;
    transition: color 0.3s ease-in-out;
}

.experience-highlights li {
    font-size: 1.1rem;
    margin-bottom: 5px;
    transition: color 0.3s ease-in-out;
}

/* Hover-Effekte */
.experience-card:hover .experience-header h3,
.experience-card:hover .experience-date,
.experience-card:hover .experience-highlights,
.experience-card:hover .experience-highlights li,
.experience-card:hover .experience-icon i {
    color: white;
}


/* Allgemeine Stile für die Education-Sektion */
.education-section {
    margin: 50px auto;
    padding: 50px 20px;
    text-align: left;
    background-color: #000;
}

.education-section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    color: white;
}

.education-section strong {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    color: white;
}

/* Ausbildungskarten */
.education-card {
    background: #1e1e1e;
    color: #fff;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.education-card:hover {
    transform: scale(1.02);
    background-color: #666;
}

/* Icon für Bildungseinrichtungen */
.education-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 20px;
}

.education-icon i {
    color: white;
}

/* Ausbildungstitel und Zeitraum */
.education-details {
    flex: 1;
}

.education-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.education-header h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.education-date {
    font-size: 1rem;
    color: #ccc;
}

/* Highlights (Aufzählung) */
.education-highlights {
    margin-top: 10px;
    padding-left: 20px;
}

.education-highlights li {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #ddd;
}

/* Allgemeine Stile für die Projects-Sektion */
.projects-section {
    background-color: #000;
    margin: 50px auto;
    padding: 50px 20px;
    text-align: left;
}

.projects-section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    color: white;
}

.projects-section strong {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    color: white;
}

/* Projektkarten */
.project-card {
    background: #1e1e1e;
    color: #fff;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
    overflow-wrap: anywhere;
}

.project-card:hover {
    transform: scale(1.02);
    background-color: #666;
}

.project-image {
    width: 40%;
    border-radius: 10px;
    overflow-wrap: anywhere !important;
}

.project-image img {
    width: 100%;
    display: block;
    object-fit: cover;
}

/* Projektdetails */
.project-details {
    flex: 1;
    padding: 20px;
}

.project-details h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: white;
}

.project-details p {
    font-size: 1.1rem;
    color: #ddd;
    margin-bottom: 10px;
}

/* Technologien als Badges */
.project-tech {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.tech-badge {
    background: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
}

/* Link zum Projekt */
.project-link {
    color: #ffcc00;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.project-link i {
    font-size: 1.2rem;
}

html {
    scroll-behavior: smooth; /* Sanftes Scrollen aktivieren */
}

/* Navigation Styling */
nav {
    background: black;
    padding: 15px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 10px 15px;
    transition: color 0.3s ease-in-out;
}

.nav-links a:hover {
    color: #ffcc00;
}


@media (max-width: 1200px) {
    .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .left-content {
        margin-left: 0;
        max-width: 100%;
    }
    
    .illustration {
        width: 50%;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .skill-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

@media (max-width: 768px) {
    nav {
        padding: 10px;
    }
    
    .nav-links {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }
    
    .nav-links a {
        font-size: 1rem;
        padding: 8px 12px;
    }
    body {
        padding: 20px;
    }

    .container {
        flex-direction: column;
        text-align: center;
    }
    
    .left-content {
        max-width: 100%;
        margin: 0;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .illustration {
        width: 80%;
    }
    
    .experience-card, .education-card, .project-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .experience-header, .education-header {
        flex-direction: column;
        align-items: center;
    }
    
    .experience-icon, .education-icon {
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    p {
        font-size: 1rem;
    }
    
    .social-icons {
        gap: 10px;
    }
    
    .social-icons a {
        font-size: 1.5rem;
        width: 4rem;
        height: 3rem;
    }
    
    .skill-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
    
    .illustration {
        width: 100%;
    }
}
