@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

/* Globale Stile */
body {
    background: linear-gradient(#0d0d0d00, #ffffff00);
    font-family: "Euclid Circular A", "Poppins";
    color: #000000;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
}
  
.background {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
  
ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

li {
    cursor: pointer;
}

.socials,
.links {
    gap: 20px;   
}
  
.socials a {
    color: white;
    font-size: 24px;
}
  
.legal {
    font-size: 12px;
    margin: 0;
}
  
svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scaleY(3) scaleX(2.25);
    transform-origin: bottom;
    box-sizing: border-box;
    display: block;
    pointer-events: none;
}
  
footer {
    position: fixed;
    left: 0;
    bottom: 12px;
    display: flex;
    width: 100%;
    height: 370px;
}
  
section {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
    padding-bottom: 80px;
    padding-left: 60px;
    width: 100%;
}

@media (width < 420px) {
    section {
      padding-left: 0;
      gap: 20px;
    }

    footer {
        height: 300px;
    }
  
    .links {
      gap: 20px;
    }
}

/* Header-Stile */
header {
    background-image: url('../content/eric_header.png');
    background-position: center;
    align-items: center;
    background-size: cover;
    background-attachment: scroll;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    /* transition: background-color 0.5s ease; */
    z-index: 100;
}
.header-image {
    display: none; /* Verstecke das Headerbild, wenn nicht benötigt */
}

header h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #fff;
}

header h2 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

/* Navigationsstil */
nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
}

/* Logo-Stile */
.logo {
    width: 300px;
    height: auto;
    margin-bottom: 20px;
}

/* Portfolio-Stile */
#portfolio {
    background-color: #f2f2f2;
    padding: 50px;
    text-align: center;
}

.portfolio-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.portfolio-item {
    margin: 20px;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.portfolio-item img {
    width: 200px;
    height: auto;
    border-radius: 5px;
}

/* Über mich-Stile */
#about {
    background-color: #fff;
    padding: 50px;
    text-align: center;
}

.about-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.profile-picture {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-right: 20px;
}

.text-container {
    text-align: left;
}

/* Kontakt-Stile */
#contact {
    background-color: #f2f2f2;
    padding: 50px;
    text-align: center;
}

.contact-form input,
.contact-form textarea {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form button {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #555;
}

/* Footer-Stile */
footer {
    background-color: #ffffff00;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

/* Über mich-Stile */
#about {
    background-color: #fff;
    padding: 50px;
    text-align: center;
}

.about-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.about-info {
    display: flex;
    align-items: center;
    background-color: #ffd700; /* Gelbe Hintergrundfarbe */
    padding: 20px;
    border-radius: 10px; /* Abgerundete Ecken */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); /* Schatten */
}

.profile-picture {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    margin-right: 20px;
}

.large-image {
    width: 350px;
    height: auto;
    float: left;
    margin-right: 20px;
    margin-bottom: 10px;
}

.text-container {
    text-align: left;
}

.text-container h3 {
    font-size: 24px; /* Größere Überschrift */
    color: #333; /* Dunklerer Text */
}

.text-container p {
    font-size: 16px; /* Kleinerer Text */
    color: #555; /* Leicht dunklerer Text */
}
