body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #333; /* Dark background color */
  color: #fff; /* Light text color */
  position: relative; /* Ensure body is positioned relative for pseudo-elements */
}

body::before, body::after {
  content: '';
  position: fixed;
  top: 0;
  bottom: 0;
  width: 2px;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto; /* Center the container */
  box-sizing: border-box; /* Include borders in the element's total width and height */
  position: relative; /* Ensure container is positioned relative for pseudo-elements */
}

.container::before, .container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #fff;
}

.container::before {
  left: 0;
}

.container::after {
  right: 0;
  z-index: -1;
}

.header {
  height: 360px; /* Adjust height as needed */
  background-image: url('../images/cover.jpg');
  background-size: cover;
  background-position: bottom;
  position: relative;
}

.profile {
  position: absolute;
  bottom: -120px; /* Adjust to overlap 50% */
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 5px solid #fff;
  width: 240px; /* Updated profile photo size */
  height: 240px; /* Updated profile photo size */
  overflow: hidden;
}

.profile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content {
  margin-top: 96px; /* Adjust to accommodate the profile photo with a 12px gap */
  padding: 20px;
  text-align: center; /* Center content horizontally */
}

.content hr {
  border: 0;
  height: 1px;
  background-color: #888; /* Grey horizontal line */
  margin: 40px 0; /* Margin to separate lines from content */
}

h1 {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.footer {
  text-align: center;
  margin-top: 20px;
  padding: 20px 0;
  border-top: 1px solid #fff; /* Grey horizontal line */
}

/* Media query for small devices */
@media (max-width: 767px) {
  .container {
    width: 100%;
  }
  .container::before, .container::after {
    display: none; /* Remove border for small devices */
  }
  h1 {
    margin-top: 20px; /* Adjust margin-top as needed */
    margin-bottom: 10px;
  }
}

/* Media query for medium devices */
@media (min-width: 768px) and (max-width: 991px) {
  .container {
    width: 90%;
  }
}

/* Media query for large devices */
@media (min-width: 992px) {
  .container {
    width: 80%;
  }
}
