body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.projects {
    padding: 5rem;
    padding-top: 2rem;
}

.projects__table {
    width: 100%;
    border-collapse: collapse; /* Collapse borders for a clean look */
    margin-top: 2rem; /* Space above the table */
}


.projects__table th{
    font-size: 2rem;
    background-color: #ff8177;
    background-image: linear-gradient(to top, #ff0944 0%, #ffb199 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color:transparent;
    justify-content: center;
    
}
.projects__table th, 
.projects__table td {
    border: 1px solid #e3702d; /* Light border for table cells */
    align-items: center; 
    font-weight:solid;
    padding: 2rem; /* Space inside cells */
    text-align: left; /* Align text to the left */
    line-height: 2rem;
    
}



.projects__table td {
    background-color: #141414; /* Light background for body cells */
    color: #aec8a2;
    padding: 1rem;
    font-size: 1rem;

}

.projects__links {
    color: #477fbb; /* Link color */
    text-decoration: underline; /* Underline links */
}

.projects__links:hover {
    text-decoration: none; /* Remove underline on hover */
    color: #fff;
    transition: all 0.4s ease ;
}

@media screen and (max-width: 768px) {
    .projects__table {
        display: block; /* Allow scrolling */
        overflow-x: auto; /* Enable horizontal scrolling */
    }

    .projects__table th, 
    .projects__table td {
        display: block; /* Make cells block-level */
        width: 100%; /* Full width for cells */
        box-sizing: border-box; /* Include padding in width */
    }

    .projects__table th {
        position: absolute; /* Position headers absolutely */
        top: -9999px; /* Hide them off-screen */
    }

    .projects__table tr {
        margin-bottom: 1rem; /* Space between rows */
        display: flex;
        flex-direction: column; /* Stack cells vertically */
        border: 1px solid #444; /* Add border to each row */
    }

    .projects__table td {
        text-align: right; /* Align text to the right for body cells */
        position: relative; /* Position cells relatively */
        padding-left: 50%; /* Space for label */
    }

    .projects__table td::before {
        content: attr(data-label); /* Use data-label for accessibility */
        position: absolute; /* Position the label */
        left: 10px; /* Space from the left */
        text-align: left; /* Align label to the left */
        color: #ff4171; /* Color for the labels */
        font-weight: bold; /* Make labels bold */
    }
}