/* General Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Body Layout */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* System font */
    background-color: #EEDCA8; /* Light, soft yellow background */
    color: #002200; /* Dark green text */
    height: 100vh; /* Full viewport height */
    width: 100%; /* Full width */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Main Container */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 100%;
    max-width: 600px; /* Restrict maximum width */
    gap: 2rem;
    padding: 2rem;
}

/* Greeting Section */
.greeting {
    flex: 1; /* Occupy the top half of the page */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
}

.greeting h1 {
    font-family: 'Lucida Handwriting', 'Segoe Script', 'Brush Script MT', cursive;
    font-size: 4rem;
    font-weight: 700;
    color: #278067; /* Teal color */
}

.greeting h1 span {
    color: #003b31; /* Dark green for "fabulous human" */
}

/* Description Section */
.description {
    flex: 1; /* Occupy the remaining vertical space */
    display: flex;
    justify-content: center;
    align-items: flex-start;
    text-align: center;
    width: 100%;
}

.description p {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.25rem;
    line-height: 1.6;
    color: #16140d;
}

/* Social Links Section */
.social-links-container {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    gap: 1rem;
    background-color: rgba(0, 0, 0, 0.05);
    padding: 0.5rem;
    border-radius: 8px;
}

.social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-links a {
    text-decoration: none;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    /* Create a uniform container for each icon */
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-icon {
    max-width: 100%;
    max-height: 100%;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* Target each icon individually to balance their visual weight */
.social-links a[href*="bsky.app"] .social-icon {
    transform: scale(1.0); /* Baseline */
}

.social-links a[href*="pixelfed.social"] .social-icon {
    transform: scale(0.95); /* Scale down slightly */
}

.social-links a[href*="mas.to"] .social-icon {
    transform: scale(0.8); /* Scale down the most */
}

/* Hover and Focus States */
.social-links a:hover {
    transform: scale(1.2);
    opacity: 1;
}

/* Focus outline */
.social-links a:focus {
    outline: 3px solid #D4AF37;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
    border-radius: 8px; /* Added for better visibility */
}

/* Responsive Design */
@media (max-width: 768px) {
    .greeting h1 {
        font-size: 2rem;
    }

    .description p {
        font-size: 1rem;
    }

    .social-links a {
        width: 2rem;
        height: 2rem;
    }
}
