:root {
  /* Light Theme Colors */
  --background-1: rgba(230, 230, 230, 1);
  --color-1: rgba(0, 0, 0, 1);
  --color-2: rgba(90, 90, 90, 1);
  --border-color: rgba(0, 0, 0, 0.1);

  /* Common Theme Variables */
  --bold: 600;
  --extrabold: 800;
  --font-family: "Open Sans", sans-serif;
  --fam1: "Poppins", sans-serif;
  --fam2: "Lusitana", serif;
  --heading: 36px;
  --navlink: 28px;
  --subheading: 21px;
  --paragraph: 22px;
}

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

body,
html {
  min-height: 100vh;
  background: var(--background-1);
  font-family: var(--font-family);
  scroll-behavior: smooth;
}

.navlink {
  font-weight: var(--extrabold);
  text-decoration: none;
  color: var(--color-2);
  font-size: var(--navlink);
  font-family: var(--fam2);
}

.navlink:hover {
  color: var(--color-1);
}

.mb10 {
  margin-bottom: 10px;
}

.mt20 {
  margin-top: 20px;
}

.heading {
  font-size: var(--heading);
  font-family: var(--fam1);
  font-weight: var(--extrabold);
  color: var(--color-1);
  line-height: 1.45;
}

.subheading {
  font-weight: var(--normal);
  font-size: var(--subheading);
  font-family: var(--fam2);
  line-height: 1.45;
  color: var(--color-1);
}

.content-1280 {
  max-width: 1280px;
  width: 100%;
  margin: auto;
}

main {
  display: flex;
}
.intro-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - 174px);
}

.sections {
  width: 50%;
  padding: 0 90px;
}

section {
  padding: 0px 0;
  width: 100%;
}

header {
  padding: 20px 0;
  position: sticky;
  top: 0;
  background: var(--background-1);
  z-index: 10;
}

header ul {
  list-style: none;
  width: 100%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

header ul li:not(:last-of-type) {
  margin-right: 20px;
}

.intro-meta {
  width: 50%;
  height: calc(100vh - 116px);
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  justify-content: center;
  background: var(--background-2);
}

.intro-meta img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

@media screen and (max-width: 768px) {
  main {
    flex-direction: column;
  }

  .intro-meta {
    width: 100%;
    order: -1;
    height: auto;
    position: relative;
    padding-bottom: 0; /* Remove padding below the image */
  }

  .intro-meta img {
    width: 100%;
    height: auto;
    max-height: 45vh;
  }

  .sections {
    width: 100%;
    padding: 0 20px;
  }

  .intro-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: auto;
  }

  .heading {
    font-size: 28px;
    margin-top: 25px;
  }

  .navlink {
    font-size: 25px;
    margin-top: 20px;
  }
  .subheading p {
    font-size: 20px;
    margin-top: 20px;
  }
}
/* Dark Mode Styles */
@media (prefers-color-scheme: dark) {
  :root {
    /* Dark Theme Colors */
    --background-1: #1e1e1e; /* Dark background */
    --color-1: #fffffff8; /* Light text */
    --color-2: #ffffffcc; /* Light grey text */
    --border-color: rgba(255, 255, 255, 0.1);
  }

  /* Update specific properties that need to change in dark mode */
  body,
  html {
    background: var(--background-1);
    color: var(--color-1);
  }

  .nav-link {
    color: var(--color-2);
  }

  .nav-link:hover {
    color: var(--color-1);
  }

  /* Any other elements that need specific dark mode styling */
}
