body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #222;
  background-color: #f8f8f8;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #1f2937;
}

.logo a {
  color: white;
  text-decoration: none;
}

.nav-list {
  display: flex;
  gap: 1rem;
  list-style: none;
}

.nav-list a {
  color: white;
  text-decoration: none;
}

main {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

.page-title {
  color: #1f2937;
}

.about {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.about-image img {
  max-width: 300px;
  height: auto;
}

.about-text {
  line-height: 1.6;
}

.project {
  margin-bottom: 2rem;
}

.project img {
  max-width: 300px;
  height: auto;
}

.entry {
  margin-bottom: 1.5rem;
}

.section-title {
  color: #1f2937;
  border-bottom: 2px solid #1f2937;
  padding-bottom: 0.25rem;
}

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 500px;
}

input,
textarea {
  padding: 0.5rem;
  font: inherit;
}

textarea {
  min-height: 120px;
}

input[type="submit"] {
  cursor: pointer;
  background-color: #1f2937;
  color: white;
  border: none;
}

footer {
  padding: 1rem;
  text-align: center;
  color: white;
  background-color: #1f2937;
}

/* HTML/tag selector: styles every paragraph */
p {
  line-height: 1.6;
}

/* Class selector: styles elements with class="section-title" */
.section-title {
  color: #1f2937;
}

/* ID selector: styles your contact form */
#contact-form {
  max-width: 500px;
}

/* Combined tag + class selector */
p.project-description {
  color: #4b5563;
}

/* Attribute selector: styles only text inputs */
input[type="text"] {
  border: 2px solid #1f2937;
}

/* Attribute selector: styles only email inputs */
input[type="email"] {
  border: 2px solid #1f2937;
}

/* Child selector: selects only navigation links in nav-list items */
.nav-list > li > a {
  font-weight: bold;
}

/* Adjacent selector: selects a paragraph immediately after an h1 */
h1 + p {
  margin-top: 0;
}

/* A link that has not been visited yet */
a:link {
  color: #2563eb;
}

/* A previously visited link */
a:visited {
  color: #7c3aed;
}

/* A link while the mouse is over it */
a:hover {
  color: #f59e0b;
  text-decoration: none;
}

/* A link while it is being clicked */
a:active {
  color: #dc2626;
}

/* A form field selected for typing */
input:focus,
textarea:focus {
  outline: 2px solid #2563eb;
  border-color: #2563eb;
}

/* Font family and main text color */
body {
  font-family: "Helvetica", "Arial", sans-serif;
  color: #1f2937;
  background-color: #f8fafc;
}

/* Hexadecimal color, font size, weight, and alignment */
.page-title {
  color: #0f3d5e;
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
}

/* Text transform */
.section-title {
  text-transform: uppercase;
  font-size: 1.25rem;
  color: rgb(30, 64, 175);
}

/* Font style */
.about-text em {
  font-style: italic;
}

/* Text decoration */
a {
  text-decoration: none;
}

/* Put underline back on links when hovering */
a:hover {
  text-decoration: underline;
}

/* Navigation colors and text alignment */
.navbar {
  background-color: #0f172a;
  text-align: center;
}

.navbar a {
  color: white;
}

/* Footer color and alignment */
footer {
  background-color: #0f172a;
  color: white;
  text-align: center;
}

/* Margin: space outside the main content area */
main {
  margin: 2rem auto;
  padding: 2rem;
}

/* Padding and border for each resume/project entry */
.entry,
.project {
  margin-bottom: 1.5rem;
  padding: 1rem;
  border: 1px solid #cbd5e1;
}

/* Border under every resume section title */
.section-title {
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid #2563eb;
}

/* Space and border around the profile image */
.about-image img {
  padding: 0.5rem;
  border: 3px solid #0f3d5e;
}

/* Padding and border for contact fields */
input,
textarea {
  margin-bottom: 0.75rem;
  padding: 0.75rem;
  border: 1px solid #94a3b8;
}