/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Geo:ital@0;1&family=Roboto:ital,wght@0,100..900;1,100..900&family=Tektur:wght@400..900&display=swap');
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css");

/*--------------------------------------------------------------
# CSS Variables
--------------------------------------------------------------*/
:root {
  /* Colors */
  --blue: #0081AF;       /* Active button color */
  --blue-hover: #338eb7; /* Brighter blue for hover */
  --green: #386641;      /* Before button color */
  --green-hover: #42784D; /* Brighter green for hover */
  --yellow: #ffb345;     /* Yellow title */
  --yellow-hover: #ffcb87;     /* Yellow hover */
  --dark-gray: #232A34;  /* Sidebar dark gray */
  --darker-gray: #1F2937; /* Header background */
  --light-green: #d4edda; /* LO green */
  --lighter-gray: #6B7280; /* Default sidebar link */
  --lightest-gray: #A0AEC0; /* After button color */
  --codebackground-gray: #F4F7F6;
  --body-bg: #F9FAFB;
  --body-text: #1F2937;
  --purple: #552E59;     /* Definition box accent */
  --bright-purple: #88498f;
  --orange: #F97316;     /* Expandable box accent */
  --dark-text-accent: #374151;
  
  /* Spacing */
  --sidebar-width: 190px;
  --header-height: 70px;
  --content-padding: 30px;
  
  /* Font Families */
  --font-primary: Roboto, sans-serif;
  --font-header: "Tektur", sans-serif;
  --font-accent: "Geo", sans-serif;
  --font-code: 'Courier New', Courier, monospace;
  
  /* Border Radius */
  --border-radius: 8px;
  font-header
  /* Box Shadow */
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --box-shadow-inset: inset 0px 0px 5px rgba(0, 0, 0, 0.3);
}

/*--------------------------------------------------------------
# Basic Elements
--------------------------------------------------------------*/
body {
  display: flex;
  background: var(--body-bg);
  font-family: var(--font-primary);
  color: var(--body-text);
  margin-left: var(--sidebar-width);
  padding: var(--content-padding);
  padding-top: var(--header-height);
}

body.sidebar-collapsed {
  margin-left: 10px;
}

p {
  font-size: 1.2em;
}

.content {
  padding: var(--content-padding);
  flex-grow: 1;
  min-height: 500px;
}

ul {
  font-size: 1.2em;
  list-style-type: disc;
  padding-left: 20px;
}

ul li {
  margin-bottom: 8px;
}

img {
  max-width: 100%;
  height: auto;
  margin-right: 15px;
  border-radius: 5px;
}

blockquote {
  border-left: 4px solid black;
  padding: 5px 20px;
  margin: 10px 0;
  font-style: italic;
  color: var(--dark-text-accent);
}

blockquote p {
  margin: 0;
}

a {
  color: var(--orange);
  text-decoration: none;
}

a:hover {
  color: var(--yellow);
  text-decoration: none;
}


green-text {
  color: var(--green);
}

blue-text {
  color: var(--blue);
}

yellow-text {
  color: var(--yellow);
}

purple-text {
  color: var(--purple);
}

yellow-text code {
  background-color: var(--yellow);
  color: #2E1D05;
  font-size: 1.25rem;
  font-weight: bold;
}

green-text code {
  background-color: var(--green);
  color: #eaefea;
  font-size: 1.25rem;
  font-weight: bold;
}

blue-text code {
  background-color: #00698F;
  color: #F2F3F5;
  font-size: 1.25rem;
  font-weight: bold;
}

purple-text code {
  background-color: var(--purple);
  color: #EAE6EB;
  font-size: 1.25rem;
  font-weight: bold;
}


.task-checkbox {
  width: 24px;
  height: 24px;
  margin-right: 15px;
  cursor: pointer;
  accent-color: #8f929f;
}


.gif-container {
  position: relative;
  display: inline-block;
}

.gif-toggle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* center */
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 28px;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;                /* hidden by default */
  transition: opacity 0.2s;
}

.gif-container:hover .gif-toggle {
  opacity: 1;                /* show on hover */
}



/*--------------------------------------------------------------
# Code Styling
--------------------------------------------------------------*/
/* Block Code (inside <pre><code>) */
pre {
  background-color: #2D2D2D;
  color: #F5F5F5;
  padding: 16px;
  margin-bottom: 20px;
  border-radius: var(--border-radius);
  overflow-x: auto;
  font-family: var(--font-code);
  font-size: 1rem;
  line-height: 1.2;
  box-shadow: var(--box-shadow-inset);
  white-space: pre-wrap;
  word-wrap: break-word;
  max-width: 100%;
}

pre code {
  display: block;
  white-space: pre-wrap;
  word-wrap: break-word;
  background-color: transparent;
  color: inherit;
}

pre code .folder {
  color: #10B981;
}

pre + p {
  margin-top: 30px;
  margin-bottom: 30px;
}

/* Inline Code Styling - Apply only to code not inside pre */
code {
  background-color: var(--codebackground-gray);
  color: #4B5563;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-code);
  font-size: 1.1rem;
  line-height: 1.4;
  box-shadow: inset 1px 1px 4px rgba(0, 0, 0, 0.1);
}

h1 code {
    font-size: 1.8rem;
}

h2 code {
    font-size: 1.3rem;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--darker-gray);
  color: var(--yellow);
  font-family: var(--font-header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  box-shadow: var(--box-shadow);
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
  margin-right: 10px;
  border-radius: 5px;
}

.logo a {
  color: var(--yellow);
  text-decoration: none;
  display: flex;
  align-items: center;
}

/* Navigation Menu */
.nav-menu {
  font-family: var(--font-header);
  list-style: none;
  margin: 0 40px 0 0;
  padding: 0;
  display: flex;
  border-radius: var(--border-radius);
}

.nav-menu li {
  position: relative;
  list-style: none;
}

/* Dropdown Menu */
.dropdown a {
  color: var(--yellow);
  font-family: var(--font-header);
  text-decoration: none;
  padding: 10px 15px;
  display: block;
  background: #464e5b;
  transition: background 0.3s;
  border-radius: var(--border-radius);
}

.dropdown a:hover {
  background: var(--darker-gray);
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background: var(--darker-gray);
  top: 40px;
  right: 0px;
  white-space: nowrap;
  padding: 5px 0 0 0;
  overflow: hidden;
  border-radius: var(--border-radius);
  border-top-right-radius: 0;
}

.dropdown-content li {
  width: 100%;
  margin: 0;
  padding: 0;
}

.dropdown-content a {
  color: white;
  font-family: var(--font-primary);
  padding: 10px 15px;
  text-decoration: none;
  display: block;
  background-color: var(--darker-gray);
  border-left: 5px solid transparent;
  transition: background 0.3s, border-color 0.3s;
  border-radius: 0;
}

.dropdown-content a.bg-blue {
  border-left: 5px solid var(--blue);
}

.dropdown-content a.bg-blue:hover {
  border-left: 5px solid #00B8FB;
}

.dropdown-content a.bg-green {
  border-left: 5px solid var(--green);
}

.dropdown-content a.bg-green:hover {
  border-left: 5px solid #44AB59;
}

.dropdown-content a.bg-gold {
  border-left: 5px solid var(--yellow);
}

.dropdown-content a.bg-gold:hover {
  border-left: 5px solid #ffdaab;
}

.dropdown-content a.bg-purple {
  border-left: 5px solid var(--purple);
}

.dropdown-content a.bg-purple:hover {
  border-left: 5px solid #967c99;
}

.dropdown-content li:first-child a {
  border-top-left-radius: var(--border-radius);
}

.dropdown-content li:last-child a {
  border-bottom-left-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);
}

.dropdown:hover .dropdown-content {
  display: block;
}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
.sidebar-container {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  display: flex;
  align-items: flex-start;
  z-index: 1000;
}

.sidebar {
  width: var(--sidebar-width);
  background: var(--darker-gray);
  padding: 18px;
  padding-top: 35px;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: var(--header-height);
  left: 0;
  height: calc(100vh - var(--header-height));
  overflow-y: auto;
  z-index: 1000;
  transition: transform 0.3s ease;
}

.sidebar.collapsed {
  transform: translateX(-100%);
}

#sidebar-toggle {
  position: fixed;
  top: 75px;
  left: var(--sidebar-width);
  z-index: 1100;
  background-color: var(--darker-gray);
  color: white;
  border: none;
  padding: 0.3rem 0.5rem;
  border-radius: 5px;
  cursor: pointer;
  transition: left 0.3s ease, right 0.3s ease;
  font-size: 1.1rem;
}

#sidebar-toggle:hover {
  color: var(--yellow);
}

body.sidebar-collapsed #sidebar-toggle {
  left: 7px;
  right: auto;
  padding: 0.4rem 0.66rem;
}

.sidebar a {
  text-decoration: none;
  padding: 10px;
  color: white;
  display: block;
  margin: 5px 0;
  background: var(--lighter-gray);
  text-align: center;
  border-radius: 5px;
  transition: background 0.3s, color 0.3s;
}

.sidebar a.active {
  background: var(--blue);
  color: white;
  font-weight: 1.25em;
}

.sidebar a.before {
  background: var(--green);
  color: white;
}

.sidebar a.after {
  background: var(--lightest-gray);
  color: white;
}

.sidebar a.active:hover {
  background: var(--blue-hover);
}

.sidebar a.before:hover {
  background: var(--green-hover);
}

.sidebar a.after:hover {
  background: var(--lighter-gray);
}

.sidebar a:hover {
  background: #4B5563;
}

/*--------------------------------------------------------------
# Landing Page
--------------------------------------------------------------*/
.landing-page {
  background: var(--body-bg);
  margin: var(--header-height) 70px 0 70px;
}

.landing-section {
  background: var(--body-bg);
  border: 1.5px;
  /*border: 1.5px solid #f5f5f5;*/
  border-radius: var(--border-radius);
  border-left: 8px solid var(--border-left-color, green);
  transition: border-color 0.2s ease;
  padding: 20px;
  margin: 10px 0 30px 0;
  box-shadow: var(--box-shadow);
  display: flex;
  flex-wrap: wrap;
  align-content: center;
}

.landing-section h2 {
    font-size: 1.6em;
}

.landing-section:hover {
  border-left-color: color-mix(in srgb, var(--border-left-color) 80%, white);
}

/* Button Styling */
.landing-page-button {
  display: inline-block;
  text-decoration: none;
  margin: 10px;
  border-radius: var(--border-radius);
  text-align: center;
  width: calc(33.33% - 36px);
  box-sizing: border-box;
}

.landing-page-button .button-image {
  display: block;
  width: 100%; 
  height: auto;
  border-radius: var(--border-radius);
  transition: transform 0.3s;
}

.landing-page-button:hover .button-image {
  transform: scale(1.01);
}

/* Title Styling */
.project-title {
  margin-top: 10px;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--body-text);
  text-align: center;
}

/*--------------------------------------------------------------
# Green Content Boxes
--------------------------------------------------------------*/
.green-content-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background: #E5EFE7;
  padding: 15px;
  border-radius: var(--border-radius);
  margin: 15px 0;
  border: 1px solid #155724;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  transition: opacity 0.3s, background 0.3s;
  position: relative;

}

.green-content-box img {
  max-width: 100%;
  height: auto;
  padding: 5px;
  display: block;
  border-radius: 5px;
  flex: 1 1 100%;
}

.green-content-box special img {
  max-width: 20%;
  height: auto;
  padding: 5px;
  display: block;
  border-radius: 5px;
  flex: 1 1 100%;
}

.green-content-box h3 {
  margin: 10px 0;
  color: var(--green);
  font-size: 1.3em;
  flex: 1 1 100%;
}

.green-content-box h3 code{
  background: #B2D5B9;
  color: var(--green);
  font-size: 1em;
}

.green-content-box h2 {
  margin: 10px 0;
  color: var(--green);
  font-size: 1.1em;
  flex: 1 1 100%;
}

.green-content-box .task-checkbox{
  position: absolute;
  top: 15px;
  right: 15px;
  margin: 0;
}

.green-content-box pre {
  background-color: var(--green);
  color: #f8fafb;
}

.green-content-box pre code {
  background-color: transparent;
  color: inherit;
}

.green-content-box code {
  background: #B2D5B9;
  color: #000000;
}

.green-content-box.checked {
  background: #ccc;
  opacity: 0.5;
  border: 1px solid var(--green);
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.green-content-box.checked h3 {
  color: #000000;
}

.green-content-box.checked h2 {
  color: #000000;
}

.green-content-box.checked pre {
  background: #333;
  color: #ccc;
}

.green-content-box.checked pre code {
  background-color: transparent;
  color: inherit;
}

.green-content-box.checked code {
  background: #ddd;
  color: #333;
}

.green-content-box a {
  color: var(--green);
  text-decoration: none;
}

.green-content-box a:hover {
  color: #274a2f;
  text-decoration: none;
}

.green-content-box.checked a {
  color: var(--dark-gray);
  text-decoration: none;
}

.green-content-box.checked a:hover {
  color: #000000;
  text-decoration: none;
}

.green-content-box ul {
  list-style-type: disc;
  padding-left: 30px;
  font-size: 1.1em
}

.green-content-box ul li {
  margin-bottom: 12px;
}

.green-content-box ul ul li{
    font-size: 0.9em;
    list-style-type: circle;
}

.green-content-box ul ul ul li{
    font-size: 0.8em;
    list-style-type: square;
}

.green-content-box strong {
  font-size: 1.1rem;
  font-weight: 1.2em;
}

/*--------------------------------------------------------------
# Definition Boxes (purple border)
--------------------------------------------------------------*/
.definition-box {
  background: #F2E8F3;
  border-left: 5px solid var(--purple);
  padding: 15px;
  margin: 20px 0;
  border-radius: var(--border-radius);
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  font-size: 1.2rem;
  font-weight: 1.2rem;
  color: var(--dark-text-accent);
  display: flex;
  align-items: center;
  line-height: 180%;
}

.definition-box .icon {
  font-size: 30px;
  color: var(--purple);
  margin-right: 20px;
}

.definition-box strong {
  color: var(--purple);
}

.definition-box pre {
  background: var(--purple);
}


.definition-box code {
  background: #d2cad3;
}

/*--------------------------------------------------------------
# Expanding Boxes (orange)
--------------------------------------------------------------*/
.expandable-box {
  background: #FFFAF0;
  border-left: 5px solid var(--orange);
  border-radius: var(--border-radius);
  overflow: hidden;
  margin: 20px 0;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.expandable-header {
  background: #FFF7E6;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.4rem;
  transition: background 0.3s;
  color: var(--dark-text-accent);
}

.expandable-header code{
  background-color: #F9D9A8;
  color: var(--dark-text-accent);
  font-size: 1em;
  font-weight: 0.8em;
}

.expandable-content pre {
  background-color: var(--orange);
  color: white;
  font-size: 1rem;
  font-weight: 1.2em;
}

.expandable-content pre code {
  background-color: transparent;
  color: inherit;
}

.expandable-content code {
  background-color: #FFF7E6;
  color: var(--dark-text-accent);
}

.expandable-content ul ul li{
    font-size: 0.8em;
    list-style-type: circle;
}

.expandable-box.open .expandable-header {
  background-color: #F9D9A8;
}

.expandable-box.open .expandable-header code{
 background-color: #FFFAF0;
}


.expandable-header .icon {
  font-size: 30px;
  transition: transform 0.3s;
  color: var(--orange);
  margin-right: 10px;
}

.expandable-box.open .expandable-header .icon {
  transform: rotate(45deg);
}

.expandable-header .info-icon {
  font-size: 35px;
  margin-right: 25px;
  color: var(--orange);
}

.expandable-header .header-text {
  flex-grow: 1;
}

.expandable-content {
  display: none;
  padding: 12px 30px;
  background: #fbf9f4;
}

.expandable-box.open .expandable-content {
  display: block;
}

.expandable-header:hover {
  background: #F9D9A8;
}

.expandable-header:hover code{
  background-color: #FFFAF0;
}


/*--------------------------------------------------------------
# Learning Objectives Boxes
--------------------------------------------------------------*/
.learning-objectives-box {
  border: 2px solid var(--yellow);
  border-radius: var(--border-radius);
  padding: 16px;
  margin: 10px 0;
}

.learning-objectives-header {
  font-size: 1.4em;
  font-weight: 1.5em;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.learning-objectives-header span {
  font-size: 1.4em;
}

.learning-objectives-content {
  margin-top: 12px;
  color: var(--body-text);
}

.learning-objectives-box .task-checkbox {
  margin-right: 12px;
  accent-color: var(--yellow);
}

.learning-objectives-box .task-checkbox:checked + label {
  text-decoration: line-through;
}

.learning-objectives-content ul {
  padding-left: 0;
  list-style-type: none;
  font-size: 1.1em;
}

.learning-objectives-content li {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.learning-objectives-content li label {
  font-size: 1.2em;
}

/*--------------------------------------------------------------
# iFrames
--------------------------------------------------------------*/
.iframe-container {
  position: relative;
  padding-top: 40%
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: 600px;
  border: none;
  border-radius: 5px;
}


.youtube-container {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
}

.youtube-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 5px;
}

/*--------------------------------------------------------------
# Step Header Section
--------------------------------------------------------------*/
.step-top-section {
  display: flex;
  background: var(--darker-gray);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 16px;
  margin: 10px 0;
}

.step-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 5rem;
}

.step-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

.step-text {
  flex: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.step-top-section h1 {
  font-family: var(--font-accent);
  font-size: 4rem;
  color: var(--yellow);
  margin-bottom: 0.5rem;
  font-weight: 2.25em;
}

.step-top-section h2 {
  font-family: var(--font-accent);
  font-size: 2rem;
  color: #dcdcdc;
  margin-bottom: 0.1rem;
  font-weight: 1.25em;
}

.step-top-section h3 {
  font-family: var(--font-accent);
  font-size: 3rem;
  color: var(--yellow);
}


.step-top-section p {
  font-size: 1.3rem;
  color: #dcdcdc;
  line-height: 1.6;
}


.step-top-section strong,
.step-text strong {
  color: var(--yellow);
  font-size: 1.25rem;
}

.step-top-section a,
.step-text a {
  color: var(--yellow);
  text-decoration: none;
  font-size: 1.25rem;
}

.step-top-section a:hover,
.step-text a:hover{
  color: var(--yellow);
  text-decoration: none;
}

/*--------------------------------------------------------------
# Step by Step Boxes
--------------------------------------------------------------*/
.step-box {
  border: 2px solid var(--bright-purple);
  border-radius: var(--border-radius);
  padding: 16px;
  margin: 10px 0;
}

.step-header {
  font-size: 1.5em;
  font-weight: 1.5em;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.step-header span {
  font-size: 1.3em;
}

.step-header code{
  background: var(--codebackground-gray);
  color: var(--purple);
  font-size: 0.9em;
  font-weight: bold;
}

.step-content {
  margin-top: 12px;
}

.step-content a {
  color: var(--bright-purple);
  text-decoration: none;
}

.step-content a:hover {
  color: var(--purple);
  text-decoration: none;
}


.step-divider {
  width: 90%;
  height: 2px;
  margin: 1.2rem auto;
  background: linear-gradient(to right, transparent 10%, var(--bright-purple) 50%, transparent 90%);
}

.step-content ul ul li{
    font-size: 0.8em;
    list-style-type: circle;
}

.step-content ul ul ul li{
    font-size: 0.7em;
    list-style-type: square;
}

.step-content ul ul li code{
    font-size: 0.8em;
}

.step-content ul ul ul li code{
    font-size: 0.7em;
}


/*--------------------------------------------------------------
# Idea Boxes
--------------------------------------------------------------*/
.idea-box {
  border: 2px solid var(--blue);
  border-radius: var(--border-radius);
  padding: 16px;
  margin: 10px 0;
}

.idea-header {
  font-size: 1.5em;
  font-weight: 1.5em;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.idea-header span {
  font-size: 1.3em;
}

.idea-header code{
  background: var(--codebackground-gray);
  color: var(--blue);
  font-size: 0.9em;
  font-weight: bold;
}

.idea-content {
  margin-top: 12px;
}

.idea-content a {
  color: var(--blue);
  text-decoration: none;
}

.idea-content a:hover {
  color: var(--blue-hover);
  text-decoration: none;
}


.idea-divider {
  width: 90%;
  height: 2px;
  margin: 1.2rem auto;
  background: linear-gradient(to right, transparent 10%, var(--blue) 50%, transparent 90%);
}

.idea-content ul ul li{
    font-size: 0.8em;
    list-style-type: circle;
}

.idea-content ul ul ul li{
    font-size: 0.7em;
    list-style-type: square;
}

.idea-content ul ul li code{
    font-size: 0.8em;
}

.idea-content ul ul ul li code{
    font-size: 0.7em;
}





/*--------------------------------------------------------------
# Navigation Footer
--------------------------------------------------------------*/
.nav-footer {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
  padding: 1rem 0;
  border-top: 1px solid #E5E7EB;
}

.nav-buttons {
  display: flex;
  flex-wrap: nowrap;
  gap: 2.5rem;
  overflow-x: auto;
}

.nav-buttons button {
  border: none;
  padding: 0.75rem 1.25rem;
  font-size: 1.1rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: var(--box-shadow);
}

.prev-btn {
  color: white;
  background-color: var(--green);
}

.next-btn {
  color: white;
  background-color: var(--blue);
}

.prev-btn:hover {
  color: white;
  background-color: var(--green-hover);
}

.next-btn:hover {
  color: white;
  background-color: var(--blue-hover);
}

.home-btn {
  font-weight: bold;
  color: var(--yellow);
  background-color: var(--darker-gray);
}

.home-btn:hover {
  font-weight: bold;
  color: var(--yellow);
  background-color: #323b49;
}

/*--------------------------------------------------------------
# Media Queries
--------------------------------------------------------------*/

@media (max-width: 768px) {
  body {
    margin-left: 10px;
    padding: 10px; /* Reduced padding */
  }
  
.sidebar {
    display: none;
  }

  .sidebar-container {
    display: none;
  }

  body {
    margin-left: 0 !important;
  }
  
  img {
  max-width: 90%;
  margin-right: 0;
  margin-bottom: 15px;
}

    .content {
       padding: 70px 15px 15px;;
    }
 
  
    .landing-page-button {
        width: calc(100% - 36px); /* Full width for mobile */
    }
    
    .landing-page {
    margin-left: 20px; padding-top: 70px; margin-right: 20px; }
  
  .green-content-box {
    flex-direction: column;
  }

  .green-content-box img {
    margin-right: 0;
    margin-bottom: 15px;
    max-width: 60%;
  }
  
  .green-content-box .task-checkbox {
    width: 18px;
    height: 18px;
      
  }
  
}

@media (min-width: 769px) and (max-width: 1024px) {
.landing-page-button {
        width: calc(50% - 36px); /* 2 columns */
    }
    .landing-page {
     margin-left: 40px; padding-top: 70px; margin-right: 40px; }
  
  .green-content-box h3 {
    flex: 1 1 100%;
  }
}

@media (min-width: 1025px) {
.landing-page-button {
        width: calc(33.33% - 36px); /* 3 columns */
    }
}

@media (max-width: 600px) {
  .green-content-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .green-content-box img,
  .green-content-box h3 {
    flex: 1 1 100%;
  }

  .green-content-box .task-checkbox {
    width: 18px;
    height: 18px;
  }
}


@media (max-width: 990px) {
  
  .step-top-section {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .step-image {
    padding-left: 0;
    padding-bottom: 1rem;
    order: -1;
    width: 75%;
  }
  
  .step-text {
    flex: 1;
    text-align: center;
  }
}

.landing-section,
.green-content-box,
.definition-box,
.expandable-box,
.learning-objectives-box,
.step-box {
    max-width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
}

.expandable-box,
.definition-box {
    margin-left: 0;
    margin-right: 0;
}