body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background-color: #f3f3f3;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.main-content {
    flex: 1;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

header {
    background: #2C3E50;
    color: #ffffff;
    padding: 30px 0;
    text-align: center;
    border-bottom: #bbb 1px solid;
}

header a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s;
}

header .highlight {
    color: #3498DB;
    font-weight: bold;
}

.header-button {
    display: inline-block;
    background: #3498DB;
    padding: 10px 20px;
    margin: 10px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    color: #ffffff;
}

.header-button:hover {
    background: #2C3E50;
}

.intro, .main {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.main h1 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 24px;
}

.intro {
    text-align: center;
}

.intro h2 {
    color: #2C3E50;
    font-size: 28px;
    margin-bottom: 10px;
}

.intro p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #5680bb;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin: 10px 0;
    text-align: left;
}

.projects-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
} 

.project {
    display: flex;
    flex-direction: row;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

.project-image {
    width: 50%;
    margin-right: 20px;
    overflow: hidden;
    border-radius: 5px;
}

.project img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 5px;
    transition: transform 0.3s;
}

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

.project-details {
    width: 50%;
    display: flex;
    flex-direction: column;
}

.project-details h3 {
    margin: 0 0 10px;
    color: #2C3E50;
}

.project-details p {
    margin: 0 0 10px;
}

.project-details a {
    display: inline-block;
    background: #2C3E50;
    color: #fff;
    padding: 8px 15px;
    margin-top: auto;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    align-self: flex-start;
}

.project-details a:hover {
    background: #3498DB;
}

@media (max-width: 768px) {
    .project {
        flex-direction: column;
    }

    .project-image, .project-details {
        width: 100%;
    }

    .project-image {
        margin-right: 0;
        margin-bottom: 20px;
    }
}





