/* Importing Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&family=Merriweather&display=swap');

/* Gradient animation */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Body and background animation */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(45deg, #1E3A8A, #0D9488, #F97316, #FCD34D);
    background-size: 300% 300%;
    animation: gradientShift 15s ease infinite;
    color: white;
}

/* Improved Gradient for Mobile */
@media (max-width: 768px) {
    body {
        background-size: 400% 400%;
    }
}

/* Container */
.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 90%;
    max-width: 400px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Profile section */
.profile img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    border: 4px solid #e3e1df;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.profile h1 {
    font-size: 2.9rem;
    margin: 0;
    color: #f5f4ed;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.profile h2 {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}
.profile p {
    font-family: 'Merriweather', serif;
    font-size: 1.2rem;
    margin-top: 0.5rem;
    color: white;
    opacity: 0.9;
}

/* Social Media Icons */
.social-icons {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1.2rem;
}

.social-icons a img {
    width: 36px;
    height: 36px;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.social-icons a img:hover {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Link Buttons */
.links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
    width: 100%;
}

.link-button {
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    padding: 1rem 2rem;
    background-color: #253845;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-align: center;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
}

.link-button:hover {
    background-color: #F97316;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-color: #FCD34D;
}

/* Footer */
footer {
    width: 100%;
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: white;
    opacity: 0.8;
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
    .profile h1 {
        font-size: 2rem;
    }
    .profile p {
        font-size: 1rem;
    }
    .link-button {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
}