/* styles.css */
*{
    scroll-behavior: smooth;
    
}
/* General Styles */
.h_body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: #202020;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 95vh; /* Height adjusted to 90vh */
    overflow: hidden;
    padding: 20px; /* Added padding to the body */
}

/* Container Styles */
.h_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    gap: 20px; /* Added gap between elements */
    max-width: 1200px; /* Limited max width for larger screens */
    width: 100%;
}

/* Introduction Section */
.intro {
    max-width: 600px;
    margin: 0 auto; /* Center content within intro */
}

/* Heading Styles */
.intro h1 {
    font-size: 3.5rem;
    margin: 0;
    animation: fadeInDown 1s; /* Added animation */
    margin-bottom: 25px;
}
.intro h3{
    font-size: 1.5rem;

}
h2 {
    font-size: 1.5rem;
    margin: 10px 0;
    animation: fadeInDown 1.2s; /* Added animation with slight delay */
}

.highlight {
    color: #00e0ff;
    font-size: 30px;
    margin-top: 15px;
}
#mob
{
    display: none;
}
#home
{
    color: #333;
    background-color: #f1c40f;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
/* Paragraph Styles */
p {
    margin: 20px 0;
    font-size: 1rem;
    color: rgb(168, 163, 163);
    animation: fadeIn 1.4s; /* Added animation */
}

/* Contact Information */
.contact {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    margin-top: 35px;
    margin-bottom: 35px;
    font-weight: bolder;
    animation: fadeIn 1.6s; /* Added animation */
}



.contact p {
    margin: 0;
    font-weight: bold;
    color: white;
}

.contact a {
    color: rgb(117, 115, 115);
    text-decoration: none;
    
}
.hero
{
    color: rgb(231, 105, 105);
}
/* Button Styles */
.buttons {
    display: flex;
    justify-content: flex-start;
    gap: 20px; /* Gap between buttons */
    margin: 20px 0;
    animation: fadeIn 1.8s; /* Added animation */
}
.buttons a
{
    background-color: #6A52CC;
    font-weight: bolder;
}
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    background-color: #6A52CC;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.download-cv {
    background-color: #6A52CC;
}

.hire-me {
    background-color: #6A52CC;
}

.btn:hover {
    background-color: #f1c40f;
    color: #333;
}

/* Social Media Links */
.social-links1 {
    display: flex;
    justify-content: flex-start;
    margin-top: 50px;
    gap: 10px; /* Added gap between social icons */
    animation: fadeInUp 2s; /* Added animation */
}
.fb
{
    font-size: 300px;
}
#mob
{
    display: none;
}
.social-links1 a {
    margin: 0 10px;
}

.social-links1 img {
    width: 50px;
    height: 50px;
    transition: transform 0.3s; /* Added transition for hover effect */
}

.social-links1 img:hover {
    transform: scale(1.2); /* Scale up on hover */
}

/* Profile Picture Styles */
.profile-pic {
    margin-top: 20px;
    animation: fadeInDown 1s; /* Added animation */
}

.profile-pic img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(0, 224, 255, 0.5);
    transition: transform 0.3s;
}

.profile-pic img:hover {
    transform: scale(1.1);
}

/* Keyframe Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design for Large Screens */
@media (min-width: 768px) {
    .h_container {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 50px; /* Increased gap for larger screens */
    }
   
    .intro {
        max-width: none;
        text-align: left;
    }

    .contact {
        flex-direction: row;
    }

    .profile-pic {
        margin-top: 0;
    }
    .h_body
    {
        height: 120vh;
    }
   
}

/* Responsive Design for Mobile Screens */
@media (max-width: 767px) {
    .h_container {
        flex-direction: column;
    }

    .buttons {
        flex-wrap: nowrap;
        justify-content: center;
        flex-direction: row; /* Display buttons in one line */
        gap: 20px; /* Added gap between buttons */
    }

    .btn {
        margin: 0; /* Removed margin to fit in one line */
    }
    .h_body
    {
        /* height: 1100px; */
        height: 130vh;
    }
    .profile-pic {
        order: -1; /* This moves the image to the top */
        margin-bottom: 20px;
        margin-top: 60px;
    }
    .social-links1
    {
        margin-top: 20px;
        justify-content: center;
        flex-direction: row;
    }
    .rs
    {
        display: none;
    }
    .buttons
    {
        margin-top: 70px;
       
    }
    .buttons a
    {
        font-size: 20px;
        font-weight: bolder;
    }
    .intro p
    {
        line-height:2;
    }
    #pc
    {
        display: none;
    }
    #mob
    {
        display: block;
    }
}
