/* styles.css */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: Arial, sans-serif;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
}

#background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: url('images/static-background.jpg') no-repeat center center fixed; /* Fallback-Hintergrundbild */
    background-size: cover;
}

.content-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

main {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    max-width: 800px;
    padding: 2em;
    position: relative;
    z-index: 1;
    border-radius: 10px;
}

.profile img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.profile img:hover {
    transform: scale(1.1);
}

.profile {
    text-align: center;
    margin-bottom: 2em;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.contact {
    text-align: center;
    margin-bottom: 2em;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.contact-item {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.contact-link {
    display: flex;
}

.contact-logo {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.contact-logo:hover {
    transform: scale(1.1);
}

.threejs-canvas {
    margin-top: 2em;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

@keyframes slideIn {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}
