body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    /* got image from : https://www.vecteezy.com/free-vector/dark-pattern */
    background-image: url('.\\images\\repPatt..jpg');
}
body {
    margin: 0;
    /* overflow: hidden; */
    background-color: #f0f0f0;

  }

header {
    background-color: #000000;
    color: #ffffff;
    padding: 20px 0;
    text-align: center;
}

section {
    padding: 20px;
    margin: 0 auto;
    background-color: #f4f4f4;
    max-width: 1400px; /* Limits max width to prevent it from being too wide */
}

h1, h2, h3 {
    margin: 0;
    padding: 10px 0;
}

.project-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.project {
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
}

.project-image {
    height: 100px;
    width: auto;
    margin-right: 20px;
    border-radius: 8px;
}

.project-details {
    flex: 1;
}

.project h3, .project p, .project a {
    margin: 5px 0;
}

footer {
    background-color: #000000;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
}

#bio {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f4f4f4;
    padding: 20px;
    margin: 0 auto;
}

.bio-content {
    flex: 2;
    padding-right: 20px;
}

.bio-image {
    flex: 1;
}

.bio-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Media query for screens narrower than 768px (e.g., tablets and small laptops) */
@media (max-width: 768px) {
    section, #bio {
        margin: 0 20px; /* Adds margin on smaller screens to avoid edge alignment */
    }
    .project {
        flex-direction: column; /* Stacks the image above the text */
        align-items: flex-start;
    }
    .project-image {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* Media query for screens narrower than 480px (e.g., mobile devices) */
@media (max-width: 480px) {
    header, footer {
        padding: 10px 0; /* Reduces padding on header and footer */
    }
    section, #bio {
        margin: 0 10px; /* Further reduces side margins on very small screens */
        padding: 15px;
    }
    .bio-content {
        padding-right: 10px; /* Reduces padding in bio content */
    }
}


/* secret blackhole */
.shape {
    position: absolute;
    cursor: grab;
}
.circle {
    width: 50px;
    height: 50px;
    background-color: red;
    border-radius: 50%;
}
.square {
    width: 50px;
    height: 50px;
    background-color: blue;
}

.gravity-center {
    position: absolute;
    width: 100px;
    height: 100px;
    background-image: url('images\\black_hole.gif');
    background-size: 190%; 
    background-position: center;
    border-radius: 50%;
    cursor: grab;
    visibility: hidden;
}