/*This code was genarated and upgraded with the help of chatgpt*/
/* General styles (mobile-first) */
body {
  background-color: #f5f5f5;
  font-family: 'Times New Roman', Times, serif;
  margin: 0;
  padding: 0;
}

/* Heading styles */
h1, h2, h3 {
  color: #000000;
  margin-bottom: 0.5em;
}

/* Paragraph styles */
p {
  color: #f3f2f2;
  line-height: 1.6;
  margin: 0 0 1em;
}

/* Link styles for accessibility */
a {
  color: #0066cc;
  text-decoration: underline;
}

a:hover {
  text-decoration: underline;
}

/* Navigation bar */
header {
  background-color: #333;
  color: white;
  padding: 1rem;
  text-align: center;
}

nav {
  background-color: #333;
  padding: 10px 20px;
}

.nav-list,
nav ul {
  display: flex;
  flex-direction: column; /* Mobile-first stacked nav */
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-list li,
nav ul li {
  margin: 0 0.5rem;
    padding: 0 0.5rem;
    border-right: 1px solid white;
}

/* Remove the right border from the last item */
nav ul li:last-child {
  border-right: none;
}

.nav-list a,
nav ul li a {
  text-decoration: none;
  color: white;
  transition: background 0.3s ease;
}

.nav-list a:hover,
nav ul li a:hover {
  background-color: #555;
  border-radius: 5px;
}

/* Hero Section */
.hero {
  background-color: #E3BC9A;
  padding: 60px 20px;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.5em;
  margin-bottom: 0.5em;
  color: #070707;
}

.hero p {
  font-size: 1.2em;
  color: #131d1b;
}

/* Intro section */
.intro {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background-color: #E3BC9A;
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 2rem;
}

.intro-left,
.intro-side {
  width: 100%;
  text-align: center;
}

.about-text h2 {
  margin-top: 0;
}

.my-image img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 50%;
  border: 3px solid #333;
  object-fit: cover;
}

.intro-cont {
  background-color: #e0e0e0;
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
}

/* Footer */
footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 1rem;
}

/* Responsive design for tablets/desktops */
@media (min-width: 768px) {
  .nav-list,
  nav ul {
      flex-direction: row;
      justify-content: center;
  }

  .nav-list li,
  nav ul li {
      margin: 0 1rem;
  }

  .intro {
      flex-direction: row;
      justify-content: space-between;
      align-items: flex-start;
      text-align: left;
  }

  .intro-left,
  .intro-side {
      width: 48%;
  }

  .my-image {
      text-align: center;
  }

  .content h2 {
      font-size: 1.5rem;
  }
}
