/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(45deg, #FF6F61, #FFB6C1, #FF1493, #FFD700);
    background-size: 400% 400%;
    animation: gradientBG 10s ease infinite;
    display: flex;
    flex-direction: column; /* Stack content vertically */
    min-height: 100vh; /* Ensure the body takes at least the full viewport height */
    justify-content: flex-start; /* Align content from the top */
    align-items: center; /* Horizontally center content */
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.main-container {
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    padding: 40px;
    border-radius: 15px;
    color: white;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    margin-top: 50px; /* Adds margin to ensure there's space from the top */
    flex: 1 0 auto; /* This prevents the main content from expanding to fill the entire height */
}

.profile-container {
    margin-bottom: 30px;
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid #fff;
    object-fit: cover;
    object-position: 50% 20%;
    margin-bottom: 20px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.name {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

.bio {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
    font-style: italic;
}

.social-links {
    display: flex;
    flex-direction: column; /* Align the links vertically */
    align-items: center; /* Center the items horizontally */
    gap: 15px; /* Add spacing between each link */
}

.social-link {
    text-decoration: none;
    color: white;
    font-size: 1.5em;
    padding: 10px 20px;
    border-radius: 5px;
    background-color: #333;
    transition: background-color 0.3s, transform 0.3s;
    margin: 5px;
    display: flex;
    align-items: center;
    gap: 10px; /* Space between icon and name */
    width: fit-content; /* Adjust link width based on content */
}

.social-link i {
    font-size: 1.6em; /* Adjust icon size */
}

.social-link:hover {
    background-color: #ff6347;
    transform: scale(1.1);
}

.social-link:active {
    transform: scale(1);
}

/* Footer Styling */
.footer {
    margin-top: 30px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 1em;
    text-align: center;
    border-radius: 10px;
    width: 100%;
    max-width: 600px;
    margin-bottom: 30px; /* Adds margin below the footer */
}

.footer p {
    margin: 0;
    font-style: italic;
}