body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.container {
  width: 50%;
  margin: 0 auto;
  padding: 20px;
  text-align: center; /* Override center alignment for container content */
}

header {
  background-color: #fff;
  color: #000;
  padding: 0;
  margin-bottom: 10px;
}

header h1 {
  color: #000;
  margin: 0;
  font-size: 25px; /* Updated font size */
  font-weight: bold;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #ccc; /* Ensure this matches .line-break */
  width: 100%; /* Ensure full width */
}

nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  text-align: right;
}

nav ul li {
  display: inline;
  margin-left: 50px;
}

nav ul li:first-child {
  margin-left: 0;
}

nav ul li a {
  color: #000;
  text-decoration: none;
}

main {
  padding: 0px 0; /* Adjusted padding-top and padding-bottom */
}

section#home,
section#about,
section#portfolio,
section#contact {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

section#info,
section#about .container,
section#portfolio .container,
section#contact .container {
  margin-left: 100px; /* Adjust margin for spacing */
  margin-top: 0px; /* Adjust margin for spacing */
}

.line-break {
  border-top: 1px solid #ccc;
  margin: 20px auto;
}

section#info p,
section#about p,
section#portfolio p,
section#contact p {
  margin-top: -15px; /* Adjust margin for less space */
}

/* Footer Styles */
footer {
  background-color: #fff;
  color: #000;
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid #ccc;
}

footer {
  width: 50%;
  margin: 0 auto;
  padding: 0px;
}

/* Adjust the size of the picture */
footer img {
  max-width: 200px;
  height: auto;
  padding-left: 50px;
}

/* Form Styles */
.form-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%; /* Full width for form */
  max-width: 600px;
}

.form-group {
  width: 100%; /* Full width for form group */
  margin-bottom: 15px; /* Space between form groups */
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  text-align: left; /* Align label text to the left */
  width: 100%; /* Full width for label */
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box; /* Ensures padding and border are included in the element's total width and height */
}

input[type="submit"] {
  background-color: #4CAF50;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 10px; /* Add margin to separate from the fields */
}

/* Center the button horizontally */
input[type="submit"] {
  display: block;
  margin: 0 auto;
  margin-top: 20px; /* Add margin to separate from the fields */
}

input[type="submit"]:hover {
  background-color: #45a049;
}

/* Center content on the contact page */
#contact .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#contact .container form {
  width: 100%;
  max-width: 600px; /* Optional: Add a max-width for the form to prevent it from being too wide */
  text-align: left; /* Left align the text inside the form */
}

section#about {
  margin-top: 0px; /* Adjust margin as needed */
}

section#about .container {
  width: 50%; /* Match the width of other containers */
  margin: 0 auto;
}

section#about h2 {
  text-align: center;
  margin-left: 20px; /* Add left margin */
}

section#about p {
  font-size: 16px;
  line-height: 1.6;
  text-align: justify;
}

/* Page Break */
.line-break {
  border-top: 1px solid #ccc;
  margin: 0px auto;
  width: 100%; /* Match the width of other line breaks */
}

/* Plain Link Styles */
.plain-link {
  color: inherit; /* Inherit color from parent */
  text-decoration: none; /* Remove underline */
}

.plain-link:hover {
  color: inherit; /* Inherit color from parent on hover */
  text-decoration: none; /* Remove underline on hover */
}
