html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: hidden;
}
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    padding-right: 20px;
}

.div-content{
    width: 80%;
    overflow-y: auto; 
}

section {
    width: 20%;
}

.flex-div{
    display: flex;
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

.container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 0 auto;
    padding: 20px;
    padding-bottom: 100px;
    
}
.project-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    min-height: 200px;
    max-width: 400px; /* Increased width */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #e0e0e0;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.project-card h3 {
    margin: 20px 20px 10px;
    font-size: 1.1em; /* Reduced font size */
    color: #333;
}

.project-card p {
    margin: 0 20px 20px;
    font-size: 0.9em; /* Reduced font size */
    color: #666;
    line-height: 1.6;
    flex-grow: 1;
}

.project-card a {
    display: inline-block;
    margin: 0 20px 20px;
    padding: 8px 15px; /* Adjusted padding for smaller text */
    color: #fff;
    background-color: #005440; /* Changed color */
    text-decoration: none;
    border-radius: 25px;
    transition: background-color 0.3s ease;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8em; /* Reduced font size */
}

.project-card a:hover {
    background-color: #00432c; /* Darker shade of #005440 */
}


@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) {
    .container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}
