/* Universal Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body with full viewport height and centered content */
body {
    background-color: #000;
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
}

/* Header Font Weights */
h1, h2, h3, .profile-tile .about-me {
    font-weight: 500; /* Medium weight for better readability */
}

/* Background Elements Styles */
.stars, .twinkling, .clouds {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

/* Static Starry Background */
.stars {
    background: url(http://www.script-tutorials.com/demos/360/images/stars.png) repeat top center;
    z-index: 0;
}

/* Animated Twinkling Stars */
.twinkling {
    background: transparent url(http://www.script-tutorials.com/demos/360/images/twinkling.png) repeat top center;
    z-index: 1;
    animation: move-twink-back 200s linear infinite;
}

/* Animated Moving Clouds */
.clouds {
    background: transparent url(https://i.imgur.com/jY9hg2J.png) repeat top center;
    z-index: 2;
    animation: move-clouds-back 200s linear infinite;
}

/* Profile Tile Styling */
.profile-tile {
    position: relative;
    background: rgba(255, 255, 255, 0.2); /* Semi-transparent white for glass effect */
    border-radius: 20px; /* Rounded corners */
    padding: 80px 20px 20px; /* Spacing inside tile */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    backdrop-filter: blur(10px); /* Blur effect for background */
    z-index: 10;
    text-align: center;
    width: 350px; /* Fixed width of the tile */
    margin-top: 50px; /* Space above the tile */
    border: 2px solid rgba(255, 255, 255, 0.5); /* White border around the picture */
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* Profile Picture Styling */
.profile-picture {
    border-radius: 50%; /* Circle shape */
    width: 200px; /* Size of the picture */
    height: 200px;
    object-fit: cover; /* Ensures image covers the space */
    border: 2px solid rgba(255, 255, 255, 0.5); /* White border around the picture */
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
    position: absolute;
    top: -125px; /* Positions the picture half above the tile */
    left: 50%; /* Centers the picture horizontally */
    transform: translateX(-50%); /* Adjust horizontal position */
    z-index: 15; /* Above the tile */
}

/* Name Title Styling */
.name-title {
    font-size: 1.5em; /* Larger text for the name */
    font-weight: bold;
    color: #ffffff; /* White text color */
    margin: 10px 0; /* Spacing around the name */
}

/* About Me Description Styling */
.about-me {
    font-size: 1em; /* Standard text size */
    color: #ffffff; /* White text color */
    margin: 20px 0; /* Spacing around the description */
}

/* Social Links Icons Styling */
.social-links a {
    margin: 0 10px; /* Space between icons */
    color: #fff; /* White icon color */
    font-size: 24px; /* Size of icons */
}

/* Animation for the twinkling effect */
@keyframes move-twink-back {
    from { background-position: 0 0; }
    to { background-position: -10000px 5000px; }
}

/* Animation for the moving clouds effect */
@keyframes move-clouds-back {
    from { background-position: 0 0; }
    to { background-position: 10000px 0; }
}


/* LinkedIn Icon Hover Style */
.social-links a[href*="linkedin"]:hover i {
    color: #0e76a8; /* LinkedIn's brand color */
}

/* YouTube Icon Hover Style */
.social-links a[href*="youtube"]:hover i {
    color: #FF0000; /* YouTube's brand color */
}

/* Instagram Icon Hover Style */
.social-links a[href*="instagram"]:hover i {
    /* Instagram's brand gradient color - this is just an approximation as CSS doesn't support text gradients without additional work */
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    color: transparent; /* Hide the original icon color */
}

/* Facebook Icon Hover Style */
.social-links a[href*="facebook"]:hover i {
    color: #3b5998; /* Facebook's brand color */
}

/* Email Icon Hover Style - using a mailto: check for specificity */
.social-links a[href^="mailto"]:hover i {
    color: #D44638; /* Google's Gmail brand color, as an example */
}

/* Website Icon Hover Style - not specific to any social platform, so a neutral color */
.social-links a[href*="garanthomas"]:hover i {
    color: #D44638; /* A neutral dark color for personal website */
}
