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

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #f0f0f0;
}

.logo {
  margin: 0;
}

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

.nav-list {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

main {
  padding: 30px;
}

.page-title {
  text-align: center;
}

.about {
  display: flex;
  align-items: center;
  gap: 30px;
}

.about-image img {
  border-radius: 10px;
}

.footer {
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  background-color: #f0f0f0;
}

.project {
  display: flex;
  gap: 30px;
  align-items: center;
}

.project img {
  border-radius: 10px;
}

.resume {
  max-width: 800px;
  margin: auto;
}

.section {
  margin-bottom: 30px;
}

.section-title {
  border-bottom: 2px solid black;
  padding-bottom: 5px;
}

.entry {
  margin-bottom: 25px;
}

.entry-title {
  margin-bottom: 5px;
}

.entry-info {
  font-style: italic;
}

#contact-form {
  max-width: 500px;
  margin: auto;
}

#contact-form input,
#contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  box-sizing: border-box;
}

#contact-form textarea {
  height: 150px;
}

/* HTML selectors */
p {
  line-height: 1.6;
}

h2 {
  margin-bottom: 10px;
}

/* Class selectors */
.page-title {
  font-size: 32px;
}

.section-title {
  color: #333;
}

/* ID selectors */
#contact-form {
  padding: 20px;
}

/* Attribute selectors */
input[required] {
  border: 1px solid #555;
}

input[type="text"] {
  padding: 10px;
}

/* Child selector */
.nav-list > li {
  margin: 0;
}

/* Adjacent selector */
h1 + p {
  margin-top: 10px;
}

/* Pseudo classes */

/* Unvisited links */
a:link {
  color: blue;
}

/* Visited links */
a:visited {
  color: purple;
}

/* When a link is clicked */
a:active {
  color: red;
}

/* When the mouse is over a link */
a:hover {
  color: green;
  text-decoration: none;
}

/* When a form input is selected */
input:focus {
  border: 2px solid #555;
  outline: none;
}

textarea:focus {
  border: 2px solid #555;
  outline: none;
}

/* Grouping selectors */
h1,
h2,
h3 {
  font-family: Arial, sans-serif;
}

a,
button,
input[type="submit"] {
  cursor: pointer;
}

/* Nesting selectors */
.navbar a {
  text-decoration: none;
}

.about p {
  margin-bottom: 15px;
}

.resume .entry {
  margin-bottom: 25px;
}

.project .project-details {
  padding: 10px;
}

#contact-form input {
  margin-bottom: 10px;
}

#contact-form textarea {
  margin-bottom: 10px;
}

/* Specificity */

/* Element selector: specificity = 1 */
p {
  color: #333;
}

/* Class selector: specificity = 10 */
.entry-description {
  color: #555;
}

/* ID selector: specificity = 100 */
#contact-form {
  background-color: #f5f5f5;
}

/* More specific selector: specificity = 11 */
.resume p {
  font-size: 16px;
}

/* Even more specific selector: specificity = 21 */
.resume .entry-description {
  color: #222;
}

body {
  background-color: #f5f5f5;
  color: #222;
  font-family: Arial, sans-serif;
  font-size: 16px;
}

.page-title {
  color: #1f4e79;
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
}

.nav-list a {
  color: #1f4e79;
  text-decoration: none;
  font-weight: bold;
}

.entry-title {
  font-size: 20px;
  font-weight: bold;
}

.entry-info {
  font-style: italic;
}

.project-name {
  font-size: 22px;
  font-weight: bold;
}

.project-description {
  text-align: left;
}

.footer {
  color: #666;
  text-align: center;
}

.section-title {
  color: rgb(31, 78, 121);
}

body {
  margin: 0;
}

.navbar {
  padding: 20px 30px;
  border-bottom: 2px solid #1f4e79;
}

main {
  margin: 30px auto;
  padding: 20px;
  max-width: 1000px;
}

.page-title {
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 2px solid #1f4e79;
}

.about {
  padding: 20px;
  margin-bottom: 30px;
  border: 1px solid #ccc;
}

.project {
  padding: 20px;
  margin-bottom: 30px;
  border: 1px solid #ccc;
}

.resume {
  padding: 20px;
}

.section {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ccc;
}

.section-title {
  margin-bottom: 20px;
  padding-bottom: 10px;
}

.entry {
  margin-bottom: 30px;
  padding: 15px;
  border: 1px solid #ddd;
}

#contact-form {
  margin: 30px auto;
  padding: 25px;
  border: 1px solid #ccc;
}

.footer {
  margin-top: 40px;
  padding: 20px;
  border-top: 2px solid #1f4e79;
}

body {
  margin: 0 20px;
}

.navbar {
  margin: 0 0 20px;
  padding: 20px 30px;
  border-bottom: 2px solid #1f4e79;
}

main {
  margin: 30px auto;
  padding: 20px 30px;
}

.page-title {
  margin: 0 0 30px;
  padding: 0 0 10px;
  border-bottom: 2px solid #1f4e79;
}

.about {
  margin: 20px 0 30px;
  padding: 20px;
  border: 1px solid #ccc;
}

.project {
  margin: 20px 0 30px;
  padding: 20px;
  border: 1px solid #ccc;
}

.section {
  margin: 0 0 40px;
  padding: 0 0 20px;
  border-bottom: 1px solid #ccc;
}

.entry {
  margin: 0 0 30px;
  padding: 15px 20px;
  border: 1px solid #ddd;
}

#contact-form {
  margin: 30px auto;
  padding: 25px 30px;
  border: 1px solid #ccc;
}

.footer {
  margin: 40px 0 0;
  padding: 20px 30px;
  border-top: 2px solid #1f4e79;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 20px;
}

.about {
  display: flex;
  align-items: center;
  gap: 30px;
}

.about-image {
  display: block;
}

.about-text {
  display: block;
}

.project {
  display: flex;
  align-items: center;
  gap: 30px;
}

.project-details {
  display: block;
}

.skill-list,
.course-list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.skill-list li,
.course-list li {
  display: block;
}

.footer {
  display: block;
}
