/* Styles for falk-beste.com */

:root {
    --primary-color: #AAAAAA;
    --secondary-color: #555555;
    --background-color: #F8F8F8;
    --text-color: #333333;
    --container-bg: #FFFFFF;
    --light-gray: #e0e0e0;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
}

.container {
    width: 90%;
    max-width: 960px;
    margin: 0 auto;
    padding: 20px 0;
}

header {
    background: var(--primary-color);
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid var(--secondary-color);
    margin-bottom: 20px;
    object-fit: cover; /* <-- Hinzugefügt: Stellt sicher, dass das Bild nicht verzerrt wird */
}

header h1 {
    margin: 0;
    font-size: 2.5em;
    font-weight: 700;
}

header h2 {
    margin: 10px 0 0;
    font-size: 1.2em;
    font-weight: 300;
}

main section {
    background: var(--container-bg);
    margin-bottom: 20px;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

h3 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.8em;
}

/* Timeline for Career and Education */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background: var(--secondary-color);
}

.timeline-item {
    margin-bottom: 30px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--secondary-color);
    border: 2px solid var(--primary-color);
}


.timeline-item h4 {
    margin: 0 0 5px;
    color: var(--primary-color);
    font-size: 1.2em;
}

.timeline-item p {
    margin: 0 0 10px;
}

.timeline-item ul {
    margin: 0;
    padding-left: 20px;
}

/* Skills */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.skill-category {
    flex: 1;
    min-width: 250px;
}

.skill-category h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2em;
}

.skill-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skill-category li {
    background: var(--background-color);
    padding: 8px 12px;
    border-radius: 5px;
    margin-bottom: 8px;
}

/* Downloads & Buttons */
.btn {
    display: inline-block;
    background: var(--secondary-color);
    color: #fff;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-right: 10px;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #2980b9;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 30px 0;
}

footer h3 {
    color: #fff;
    border-bottom: 2px solid var(--secondary-color);
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 20px;
}

footer p {
    margin: 5px 0;
}

footer a {
    color: var(--secondary-color);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }
    header h2 {
        font-size: 1em;
    }
    h3 {
        font-size: 1.5em;
    }
    .skills-container {
        flex-direction: column;
    }
}