* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #fbfbfb;
  color: #333;
  line-height: 1.6;
  min-width: 340px;
  padding: 20px;
}

header {
  text-align: center;
  margin-bottom: 40px;
}

header h1 {
  font-size: 2.8em;
  color: #333;
  margin-bottom: 10px;
}

header p {
  font-size: 1.2em;
  color: #666;
  margin-bottom: 20px;
  text-align: center;
}

main {
  max-width: 800px;
  min-width: 280px;
  margin: 0 auto;
}

section {
  margin-bottom: 40px;
}

section p {
  font-size: 1em;
  color: #666;
  margin-bottom: 7px;
  text-align: justify;
}

#about {
  border-radius: 8px;
  overflow: auto;
  margin-bottom: 20px;
}

.about-content {
  display: flex;
}

.about-text {
  padding-top: 10px;
  padding-bottom: 10px;
}

.profile-pic {
  width: 300px;
  height: 335px;
  border-radius: 8px;
  object-fit: cover;

  margin-right: 20px;
  float: left;
}

@media (max-width: 768px) {
  .about-content {
    display: block;
  }

  .profile-pic {
    float: none;
    display: block;
    margin: 0 auto 20px;
  }
}

h2 {
  font-size: 1.8em;
  color: #2a4365;
  margin-bottom: 10px;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 10px;
}

h3 {
  font-size: 1.5em;
  color: #2b6cb0;
  margin-bottom: 5px;
}

ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

ul li {
  margin-bottom: 8px;
  color: #444;
}

#contact  {
  background-color: #edf2f7;
  padding: 18px;
  border-radius: 8px;
  text-align: center;
}
#contact p {
  text-align: center;
}

#contact h2 {
  font-size: 1.8em;
  color: #2a4365;
  margin-bottom: 20px;
}

#contact a {
  color: #2b6cb0;
  text-decoration: none;
  font-weight: bold;
  margin: 0 10px;
}

#contact a:hover {
  text-decoration: underline;
}

footer p {
  text-align: center;
  margin-top: 40px;
  font-size: 0.9em;
  color: #666;
  float: bottom;
}


@media (max-width: 768px) {
  header h1 {
    font-size: 2em;
    float: center;
  }
}


