body {
    margin: 0;
    padding: 15px;
    font-family: Arial, sans-serif;
    background-color: #606c38;
}

.rectangle {
    position: absolute;
    width: 560px;
    height: 200px;
    background-color: #fefae0;
    z-index: 1;
    left: 20px;
    border-radius: 10px;
}

.links {
    text-align: right;
    padding: 10px;
}

.social-links a {
    margin-left: 10px;
    text-decoration: none;
}

.name-title {
    text-align: center;
    margin: 20px 0;
    color: #fefae0;
}

.container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.text {
    position: relative;
    flex: 1;
    padding-right: 40px;
    line-height: 1.5;
    z-index: 2; 
    color: #fefae0;
}

.text p {
    font-size: 18px;
    color: #606c38;
    padding-left: 15px;
    padding-right: 15px;
}

.profile-pic {
    flex: 1;
    text-align: center;
}

.profile-pic img {
    flex: auto;
    align-items: end;
    max-width: 300px;
    max-height: 300px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.projects {
    margin-top: 40px;
    padding: 20px;
    text-align: center;
}

.projects h2 {
    color: #fefae0;
    margin-bottom: 30px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background-color: #fefae0;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.project-card h3 {
    color: #606c38;
    margin-top: 0;
    margin-bottom: 15px;
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.project-card a {
    display: inline-block;
    margin-top: 10px;
    color: #606c38;
    text-decoration: none;
    font-weight: bold;
}

.project-card a:hover {
    text-decoration: underline;
}

