@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    font-family: 'Inter', Arial, sans-serif;
    background: #1d2124;
    color: white;
  	text-align: center;
  	align-items: center;
}

a {
    color: #3498db;
    text-decoration: none;
    transition: 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

/* HEADER */
header {
    background-color: #2c3e50;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    width: 45px;
    height: auto;
    margin-right: 10px;
}

.logo-text {
    color: #ecf0f1;
    font-size: 1.8em;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    color: #ecf0f1;
    font-weight: 500;
}

.nav-links li a:hover {
    color: #3498db;
}

/* ABOUT ME SECTION */
main {
    min-height: calc(100vh - 200px);
}

.container {
  align-items: center;
}

.about {
    display: flex;
    align-items: center;
    justify-content: center; 
    gap: 30px;
    flex-wrap: wrap;
}


.about-image {
    width: 200px;
    height: 200px;
  margin-top: 20px;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    display: block;
    position: relative;
    z-index: 2;
}


.about-image:hover {
    transform: scale(1.05);
}

.about-text h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.2em;
    line-height: 1.6;
}

/* SKILLS */
.skills {
    margin: 60px 0;
    text-align: center;
}

.skills h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.skill-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 auto;
}

/* Standardgröße für alle Bilder */
.skill-icons img {
    width: 120px;  /* Standardgröße */
    height: auto;
    transition: transform 0.3s ease, filter 0.3s ease; /* Animieren von transform und filter */
}

/* Vergrößere die ersten beiden Icons */
.skill-icons img:nth-child(1), 
.skill-icons img:nth-child(2) {
    width: 180px; /* Doppelte Größe der Standardgröße */
}

/* Hover-Effekt für alle Icons */
.skill-icons img:hover {
    transform: scale(1.2); /* Hover-Effekt - Vergrößerung */
    filter: brightness(1.2); /* Ein leichter Helligkeitseffekt */
}

/* SOCIALS */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 30px 0;
}

.social-icons a {
    font-size: 30px;
    color: #e5e5e5;
    transition: 0.3s ease;
}

.social-icons a:hover {
    color: #0077b5;
}

/* CV DOWNLOAD */
.cv-download {
    text-align: center;
    margin-top: 40px;
}

.cv-download a {
    padding: 10px 20px;
    background-color: #3498db;
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    display: inline-block;
    transition: 0.3s ease;
}

.cv-download a:hover {
    background-color: #2980b9;
}

/* FOOTER */
footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    text-align: center;
    padding: 20px;
    width: 100%;
    font-size: 1em;
    font-family: Arial, sans-serif;
    margin-top: 60px;
}

footer p {
    margin: 5px 0;
}

footer a {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
}

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

/* RESPONSIVE */
@media (max-width: 768px) {
    .about {
        flex-direction: column;
        text-align: center;
    }

    .about-image {
        margin-bottom: 20px;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
        align-items: center;
        margin-top: 15px;
    }

    .header-container {
        flex-direction: column;
    }
}

/* Timeline Styles */
.timeline {
    position: relative;
    margin: 50px 0;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #3498db;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease-out;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-content {
    background: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 12px;
    height: 12px;
    background: #fff;
    border: 3px solid #3498db;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.left .timeline-content::before {
    left: 100%;
    transform: translateX(-50%);
}

.timeline-item.right .timeline-content::before {
    right: 100%;
    transform: translateX(50%);
}

/* Add animation for scrolling */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* When timeline-item becomes visible */
.timeline-item.visible {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Responsive design for the timeline */
@media (max-width: 768px) {
    .timeline-item {
        width: 100%;
        left: 0;
        text-align: left;
    }

    .timeline::before {
        left: 8px;
    }

    .timeline-content::before {
        left: -16px !important;
    }
}
.hobbies h2 {
    font-size: 2em;
    margin-bottom: 20px;
  	text-align: center;
}
.hobbie-images {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.hobbie-images img {
  width: 120px;
  height: auto; 
  object-fit: contain; 
  border-radius: 8px; 
}

img[alt="Fitness"] {
  filter: brightness(0) invert(1);
}

img[alt="Heimserver"] {
  filter: brightness(0) invert(1);
}

img[alt="LTB Comics"] {
  filter: grayscale(100%);
}

img[alt="Voice Event"] {
  filter: grayscale(100%);
}

.hobbie-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  overflow: hidden;
  border-radius: 8px;
}

.hobbie-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  transition: mask-size 1s ease-out, opacity 0.6s ease, transform 0.6s ease;
}

/* LTB Bild oben */
.ltb-hover-img {
  z-index: 2;
  mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 40%, transparent 100%);
  mask-size: 200% 200%;
  mask-position: center;
  mask-repeat: no-repeat;
  filter: grayscale(100%) brightness(0.8);
}

/* Comics Bild unten (startet unsichtbar) */
.comics-overlay {
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

/* Hover-Effekt: LTB-Bild auflösen und Comics-Bild sichtbar machen */
.hobbie-wrapper:hover .ltb-hover-img {
  mask-size: 800% 800%;
  opacity: 0;
  transform: scale(1.05) skewX(2deg);
}

.hobbie-wrapper:hover .comics-overlay {
  opacity: 1;
}





/* Blog CSS */

.blog-entries {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    padding-bottom: 3rem;
}

.blog-entry {
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-entry:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.blog-thumbnail {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

.entry-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.entry-content h2 {
    margin: 0;
    font-size: 1.4rem;
    color: #222;
}

.entry-content h2 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.entry-content h2 a:hover {
    color: #0073e6;
}

.entry-content .date {
    font-size: 0.9rem;
    color: #999;
}

.entry-content p {
    font-size: 1rem;
    color: #444;
    line-height: 1.5;
}

.read-more {
    align-self: flex-start;
    margin-top: 0.5rem;
    font-weight: 500;
    color: #0073e6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.read-more:hover {
    color: #004fa3;
    text-decoration: underline;
}
