/* General styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f4ec; /* Adjusted background color for the body */
}

header {
    background-color: #D1CBB5;
    padding: 10px 0;
    border-bottom: 2px solid #4d4238;
}

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

header h1 {
    font-size: 24px;
    font-weight: bold;
    color: #4d4238;
}

nav a {
    color: #4d4238;
    margin: 0 15px;
    text-decoration: none;
    padding: 5px;
}

nav a:hover {
    text-decoration: underline;
}

/* Title section styles */

.title {
    text-align: center;
    padding: 50px 0; /* Adjusted padding for consistent spacing */
    background-color: #f8f4ec;
}

.title h2 {
    font-size: 2em;
    color: #4d4238;
    margin: 0;
}

/* About page styles */
.about {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 20px;
    background-color: #f8f4ec;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    flex: 1;
    padding-right: 20px;
}

.about-text p {
    font-size: 1.2em;
    color: #4d4238;
    line-height: 1.6;
    margin-bottom: 20px;
}

.profile-picture {
    flex: 1;
    max-width: 300px;
    margin: 0 auto;
}

.profile-picture img {
    width: 100%;
    height: auto;
    border-radius: 10px; /* Optional: to make the picture corners rounded */
}

/* Skills section styles */
.skills {
    padding: 50px 20px;
    background-color: #f8f4ec;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.skills h3 {
    font-size: 2em;
    color: #4d4238;
    margin-bottom: 20px;
}

.skills ul {
    list-style: none;
    padding: 0;
}

.skills ul li {
    font-size: 1.2em;
    color: #4d4238;
    margin: 10px 0;
}

.skills .button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #4d4238;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.skills .button:hover {
    background-color: #7a735a;
}

/* Contact form styles */
.contact-info {
    background-color: #f8f4ec;
    padding: 50px 0; /* Adjusted padding for consistent spacing */
    text-align: center;
}

.contact-info h2 {
    font-size: 2em;
    color: #4d4238;
    margin-bottom: 30px;
}

.contact-info .container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #a8a38f;
    border-radius: 10px;
}

.contact-info form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center; /* Center align all form elements */
}

.contact-info input[type="text"],
.contact-info input[type="email"],
.contact-info textarea,
.contact-info input[type="submit"] {
    width: 100%;
    max-width: 550px; /* Ensures all form elements have the same max-width */
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    background-color: #d1cbb5;
    color: #fff;
    text-align: center;
}

.contact-info textarea {
    resize: none; /* Prevent resizing */
}

.contact-info input[type="submit"] {
    background-color: #8e8767;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-info input[type="submit"]:hover {
    background-color: #7a735a;
}

footer {
    background-color: #D1CBB5;
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #ddd;
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.social {
    margin-top: 10px;
}

.social .button {
    display: inline-block;
    background-color: #4d4238;
    color: #fff;
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social .button:hover {
    background-color: #7a735a;
}
