/* General body and background styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(270deg, #4a5568, #2d3748, #2c3e50, #1c2833); /* Muted tones */
    background-size: 600% 600%;
    animation: gradientTexture 20s ease infinite;
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    height: 100vh; /* Full viewport height */
    position: relative; /* Ensures that pseudo-elements are positioned correctly */
    overflow: hidden; /* Prevents overflow of animated background */
}

/* Keyframes for a subtle gradient animation */
@keyframes gradientTexture {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Adding moving wave-like 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);
    }
}

/* Container styling */
.container {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.9); /* Slightly transparent to show background */
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 400px;
    position: relative;
    z-index: 2; /* Ensures content is above the background */
}

/* Profile styling */
.profile {
    margin-bottom: 20px;
}

.profile-pic {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

/* Header styling */
.header {
    text-align: center;
    margin-bottom: 20px;
}

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;
}

/* Individual link styles */
.contact-link {
    background-color: #49515e;
}

.contact-link:hover {
    background-color: #15317E;
}

.footer {
    margin-top: 30px;
    font-size: 12px;
    color: #888;
}

/* Gallery styling */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Smaller gallery items */
    gap: 15px; /* Reduced gap between items */
}

.gallery-item {
    background-color: #49515e;
    border: 2px solid #ccc;
    padding: 5px; /* Reduced padding */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer; /* Indicates that the item is clickable */
}

.gallery-item:hover {
    transform: scale(1.05); /* Slightly enlarges image on hover */
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Ensure images fit within their containers */
}
