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

body {
  font-family: 'Nunito', sans-serif;
  background-color: #ffffff;
  color: #000000;
}

/* Responsive Header */
.header {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #86d3ff;
  padding: 0px 120px;
}

.header a {
  color: black;
  text-align: center;
  padding: 12px;
  text-decoration: none;
  font-size: 24px;
  line-height: 25px;
  border-radius: 4px;
}

.header a.logo {
  font-weight: bold;
  margin-right: 3px;
}

.logo-image {
  width: 80px;
  height: auto;
  margin-right: 30px;
  margin-left: 30px;
}

.header-right {
  display: flex;
  justify-content: space-between;
  flex-grow: 1;
}

.header-right a {
  margin: 0 20px;
}

.header a:hover {
  color: grey;
}

.header a.active {
  background-color: transparent;
  color: black;
}

/* Intro and content styling */
.intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin: 40px auto;
  max-width: 1000px;
}

.content {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.text-content {
  max-width: 600px;
  text-align: left;
}

.profile-photo {
  width: 400px;
  height: 400px;
  border-radius: 15px;
  margin-left: 20px;
}

.intro h1 {
  font-size: 70px;
  margin-bottom: 10px;
}

.intro .subheading {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 20px;
}

.intro .description {
  font-size: 24px;
  line-height: 1.6;
}

/* Responsive styling for mobile */
@media screen and (max-width: 768px) {
  /* Header adjustments */
  .header {
    flex-direction: column;
    padding: 10px;
  }

  .header a {
    float: none;
    display: block;
    text-align: center;
    padding: 8px;
  }

  .header-right {
    flex-direction: column;
    align-items: center;
  }

  /* Stack text first, then image in the intro */
  .intro {
    flex-direction: column;
    align-items: center;
    margin: 20px auto;
    padding: 0 20px;
  }

  .text-content {
    max-width: 100%;
    text-align: center;
  }

  .profile-photo {
    width: 80%; /* Resize image for mobile */
    height: auto; /* Maintain aspect ratio */
    margin-left: 0;
    margin-top: 20px; /* Space below the text */
  }

  /* Adjust font sizes for readability on mobile */
  .intro h1 {
    font-size: 40px;
    margin-bottom: 10px;
  }

  .intro .subheading {
    font-size: 28px;
    margin-bottom: 16px;
  }

  .intro .description {
    font-size: 18px;
    line-height: 1.5;
  }
}
