﻿/* --- Basic Reset & Font --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Vazirmatn', sans-serif;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    background-color: #FFFFFF;
    color: #333;
    padding-top: 20px;
}

/* --- Main Container --- */
.container {
    width: 100%;
    max-width: 580px;
    padding: 20px;
    text-align: center;
    position: relative;
}


/* --- Profile Section --- */
.profile-header {
    margin-top: 20px;
    margin-bottom: 25px;
}

/* Profile picture is now a background image */
.profile-pic {
    width: 100px;
    height: 100px;
    border-radius: 50%; /* Keeps the circle shape */
    margin: 0 auto 15px auto; /* Centers the div */
    
    /* Image link updated */
    background-image: url('http://mattysadeghi.ir/img.jpeg');
    background-size: cover; /* Ensures the image covers the div */
    background-position: center; /* Centers the image within the div */

    /* These lines make it non-selectable */
    pointer-events: none;
    user-select: none;
}

h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.profile-header p {
    font-size: 16px;
    color: #555;
    font-weight: 400;
}

/* --- Social Icons --- */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 30px;
}

.social-icons a {
    color: #333;
    text-decoration: none;
    transition: transform 0.2s ease-in-out, color 0.3s ease;
}

.social-icons a:hover {
    color: #000;
    transform: scale(1.15);
}

.social-icons i {
    font-size: 28px;
}


/* --- Links Section --- */
.links-section {
    width: 100%;
}

.link-card {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #EBEEF1;
    color: #333;
    padding: 22px 20px;
    margin-bottom: 15px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: transform 0.2s ease;
}

.link-card:hover {
    transform: scale(1.03);
}


/* --- Responsive adjustments for smaller screens --- */
@media (max-width: 620px) {
    .container {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 20px;
    }
    .container {
        padding: 15px;
    }
    h1 {
        font-size: 22px;
    }
}