* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    background-color: rgb(1, 1, 20);
    color: #ffffff;
}
html {
    scroll-behavior: smooth; /* Enables smooth scrolling */
}
.nav {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 30px;
    padding: 20px;
    font-size: 20px;




}

.name {
    position: relative;
    display: inline-block;
    font-size: 24px;
    cursor: pointer;
    /* Changes cursor to pointer */
    font-weight: bold;
    font-size: 25px;
    margin-left: 100px;
}

.tooltip {
    visibility: hidden;
    background-color: rgb(2, 2, 24);
    color: rgb(235, 235, 245);
    text-align: center;
    padding: 5px 10px;
    border-radius: 5px;
    position: absolute;
    top: 100%;
    /* Position below the text */
    left: 100%;
    transform: translateX(-50%) translateY(5px);
    /* Center horizontally, slightly lower */
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    font-weight: 100;
}

.name:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

.blog {

    margin-left: auto;
    margin-right: 20px;
    cursor: pointer;
}
.project a{
    text-decoration: none;
}
.contact a{
    text-decoration: none;
}

.project {
    
    margin-right: 20px;
    cursor: pointer;
}

.contact {

    margin-right: 30px;
    cursor: pointer;

}

.blog:hover,
.project a:hover,
.contact a:hover {
    color: rgb(126, 126, 139);
     text-decoration: none;
    transition: color 0.3s ease-in-out;

}

main {
    margin-left: 130px;
    margin-top: 70px;
}

.container {
    display: flex;
    align-items: center;
    gap: 30px;
    /* Space between image and text */

}

h1 {
    margin-top: 30px;
    margin-bottom: 30px;
    font-size: 50px;
    color: rgb(235, 235, 245);
}

.in {
    font-size: 20px;
    margin-bottom: 30px;
    color: rgb(126, 126, 139);

}

.intro {
    font-size: 20px;
    /* letter-spacing: 1px; */
    word-spacing: 2px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    line-height: 1.8;
    width: 100%;
    display: block;
    color: rgb(235, 235, 245);
}

.image img {
    width: 250px;
    margin-top: 80px;
    /* margin-right: 20px; */
    height: auto;
    border-radius: 50%;
    margin-left: 90px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);


}

/* Project Section */

.projects {

    margin-top: 150px;
    margin-left: 100px;
    padding: 20px;
    color: rgb(235, 235, 245);

}

.title {
    margin-top: 20px;
    font-size: 40px;
}

.title:hover {
    color: rgb(126, 126, 139);

    transition: color 0.3s ease-in-out;
}

.project-conatiner {

    margin-top: 40px;
    background-color: rgb(2, 2, 94);
}

.project-card {
    margin-top: 30px;

    padding: 10px;
    border-radius: 10px;

}

.project-card h3 {
    margin-bottom: 20px;
}

.project-card p {
    margin-bottom: 20px;
}



/* Tags */
.tags span {
    background-color: rgb(126, 126, 139);
    color: rgb(235, 235, 245);
    padding: 4px;
    border-radius: 3px;
    margin: 2px;
}

/* Links */
.links {
    margin-top: 20px;

}

.links a {
    position: relative;
    /* Ensures it's clickable */
    z-index: 10;
    /* Makes sure it's above other elements */
    margin-left: 3px;
    color: cadetblue;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}
.footer{
    margin-top: 70px;
    margin-left: 120px;
    color: rgb(235, 235, 245);
}
.footer h3{
 font-size: 35px;

}
.footer h3:hover{
    color: rgb(126, 126, 139);
    transition: color 0.3s ease-in-out;
}
.footer p{
    margin-top: 20px;
}
.social-icons {
    margin-top: 30px;
    display: flex; /* Align icons horizontally */
    gap: 20px; /* Space between icons */
    margin-bottom: 30px;
}

.social-icons img {
    height: 40px;
    width: 40px;
    border-radius: 50%; /* Make icons circular */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-icons img:hover {
    transform: scale(1.2); /* Slight zoom effect on hover */
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2); /* Add subtle shadow */
}

