body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1f4418;
    color: #333;
}
header {
    position: relative;
    background: url('portfolio-hero.jpg') no-repeat center center/cover;
    height: 100vh;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
header h1 {
    color: #d3d3d3;
    margin: 0;
    font-family: "Dancing Script";
    font-size: 6em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
header h2 {
    color: #d3d3d3;
    margin: 5px 0;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 3em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
header p {
    font-size: 1.5em;
    margin: 20px 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
header a {
    padding: 10px 20px;
    background-color: #FFD700;
    color: #1f4418;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s, transform 0.3s;
}
header a:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}
nav {
    background-color: #1f4418;
    padding: 10px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
}
nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #d3d3d3;
    font-weight: bold;
    transition: color 0.3s;
}
nav a:hover {
    color: #0056b3;
}
main {
    padding: 40px 20px;
    max-width: 1200px;
    margin: auto;
}
.portfolio {
    padding-top: 35px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.portfolio-item {
    background-color: #f5f5dc;
    margin: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex-basis: calc(33.333% - 20px);
    box-sizing: border-box;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    border-radius: 15px;
}
.portfolio-item img {
    width: 100%;
    height: auto;
}
.portfolio-item h3 {
    text-align: center;
    margin-top: 0;
    padding: 10px 0;
    font-size: 1.5em;
}
.portfolio-item a {
    display: block;
    padding-left: 20px;
    color: #007BFF;
    text-decoration: none;
}
.portfolio-item a:hover {
    color: #0056b3;
    text-decoration: underline;
}
.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
@media (max-width: 768px) {
    .portfolio-item {
        flex-basis: calc(50% - 20px);
    }
}
@media (max-width: 480px) {
    .portfolio-item {
        flex-basis: 100%;
    }
}
