body {
    background: #f4f1de;
    color: #2f2f2f;
    font-family: "Georgia", serif;
    max-width: 900px;
    margin: 20px auto;
    padding: 0 20px;
    line-height: 1.6;
    font-size: 1.2em;
    box-sizing: border-box;
}

.content-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-top: 2em;
}

.text-content {
    flex: 2;
}

.image-container {
    flex: 1;
    top: 20px;
}

.profile-image {
    width: 100%;
    max-width: 300px;
    border: 3px solid #2f2f2f;
}

h2 {
    font-family: "Times New Roman", serif;
    font-weight: bold;
    margin: 20px 0;
    color: #2f2f2f;
    border-bottom: 2px solid #2f2f2f;
    padding-bottom: 5px;
}

.project-description {
    margin-left: 20px; /* Adjust as needed to align with the bullet point */
    font-size: 1em; /* Optional: adjust the font size for the description */
    color: #2f2f2f; /* Optional: set the text color */
}

.project-image {
    display: block;
    margin: 10px auto;
    width: 100%;
    max-width: 400px; /* Adjust as necessary */
    border: 2px solid #2f2f2f;
    border-radius: 5px;
}

/* Small thumbnail styling */
.project-thumbnail {
    display: block;
    margin: 20px; /* Centers the image horizontally */
    width: 150px; /* Thumbnail size */
    cursor: pointer;
    border: 2px solid #2f2f2f;
    border-radius: 5px;
    transition: transform 0.2s ease;
}

.project-thumbnail:hover {
    transform: scale(1.1);
}


/* Modal styling */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000; /* Place it on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    border: 3px solid #fff;
    border-radius: 5px;
    animation: zoomIn 0.3s;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.modal-close:hover,
.modal-close:focus {
    color: #bbb;
}

/* Animation for the modal */
@keyframes zoomIn {
    from {
        transform: scale(0.5);
    }
    to {
        transform: scale(1);
    }
}




p,
div,
ul,
table {
    margin-bottom: 20px;
}

table td,
table th {
    border: 1px solid;
}

li {
    margin: 0 0 10px 20px;
    list-style: square;
}

a {
    color: #2f2f2f;
    text-decoration: none;
    border-bottom: 2px solid #2f2f2f;
    padding-bottom: 1px;
    transition: all 0.3s ease;
}

a:hover {
    background-color: #2f2f2f;
    color: #f4f1de;
}

hr {
    border: none;
    border-top: 2px solid #2f2f2f;
    margin: 20px 0;
}

nav {
    font-family: "Courier New", monospace;
    margin-top: 20px;
}

/* Improved readability and layout for mobile devices */


@media (max-width: 1000px) {
    .content-wrapper {
        flex-direction: column;
    }

    .image-container {
        order: -1;
        margin-bottom: 20px;
    }

    body {
        font-size: 0.75em;
    }

    .profile-image {
        max-width: 125px;
        margin: 0 auto;
        display: block;
    }
}
