/* Basic Reset and Font */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    background-color: #f4f4f4;
    color: #333;
}

/* Font size scaling on different screens */
html {
  font-size: clamp(16px, 2vw, 20px);
}


/* Link Color */
a:link {
  color: green;
  background-color: transparent;
  text-decoration: none;
}

/* When the screen is 768px wide or less (tablet/phone sizes) */
@media (max-width: 768px) {
  .left-pane {
    display: none;   /* Hide the image */
  }

  .right-pane {
    flex: 1;         /* Take full width */
    width: 100vw;    /* Ensure it spans the screen */
    height: auto;    /* Allow content height */
  }

  .container {
    flex-direction: column; /* Stack layout just in case */
  }
}

/* Main two-column container */
.container {
    display: flex;
    min-height: 100vh; /* Full height of the viewport */
}

/* Left side with the image */
.left-pane {
    flex: none;         /* Don't let it resize with flex */
    width: 50vw;        /* Take half the viewport width */
    height: 100vh;      /* Always fill the screen height */
    background-color: #e0e0e0;
    overflow: hidden;   /* Prevent scrollbars */
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the square area without distortion */
}

/* Right side with the text content */
.right-pane {
    flex: 1;
    padding: 40px;
    box-sizing: border-box;
    overflow-y: auto;   /* This will scroll instead of pushing layout */
    height: 100vh;      /* Match the left pane height */
}

h1 {
    margin-top: 0;
}

ul {
    padding-left: 20px;
}

hr {
    border: 0;
    border-top: 1px solid #ccc;
    margin: 20px 0;
}

/* Dropdown specific styles */
.dropdown {
    margin-bottom: 15px;
}

.dropdown-header {
    display: flex;
    justify-content: space-between; /* Pushes the title and '+' to opposite ends */
    align-items: center;
    cursor: pointer; /* Changes cursor to a hand to indicate it's clickable */
    padding: 10px 0;
}

.dropdown-header h2 {
    margin: 0;
    font-size: 1.2em;
    font-weight: normal;
}

.toggle-icon {
    font-size: 1.5em;
    font-weight: bold;
}

/* The content that gets shown/hidden */
.dropdown-content {
    display: none; /* Hidden by default */
    padding-left: 15px;
    border-left: 2px solid #ccc;
    margin-top: 5px;
}

.custom-list {
  /* Remove the default bullet points */
  list-style-type: none;
  /* Add space between each list item */
  /* This method adds space around the entire list item element */
  margin: 0;
  padding: 0;
}

.custom-list li {
  /* Use margin-bottom to create vertical space between list items */
  margin-bottom: 15px; /* Adjust this value as needed */

  /*
   * Alternatively, use line-height to control the spacing
   * This is useful if your list items have multiple lines of text
   */
  /* line-height: 1.8; */
}

/* Use the ::marker pseudo-element for modern browser support */
.custom-list li::marker {
  content: "> "; /* Sets the list item marker to a greater-than symbol */
  font-weight: bold; /* Optional: Make the marker stand out */
}