/* Reset and basic styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(270deg, #4a5568, #2d3748, #2c3e50, #1c2833); /* Muted tones */
    background-size: 600% 600%; /* Smoother and slower gradient transition */
    animation: gradientTexture 20s ease infinite;
    position: relative;
    overflow: hidden;
}

/* Keyframes for a more subtle gradient animation */
@keyframes gradientTexture {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Adding moving wave texture overlay using pseudo-element */
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.05), rgba(0,0,0,0.1)); /* Light texture effect */
    opacity: 0.5;
    z-index: 1;
    background-size: 200% 200%;
    animation: waveAnimation 15s linear infinite;
}

/* Keyframes for wave-like texture movement */
@keyframes waveAnimation {
    0% {
        transform: translateX(0) translateY(0);
    }
    50% {
        transform: translateX(30px) translateY(20px);
    }
    100% {
        transform: translateX(0) translateY(0);
    }
}

/* Styling the container and content */
.container {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.9); /* Slight transparency */
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 400px;
    z-index: 2; /* Place above the animated background */
    position: relative;
}

.profile {
    margin-bottom: 20px;
}

.profile-pic {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

h1 {
    font-size: 24px;
    margin: 10px 0;
    color: #333;
}

.bio {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

/* General Button Styles */
.links .btn {
    display: block;
    padding: 15px 0;
    margin: 10px 0;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s;
    text-decoration: none;
    color: white;
}

/* Button colors */
.contact-link, .gallery-link, .nextcloud-link, .home-assistant-link {
    background-color: #49515e;
}

.contact-link:hover, .gallery-link:hover, .nextcloud-link:hover {
    background-color: #15317E;
}

.home-assistant-link:hover {
    background-color: #18bcf2;
}

.footer {
    margin-top: 30px;
    font-size: 12px;
    color: #888;
}