body, html {
    font-family: 'Poppins', sans-serif;
    background-color: #1f1f1f; 
    color: #f8f7f9;
    line-height: 1.6;
    margin: 0;
}

.ProjectPage {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.TopContainer {
    background-color: #222; 
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.WebsiteLogo {
    font-size: 18px;
    font-weight: bold;
    color: white;
}

.NavbarLinks {
    display: flex;
    gap: 30px;
}

.NavbarLinks a {
    color: #f8f7f9;
    text-decoration: none;
    font-size: 16px;
}

.NavbarLinks a.active {
    color: #f6c700; 
}

.NavbarLinks a:hover {
    color: #f6c700;
    text-decoration: underline;
}

.MainContainer {
    flex: 1;
    padding: 40px 80px;
    background-color: #1b1b1b; 
}

.Projects_List h1 {
    color: #f6c700; 
    font-size: 36px;
    text-align: center;
    margin-bottom: 30px;
}

.Project_Item {
    background-color: #2e2e2e;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 1.1);
}

.Project_Item:hover {
    background-color: #d5c058;
    color: #333;
}

.Project_Description,
.Project_Description h2,
.Project_Description p,
.Project_Description a {
  transition: color 0.3s, background-color 0.3s, border-color 0.3s;
}

.Project_Item:hover .Project_Description {
  color: #333;
}

.Project_Item:hover .Project_Description h2 {
  color: #111;
}

.Project_Item:hover .Project_Description p {
  color: #444; 
}

.Project_Item:hover .Project_Description a {
  background-color: #333;
  color: #fff;
  border-color: #333;
}

.Project_Image {
    flex: 1;
    max-width: 40%;
}

.Project_Image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.Project_Image img:hover {
    transform: scale(1.05);
}

.Project_Description {
    flex: 2;
}

.Project_Description h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #f6c700;
}

.Project_Description p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.Project_Description a {
    color: #f6c700;
    text-decoration: none;
}

.Project_Description a:hover {
    text-decoration: underline;
}

.Button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    color: #f5f4f7; 
    border: 1px solid #f8f7f9; 
    border-radius: 5px; 
    text-decoration: none; 
    margin-right: 10px; 
    background-color: transparent; 
    cursor: pointer;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #222;
    color: #cac5c5; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px; 
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1); 
    box-sizing: border-box; 
}

.Footer_Content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px; 
    margin: 0 auto; 
}

.Footer_Icons {
    display: flex;
    gap: 15px;
}

.Footer_Icons img {
    width: 24px;
    height: 24px;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
    .TopContainer {
        flex-direction: column;
        align-items: center;
        padding: 20px;
        gap: 15px;
    }

    .NavbarLinks {
        flex-direction: column;
        gap: 10px;
    }

    .NavbarLinks a {
        font-size: 14px;
    }

    .MainContainer {
        padding: 20px;
    }

    .Projects_List h1 {
        font-size: 28px;
    }

    .Project_Item {
        flex-direction: column;
        align-items: center;
    }

    .Project_Image {
        max-width: 100%;
        margin-bottom: 15px;
    }

    .Project_Description h2 {
        font-size: 20px;
    }

    .Project_Description p {
        font-size: 14px;
    }

    .Project_Description a {
        font-size: 12px;
    }

    .Button {
        padding: 8px 16px;
        font-size: 12px;
    }

    .footer {
        padding: 15px;
    }

    .Footer_Icons img {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .NavbarLinks a {
        font-size: 12px;
    }

    .MainContainer {
        padding: 15px;
    }

    .Projects_List h1 {
        font-size: 24px;
    }

    .Project_Description h2 {
        font-size: 18px;
    }

    .Project_Description p {
        font-size: 12px;
    }

    .Project_Description a {
        font-size: 10px;
    }

    .Button {
        padding: 6px 12px;
        font-size: 10px;
    }

    .footer {
        padding: 10px;
    }

    .Footer_Icons img {
        width: 18px;
        height: 18px;
    }
}
