
body {
    font-family: Poppins-ExtraLight;
    margin: 25px;
    padding: 0;
}

header {
    text-align: center;
  
}

nav {
    display: flex;
    justify-content: space-around;
    background-color: lightyellow;
}

nav a {
    padding: 10px 20px;
    text-decoration: none;
    color: black;
}

section {
    padding: 20px;
    display: flex;
    align-items: center;
}

.image {
    width: 460px;
    height: 420px;
    background-image: url('path_to_your_image.jpg');
    background-size: cover;
}

.name {
    color: red;
    font-size: 2em;
}

.bio {
    margin-top: 20px;
}

footer {
    text-align: center;
    margin-top: 50px;
}

.image-container {
    position: relative;
    width: 460px;
    height: 420px;
    background-color: black;
    overflow: hidden;
}

.image-container img {
    position: absolute;
    bottom: 2px;
    left: 5px;
    width: 110%;
    height: 100%;
    object-fit: cover;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
}

.contact-details {
    flex: 1;
}

.contact-form {
    flex: 1;
    padding-left: 20px;
}

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

    .contact-form,
    .contact-details {
        padding: 0;
    }
}
/* General Styles */
body {
    font-family: 'Poppins', sans-serif; /* Ensure Poppins font is loaded */
    margin: 0;
    padding: 0;
}

/* Home Page Styles */
.home-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
}

.portfolio-image img {
    width: 300px; /* Adjust as needed */
    height: auto;
}

.home-content {
    padding-left: 50px; /* Space between image and content */
}

.name {
    color: red;
    font-size: 3em; /* Larger font size for the name */
    margin-bottom: 20px;
    font-family: 'Roboto', sans-serif; /* A different font for the name */
}

.motto {
    font-size: 1.5em;
    color: #333; /* A dark gray color for the motto */
    margin-bottom: 20px;
}

.bio {
    font-size: 1em;
    line-height: 1.6; /* Improved readability with increased line-height */
    color: #555; /* A slightly lighter gray color for the bio */
}
/* About Page Styles */
.about-section {
    display: flex;
    align-items: center; /* Vertically center content */
    justify-content: space-between; /* Space between content and image */
    padding: 50px;
}

.about-content {
    flex: 1; /* Allows content to take available space */
}

.about-content h2 {
    font-size: 2.5em;
    color: #333; /* Dark gray color for heading */
    margin-bottom: 30px;
}

.about-content p {
    font-size: 1.1em;
    color: #555; /* Slightly lighter gray color for text */
    margin-bottom: 20px;
    line-height: 1.6; /* Improved readability with increased line-height */
}

.about-image img {
    max-width: 100%; /* Image will not overflow its container */
    height: auto; /* Maintain aspect ratio */
}

/* Existing styles ... */

.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
}

.contact-details {
    flex: 1;
    background-color: #f7f7f7;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-form {
    flex: 1;
    padding-left: 20px;
}

.contact-form h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.5em;
    color: #333;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}

.contact-form input[type="submit"] {
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.contact-form input[type="submit"]:hover {
    background-color: #0056b3;
}

/* Adjust as needed */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }

    .contact-form,
    .contact-details {
        padding: 10px;
    }
}
/* Existing styles ... */

.portfolio-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.portfolio-item {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.portfolio-item img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.portfolio-item h3 {
    margin-top: 0;
    color: #333;
}

.portfolio-item p {
    color: #555;
}

/* Adjust as needed */
@media (max-width: 768px) {
    .portfolio-container {
        grid-template-columns: 1fr;
    }
}
