
body {
    font-family: 'Inter', -apple-system, sans-serif;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    color: #333;
    background-color: #fafafa;
}

h1, h2, h3, p, a {
    margin: 0;
    padding: 0;
}

a {
    color: #007bff;          
    text-decoration: none;  
    transition: color 0.3s ease; 
}

a:hover {
    text-decoration: underline;
    color: #0056b3;   
}

.spacer {
    margin-bottom: 10px; 
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.header-info {
    display: flex;
    flex-direction: column;
}

.social-nav {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap; 
}

.social-nav a {
    background-color: #007bff; 
    color: white;
    padding: 5px 12px;
    border-radius: 15px; 
    font-size: 0.8rem;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-nav a:hover {
    background-color: #0056b3;
    color: white;
    text-decoration: underline;  
}

.header-info h1 {
    font-size: 2.5rem;
}

.job-title {
    color: #666;
    font-size: 1.2rem;
}

.header-profile {
    text-align: right;
}

.round-image {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.section-container {
    margin-bottom: 30px;
}

.section-title {
    background-color: #484848;
    color: white;
    padding: 7px 25px;
    border-radius: 25px; 
    font-weight: bold;
    margin-bottom: 30px;
    width: 100%;       
    box-sizing: border-box;
}

.entries-container {
    padding-left: 30px; 
    padding-right: 30px;
}

.entry-2-col {
    display: flex;
    gap: 30px; 
    margin-bottom: 20px;
}

.entry-label {
    flex: 0 0 120px; 
    font-weight: bold;
    color: #4b4b4b;
    font-size: 0.85rem;
    letter-spacing: 1px;
    padding-left: 10px;
}

.project-label {
    flex: 0 0 190px; 
    font-weight: bold;
    color: #4b4b4b;
    font-size: 0.85rem;
    letter-spacing: 1px;
    padding-left: 10px;
}

.label-subtitle {
  font-style: italic;
  color: #666;
}


.entry-content {
    flex: 1;
    text-align: justify;    
    hyphens: auto;          
    word-break: break-word; 
}

.entry-1-col {
    width: 100%;
    text-align: justify;   
    hyphens: auto;         
    word-break: break-word; 
    margin-bottom: 20px;
}

@media (max-width: 600px) {
    .main-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .header-info {
        order: 1; /* Der Text kommt zuerst */
    }

    .header-profile {
        order: 0; /* Das Bild rutscht ganz nach oben */
        margin-bottom: 20px;
    }

    .social-nav {
        justify-content: center; 
        order: 2; /* Die Links rutschen unter alles andere */
        margin-top: 20px;
    }

    .entries-container {
        padding-left: 0; 
        padding-right: 0;
    }

    .entry-2-col {
        flex-direction: column;
        gap: 10px;
    }

    .entry-label {
        flex: none;
        width: 100%;
        text-align: center;
        padding-left: 0;
    }

    .project-label {
        flex: none;
        width: 100%;
        text-align: center;
        padding-left: 0;
    }
}