html {
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: "Poppins", Arial, sans-serif;
    background-color: #141414;
}

.container {
    margin-top: 27vh;
    text-align: center;
    position: relative;
}

.main-heading {
    font-size: 3.5rem;
    line-height: 1.3;
    color: white;
    letter-spacing: 0.1em;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: -1rem;
}

.subtext{
    font-size: 1.5rem;
    color: #8C8C8C;
    letter-spacing: 0.05em;
    font-weight: 400;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.1s ease-in-out;
}

.site-header {
    position: fixed;
    top: 6vh;
    left: 4vw;
    right: 4vw;
    background: transparent;
    padding: 1.5vh 3vw;
    box-sizing: border-box;
    display: flex;
    z-index: 1000;
    border-radius: 0 1.5vw 1.5vw 0;
    transition: background-color 0.3s ease-in-out, top 0.3s ease-in-out;
}

.header-hidden {
    top: -100px;
}

.header-transparent {
    background-color: transparent;
    box-shadow: none;
}

.logo-container {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.logo-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background-color: #1E90FF;
    animation: slideIn 0.9s ease-out forwards, collapseLeft 0.9s ease-in-out 0.9s forwards;
    z-index:2
}

.logo {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    opacity: 0;
    animation: revealText 0.7s 0.7s forwards;
    z-index: 1;
    transition: color 0.3s ease;
}

.logo:hover {
    color: #1E90FF;
}

.logo-bg2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90%;
    background-color: #1E90FF;
    animation: slideIn 0.9s ease-out forwards, collapseLeft 0.9s ease-in-out 0.9s forwards;
    z-index:2
}

.logo2 {
    font-size: 3.5rem;
    line-height: 1.3;
    color: white;
    letter-spacing: 0.1em;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    opacity: 0; 
    animation: revealText 0.7s 0.8s forwards;
    z-index: 1;
}

/* Rectangle covers the text from left to right */
@keyframes slideIn {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

/* Rectangle collapses only from the left, keeping the right side fixed */
@keyframes collapseLeft {
    0% {
        width: 100%;
        left: 0;
        opacity: 1;
    }
    99% { /* Remain fully visible until the very end */
        width: 0%;
        left: 100%;
        opacity: 1;
    }
    100% { /* Fully transparent at the very end */
        width: 0%;
        left: 100%;
        opacity: 0;
    }
}

/* Reveals the text after collapse */
@keyframes revealText {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.logo-image {
    width: 4rem;
    height: 4rem;
    margin-top: -1rem;
    border-radius: 50%;
    margin-right: 1.5rem;
    margin-left: 1rem;
    object-fit: cover;
}

/* Menu Toggle Button Styling */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 2rem;
    height: 1.5rem;
    cursor: pointer;
    margin-left: auto;
    margin-right: 4vw;
    z-index: 1001; 
    transition: all 0.3s ease-in-out; 
}

.menu-toggle .bar {
    height: 0.25rem;
    background-color: white;
    border-radius: 0.125rem;
    transition: all 0.3s ease-in-out;
}

/* Hover Effect on Menu Toggle Button */
/* Move the first bar up */
.menu-toggle:hover .bar:nth-child(1) {
    transform: translateY(-0.1rem); 
}

/* Move the third bar down */
.menu-toggle:hover .bar:nth-child(3) {
    transform: translateY(0.1rem); 
}

/* Menu Toggle Open State */
.menu-toggle.open .bar:nth-child(1) {
    transform: rotate(45deg) translate(0.41rem, 0.47rem);
}

.menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open .bar:nth-child(3) {
    transform: rotate(-45deg) translate(0.41rem, -0.47rem);
}

/* Disable scrolling when menu is open */
.no-scroll {
    overflow: hidden;
}

/* Menu Window Styling */
.menu-window {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    display: flex;
    transition: left 0.3s ease-in-out;
    z-index: 999;
}

/* Menu Window Open State */
.menu-window.open {
    left: 0;
}

.menu-image {
    width: 50%;
    background-color: #333;
    overflow: hidden;
}

.menu-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-toggle:hover .bar {
    background-color: #1E90FF;
}

/* Menu Buttons Styling */
.menu-buttons {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
    background-color: #141414;
    padding: 2rem;
    position: relative;
}
.menu-link {
    color: white;
    font-size: 2rem; 
    margin: 1.5rem 0; 
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-align: center; 
    transition: color 0.3s;
    position: relative;
    padding-left: 0.75rem;
}

/* Pseudo-element for Subscript Numbers */
.menu-link::before {
    content: attr(data-number);
    font-size: 1rem; 
    font-weight: 400; 
    color: #8C8C8C; 
    position: absolute;
    left: -2rem; 
    top: 50%;
    transform: translateY(-50%); 
}

.menu-link::after {
    content: '';
    position: absolute;
    left: -2rem;
    top: 80%;
    width: 1.3rem;
    height: 0.1rem;
    background-color: #8C8C8C;
    transform: translateY(-50%);
}

/* Hide Rectangle Bar for 'Luke Zhuang' Link */
.no-bar::after {
    display: none;
}

/* Custom styles for the "Luke Zhuang" menu link */
#restart-page.menu-link.no-bar {
    font-family: 'Work Sans', 'Segoe UI', sans-serif;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-bottom: 2.5rem;
    font-size: 2.5rem; /* Adjust the font size as needed */
    /* You can add more custom styles here if desired */
}

.menu-link:hover {
    color: #1E90FF;
    transform: scale(1.025);
}

/* Hidden Class for Elements */
.hidden {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 0.3s, opacity 0.3s ease-in-out;
}

.About{
    position: relative;
    margin-left: 32rem;
    margin-top: 12rem;
    color: rgba(255, 255, 255, 0.15);
    font-size: 11rem;
    font-family: "Poppins", Arial, sans-serif;
    font-weight: 800;
    z-index: -1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

/* About Image Styling */
.about-image {
    width: 15rem;
    height: auto;
    margin-right: 2rem;
    border-radius: 10px;
    object-fit: cover;
}

/* About Text Styling */
.about-text {
    position: relative;
}

/* Subtext Styling */
.subtext2{
    bottom: 0;
    left: 0;
    position: absolute;
    font-size: 2rem;
    color: white;
    letter-spacing: 0.05em;
    font-weight: 400;
    margin-bottom: 11.75rem;
    margin-left: 37.5rem;
    text-transform: none;
}

.about-description {
    margin-top: -2.75rem; 
    font-size: 1.2rem;
    margin-left: 37.72rem;
    color: #8c8c8c;
    text-align: left;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    text-transform: none;
    line-height: 1.5; 
    padding-right: 2rem;
}

.projects {
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;     
    text-align: center;     
}

.text2 {
    margin-top: 8.5rem;
    font-size: 1.5rem;      
    color: #8c8c8c;        
    font-weight: 400;
    margin-bottom: 0.7rem;    
    letter-spacing: 2px;   
    text-transform: uppercase; 
}

.project-heading {
    font-size: 2.5rem;       
    color: #ffffff;         
    margin: 0;              
}

.project-container {
    display: flex;
    align-items: flex-start;
    margin-top: 15vh;
    text-align: left; 
    justify-content: center; 
}

.project-container2 {
    display: flex; 
    align-items: flex-start;
    margin-top: 10vh;
    text-align: left; 
    justify-content: center; 
    padding-left: 10rem; 
}

.project-container-third {
    display: flex;
    align-items: flex-start;
    margin-top: 10vh;
    justify-content: center;
}

.project-container2 .about-project img {
    max-width: 28rem; 
    height: 30rem; 
    border: 2px solid #ddd;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-left: 3rem; 
    transition: transform 0.3s ease, filter 0.3s ease;
}

.project-container2 .project-description{
    max-width: 90%;
}

.about-project img {
    max-width: 26rem; 
    height: 28rem; 
    border: 2px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-right: 5rem; 
    transition: transform 0.3s ease, filter 0.3s ease;
    object-fit: cover;
}

.about-project img:hover {
    transform: scale(1.05); 
    filter: brightness(0.8); 
}

.about-text {
    max-width: 35rem; 
    display: flex;
    flex-direction: column; 
    justify-content: flex-start; 
    padding: 0; 
}

.project-subtext {
    font-size: 1rem;
    color: #8c8c8c;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    text-transform: none;
    line-height: 1.5;
    padding-right: 2rem;
    margin-top: 0; 
}

.project {
    font-size: 2rem;
    color: white;
    letter-spacing: 0.05em;
    font-weight: 400;
    margin-bottom: 1rem; 
}

.project-description {
    font-size: 1.2rem;
    color: #8c8c8c;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.5;
    padding-right: 2rem;
}

.project-buttons {
    margin-top: 0.5rem; 
}

.project-link {
    display: block;
    font-size: 1.2rem;
    color: #1E90FF;
    text-decoration: none;
    margin-right: 2rem; 
    font-weight: 500; 
    transition: text-decoration 0.3s ease; 
    margin-bottom: 1rem;
}

.project-link:hover {
    text-decoration: underline; 
}

.resume-link {
    color: #1E90FF;
    font-size: 1.25rem;
    margin-left: 18.75rem;
    z-index: 9999;
    color: #1E90FF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.resume-link:hover {
    z-index: 9999;
    color: #4A90E2;
    text-decoration: underline;
}

.social-icons {
    margin-top: 30px;
    margin-left: 18.25rem;
}

.social-icons a {
    margin: 0 10px;
    display: inline-block;
    text-decoration: none;
}

.social-icons i {
    font-size: 40px;
    color: #1E90FF;
    transition: color 0.3s ease;
}

.social-icons a:hover i {
    color: white; 
}

.icon-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px; 
    height: 55px; 
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    transition: background-color 0.3s ease; 
}

.icon-container i {
    font-size: 30px; 
    color: #1B76D2; 
    transition: color 0.3s ease; 
}

.icon-container:hover {
    transform: scale(1.1); 
    color: #1E90FF; 
}

.contact-text {
    margin-top: 2rem;
    text-align: center; 
    font-size: 1.25rem; 
    color: white; 
    margin-left: 16.25rem;
}

.contact-info {
    margin-left: 22rem;
    font-size: 18px; 
    margin-top: 0px; 
    padding-bottom: 10rem;
}

.contact-label {
    color: #8c8c8c; 
}

.contact-detail {
    color: #1E90FF; 
    text-decoration: none; 
    font-weight: 400; 
}

.contact-detail:hover {
    text-decoration: underline; 
}

.about-image {
    position: absolute;
    top: 16rem;
    left: -5rem;
    display: block;
    margin: 0; 
    max-width: 50rem; 
    max-height: 33rem; 
    width: auto; 
    height: auto; 
    border: 2px solid #ddd; 
    border-radius: 8px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    z-index: -1; 
}

.small-space {
    display: block;
    height: 7.5px; 
    width: 100%; 
}

/* progress bar CSS */
.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    z-index: 9999; 
}

.progress-bar {
    height: 100%;
    background: #007bff;
    width: 0%; 
    transition: width 0.1s ease;
}


@keyframes colorChange {
    0% { color: #1E90FF; } /* Dodger Blue */
    50% { color: #d500f9; } /* Coral Reef Color */
    100% { color: #1E90FF; } /* Dodger Blue */
}

/* Keyframes for typewriter effect */
@keyframes typewriter {
    from { width: 0; }
    to { width: 98%; }
}

/* Keyframes for blinking cursor effect */
@keyframes blink {
    0% {
        border-right: 2px solid transparent;
    }
    50% {
        border-right: 2px solid #ffffff;
    }
    100% {
        border-right: 2px solid transparent;
    }
}

@keyframes cutInHalf {
    0% {
        transform: translateY(0);
        clip-path: inset(0 0 0 0);
    }
    50% {
        transform: translateY(-50%);
        clip-path: inset(0 0 50% 0);
    }
    100% {
        transform: translateY(-100%);
        clip-path: inset(0 0 100% 0);
    }
}

/* Apply typewriter effect to h2 */
h2 {
    overflow: hidden; 
    white-space: nowrap; 
    border-right: 2px solid #ffffff; 
    width: 0; 
    opacity: 0; 
    animation:
            fadeIn 0s 2.5s forwards, 
            typewriter 3s steps(40, end) forwards 2.5s, 
            blink 0.75s step-end infinite 2.5s,
            colorChange 5s linear infinite 2.5s, 
            cutInHalf 1s 7s forwards; 
    font-size: 2rem;
    color: #ffffff;
    display: inline-block; 
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); 
}

/* Keyframes to fade in the text after the delay */
@keyframes fadeIn {
    to { opacity: 1; } 
}

#skills {
    background-color: #121212; 
    color: #ffffff; 
    padding: 4rem 0; 
    margin-top: 0rem; 
    border-radius: 90px;
}

.skills-container {
    width: 80%; 
    margin: 0 auto; 
    text-align: center; 
}

.skills-grid {
    display: grid; 
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem; 
}

.skill-category {
    margin-top: 5rem;
    background-color: #1e1e1e; 
    border-radius: 8px; 
    padding: 1.5rem; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); 
    transition: transform 0.3s, box-shadow 0.3s; 
}

.skill-category:hover {
    transform: translateY(-5px); 
    box-shadow: 0 8px 16px rgba(30, 144, 255, 0.7);
}

.skill-category h3 {
    font-size: 2rem; 
    color: #ffffff; 
    margin-bottom: 1rem; 
}

.skill-list {
    display: flex; 
    flex-wrap: wrap; 
    gap: 0.5rem; 
    overflow: hidden; 
}

.skill-item {
    font-size: 1.2rem; 
    color: #b0b0b0; 
    padding: 0.5rem 1rem; 
    border-radius: 4px; 
    background-color: #2c2c2c; 
    transition: background-color 0.3s, color 0.3s; 
}

.skill-item:hover {
    background-color: #3a3a3a; 
    color: #ffffff;
}

/* Specific styles for the Programming Languages section */
.programming-languages .skill-list {
    display: grid; 
    gap: 0.5rem;
    overflow: hidden; 
}

.skills-intro {
    margin-top: 8rem;
    text-align: center;
    position: relative;
    margin-bottom: -10rem;
}

.skills-intro h4 {
    font-size: 2.5em; 
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.05em;
    font-weight: 400;
}

#ending {
    color: #333;
    padding: 4rem 0;
    text-align: center;
}

.ending-wrapper {
    width: 80%;
    margin: 0 auto;
}

.ending-content {
    background-color: #141414; 
    border-radius: 8px; 
    padding: 2rem; 
}

.ending-content h5 {
    font-size: 2rem; 
    color: white;
    margin-bottom: 2rem;
    font-family: 'Roboto', sans-serif; 
    font-weight: 700; 
}

.ending-content p {
    font-size: 1.1rem; 
    margin-bottom: 1rem;
    font-family: 'Open Sans', sans-serif; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.ending-content a {
    color: white; 
    text-decoration: none; 
}

.ending-content a:hover {
    color: #1e90ff;
}

.ending-icons {
    display: flex; /* Enables Flexbox */
    justify-content: center; /* Centers items horizontally */
    align-items: center; /* Centers items vertically */
    gap: 0.5rem; /* Adds consistent spacing between icons */
    margin: 2rem 0; /* Maintains existing vertical spacing */
}


.ending-icons a {
    margin: 0 1rem; 
    display: inline-block; 
    text-decoration: none; 
}

.ending-icon-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px; 
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.25); 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.ending-icons i {
    font-size: 40px;
    color: #1e90ff; 
    transition: color 0.3s ease; 
}

.ending-icons a:hover i {
    color: white; 
}

.ending-icon-container:hover {
    transform: scale(1.1);
    background-color: #1e90ff;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); 
}

footer {
    margin-top: 3rem;
    margin-bottom: -5rem;
    display: flex; 
    justify-content: center; 
    align-items: center; 
    width: 100%; 
    padding: 1rem 0; 
}

footer p {
    margin: 0; 
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5); 
    font-weight: 300; 
    font-family: 'Open Sans', sans-serif; 
    white-space: nowrap; 
    padding-bottom: 1rem;
}

.email-link {
    font-size: 1.75rem; 
    font-weight: 700; 
}

.name-button {
    margin-left: 0.5rem;
    display: inline-block;
    padding: 0.5rem 0.5rem; 
    font-size: 1rem; 
    font-weight: 700; 
    color: white; 
    background-color: #1e90ff; 
    border-radius: 5px; 
    text-decoration: none; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    transition: background-color 0.3s ease, box-shadow 0.3s ease; 
}

.name-button:hover {
    background-color: #1c86ee;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); 
    color: white; 
    transform: scale(1.05);
}

/* Responsive adjustments for smaller devices*/
@media (max-width: 768px){
    /* Hide the menu image when the menu is open */
    .menu-window.open .menu-image {
        display: none;
    }

    /* Expand the menu buttons to take full width when the menu is open */
    .menu-window.open .menu-buttons {
        width: 100%;
    }

    /* Optional: Adjust padding for menu buttons for better fit */
    .menu-buttons {
        padding: 1.5rem; /* You can adjust this value as needed */
    }

    /* Optional: Adjust font sizes for menu links for better readability */
    .menu-link {
        font-size: 1.5rem; /* Slightly smaller font size */
    }

    .logo-image {
        margin-left: -0.5rem;  /* Shift to the left */
    }

    .subtext {
        font-size: 1rem; /* Adjust to your preference */
    }

    /* Make the logo2 font smaller */
    .logo2 {
        font-size: 2rem; /* Adjust to your preference */
    }

    .container > h2 {
        font-size: 1.15rem; /* Adjust to your preference */
    }

    /* Stack the skill categories vertically */
    .skills-grid {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 1.5rem; /* Adjust gap between categories if needed */
    }

    /* Optional: Adjust skill-list items for better visibility */
    .skill-item {
        font-size: 1rem; /* Adjust font size for better readability */
    }

    footer p {
        font-size: 0.7rem; /* Smaller font size for better fit on small screens */
        padding-bottom: 0.5rem;
    }

    .name-button {
        font-size: 0.7rem;          /* Smaller font size */
        padding: 0.15rem 0.3rem;    /* Smaller padding for a more compact button */
        margin-left: 0rem;
    }    

    .social-icons {
        display: flex; /* Enables Flexbox */
        justify-content: center; /* Centers icons horizontally */
        align-items: center; /* Centers icons vertically */
        gap: 0.5rem; /* Reduces spacing between icons */
        margin: 2rem 0; /* Maintains vertical spacing */
    }

    .about-title {
        display: none;
    }

    .about-image {
        width: 65%;
        height: auto;
        display: block;
        margin: 0 auto; 
        margin-left: 10.85rem;
    }    

    #about-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .About {
        text-align: left; /* Ensure text is centered */
        padding: 0 1rem; /* Add horizontal padding for better readability */
    }

    .contact-text {
        font-size: 1.5rem; /* Reduces font size */
        text-align: left; /* Centers the text */
        margin: 0; /* Removes any existing margins */
        margin-left: -8.4rem;
        margin-bottom: 1.5rem;
    }

    .contact-info {
        font-size: 1.25rem; /* Reduces font size */
        text-align: left; /* Centers the text */
        margin: 0; /* Removes any existing margins */
        margin-left: -2.2rem;
    }

    /* 9. Optional: Enhance contact-info layout */
    .contact-info a {
        display: inline-block; /* Ensures links behave correctly */
        margin: 0 0.5rem; /* Adds horizontal spacing between links */
        margin-bottom: 0.75rem;
    }

    .social-icons {
        margin-left: -8rem;
    }

    .resume-link {
        padding-top: 2rem;
        margin: 0;
        font-size: 1.25rem; /* Makes the font size smaller */
        margin-left: -8.2rem;
    }

    .subtext2 {
        margin: 0;
        margin-left: 6rem;
        margin-bottom: 10rem;
    }

    .about-description {
        text-transform: none;
        margin: 0;
        margin-top: 18rem;
        margin-left: 1.75rem;
        font-size: 0.85rem;
    }

    .project-heading{
        font-size: 2rem;
    }

    .project-container {
        flex-direction: column; /* Stack elements vertically */
        align-items: center; /* Center align items horizontally */
        padding: 1rem; /* Reduce padding for smaller screens */
        margin-left: 5.5rem;
    }

    .project-container .project-description{
        max-width: 83%;
        font-size: 0.80rem;
    }

    .about-project img{
        max-width: 22.25rem;
        margin-left: -1.25rem;
    }

    .project-subtext{
        margin-top: 2rem;
    }

    .project-container2 {
        flex-direction: column; /* Stack elements vertically */
        align-items: center; /* Center align items horizontally */
        padding: 1rem; /* Reduce padding for smaller screens */
        margin-left: 3.5rem;
    }

    .project-container2 .project-subtext{
        margin-left: 2rem;
    }

    .project-container2 .project{
        margin-left: 2rem;
    }

    .project-container2 .project-description{
        margin-left: 2rem;
        max-width: 80%;
        font-size: 0.77rem;
    }

    .project-container2 .project-buttons{
        margin-left: 2rem;
        margin-bottom: 2rem;
    }

    .project-container2 .about-project{
        margin-left: -0.5rem;
    }

    .project-container2 .about-project img {
        max-width: 22.25rem;
        margin-left: 2.25rem;
    }

    .project-container-third{
        flex-direction: column; /* Stack elements vertically */
        align-items: center; /* Center align items horizontally */
        padding: 1rem; /* Reduce padding for smaller screens */
        margin-left: 5.5rem;
    }

    .project-container-third .project-description{
        max-width: 73%;
        font-size: 0.88rem;
    }

    .project-container-third .about-project img{
        margin-left: -0.3rem;
    }
 
}
