/* General styles */
body {
  font-family: Arial, sans-serif;
  background-color: #f4f7f9;
  color: #333;
  margin: 0;
  padding: 0;
}

.container {
  width: 80%;
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

/* Header styles */
h1 {
  text-align: center;
  font-size: 2.5em;
  color: #2c3e50;
  margin-bottom: 0.5em;
}

hr {
  border: 0;
  border-top: 2px solid #2c3e50;
  margin: 1em 0;
}

/* Section titles */
h2 {
  font-size: 1.75em;
  color: #34495e;
  text-align: center;
  border-bottom: 2px solid #ecf0f1;
  padding-bottom: 0.3em;
  margin-top: 1em;
}

/* Personal Info Flexbox */
.personal-info {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

/* Profile Picture Styles */
.profile-pic img {
  width: 120px;
  height: 120px;
  border-radius: 50%; /* Makes the image round */
  object-fit: cover;
  border: 3px solid #2c3e50; /* Optional border */
  margin-right: 20px; /* Space between image and text */
}

/* Info Text Styles */
.info-text p {
  font-size: 1em;
  color: #34495e;
  margin: 5px 0;
}

/* Links */
a {
  color: #2980b9;
  text-decoration: none;
  font-weight: bold;
}

a:hover {
  color: #3498db;
  text-decoration: underline;
}

/* Background highlight for sections */
.container h2 {
  background-color: #ecf0f1;
  padding: 10px;
  border-radius: 5px;
  box-shadow: inset 0 -2px 0 rgba(44, 62, 80, 0.1);
}

/* Responsive styling */
@media (max-width: 600px) {
  .container {
    width: 90%;
    padding: 10px;
  }

  h1 {
    font-size: 2em;
  }

  h2 {
    font-size: 1.5em;
  }

  .profile-pic img {
    width: 80px;
    height: 80px;
  }

  .info-text p {
    font-size: 0.9em;
  }
}