body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    text-align: center;
}
header {
    background-color:#ffffff;
    color: rgb(25, 25, 25);
    padding: 15px 0;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}
.logo {
    font-size: 24px;
    font-weight: bold;
    background: #f3f3f3;
    text-decoration: none;
    cursor: pointer;
    margin-left:10px;
}
ul {
    list-style: none;
    display: flex;
}
ul li {
    margin: 0 15px;
}
ul li a {
    color: rgb(51, 51, 51);
    text-decoration: none;
}
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #222;
    color: white;
}
.content img {
    width: 100%;
    height: 100%;
    transition: 0.3s ease;
}
.content h1, .content p {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.content h1 {
    top: 50%; 
}
.content p {
    top: 55%; 
}
.content:hover img {
    filter: brightness(40%);
}
.content:hover h1, .content:hover p {
    opacity: 1;
}
.portfolio {
    padding: 50px 20px;
    background: white;
}
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: auto;
}
.project {
    background: #ddd;
    padding: 50px;
    transition: transform 0.3s ease-in-out;
}
.project:hover {
    transform: scale(1.1);
    box-shadow: 30px 10px 10px rgb(0, 0, 0);
}
.contact-page {
    display: none;
    padding: 50px 20px;
    background: #222;
    color: white;
}
footer {
    padding: 20px;
    background: #333;
    color: white;
}
