body {
    font-family: Arial, sans-serif;
    background-color: #1a1a1a;
    color: #fff;
    margin: 0;
    padding: 0;
}

.heading {
    font-size: 24px;
    color: #06ff00;
    margin-bottom: 40px;
	margin-top: 100px;
	text-align: center;
}

/* Wrapper for positioning the entire switch */
.theme-switch-wrapper {
    position: absolute;
    top: 100px;
    right: 34px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: flex-end;  /* Positioning for flexibility */
}

body.dark {background-color: #ffffff;} /* #9b59b6 */

body.dark, body.dark {color: #fff;}

.checkbox {
  opacity: 0;
  position: absolute;
}

.checkbox-label {
  background-color: #737171;
  width: 50px;
  height: 26px;
  border-radius: 50px;
  position: relative;
  padding: 5px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

.fa-moon {color: #f1c40f;}

.fa-sun {color: #f39c12;}

.checkbox-label .ball {
  background-color: #fff;
  width: 22px;
  height: 22px;
  position: absolute;
  left: 2px;
  top: 2px;
  border-radius: 50%;
  transition: transform 0.2s linear;
}

.checkbox:checked + .checkbox-label .ball {
  transform: translateX(24px);
}

/* Back-to-Top Button Styling */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #333;
    color: #fff;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    font-size: 24px;
    display: none;  /* Hidden by default */
    z-index: 1000;  /* Ensure it stays on top */
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.back-to-top:hover {
    background-color: #555;  /* Change color on hover */
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}


.container {
    display: flex; /* Use flexbox to arrange children side by side */
    justify-content: center; /* Center items horizontally */
    padding: 20px;
    max-width: 1200px; /* Set a maximum width for the container */
    margin: 0 auto; /* Center the container */
}

.red-team-container, .blue-team-container {
    width: 45%; /* Set width to ensure both teams fit side by side */
    margin: 0 20px; /* Margin between sections */
}

.red-team{
    padding: 20px; /* Padding inside each team section */
    border: 2px solid #ff0000; /* Border around the team sections */
    border-radius: 10px; /* Rounded corners for team sections */
    background-color: #400202; /* Background color for team sections */
}

.blue-team {
	padding: 20px; /* Padding inside each team section */
    border: 2px solid #0000ff; /* Border around the team sections */
    border-radius: 10px; /* Rounded corners for team sections */
    background-color: #06012d; /* Background color for team sections */
}

.red-title {
    color: red;
	text-align: center;
}

.blue-title {
    color: blue;
	text-align: center;
}


.stage {
    margin: 15px 0;
    border: 1px solid #ffffff; /* Border for each stage */
    border-radius: 5px; /* Rounded corners for stages */
    transition: all 0.3s ease; /* Smooth transition for hover effect */
}

.node-title {
/*    background-color: #333; Background color for title */
    padding: 10px;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.3s ease; /* Separate transition for background color */
}

.red-node-title:hover {
    color: red;
    border-left: 5px solid red;
    background-color: #ffffff; /* Red background on hover */
}

.blue-node-title:hover {
    color: blue;
    border-left: 5px solid blue;
    background-color: #ffffff; /* Blue background on hover */
}

.node-content {
    display: none; /* Initially hidden content */
    padding: 15px;
/*    background-color: #222;  Background color for content */
    border-top: 1px solid #ffffff; /* Top border for content */
}

/* Image styling */
.team-image {
    max-width: 60%; /* Make image responsive */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Center align image */
    margin: 0 auto 20px; /* Center and add bottom margin */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        flex-direction: column; /* Stack vertically on smaller screens */
    }
    
    h1 {
        font-size: 2rem; /* Smaller font size on mobile */
    }
    
    .stage {
        font-size: 0.9rem; /* Smaller font size for stages */
    }

    .red-team-container, .blue-team-container {
        width: 100%; /* Full width on mobile */
        margin: 10px 0; /* Margin between sections */
    }
}

ul {
    list-style: none;
    padding-left: 20px;
}

ul li {
    margin: 8px 0;
    font-size: 14px;  /* Reduced font size for list items */
}

ul ul {
    margin-top: 10px;
    list-style: none;
}

ul ul li::before {
    content: "• ";
    margin-right: 8px;
}

ul ul ul {
    margin-top: 5px;
    list-style: none;
}

ul ul ul li::before {
    content: "◦ ";
    margin-right: 8px;
}

/* Horizontal line styling */
hr {
    border: 0;
    border-top: 1px solid #ddd;
    margin: 20px 0;
    width: 100%;
}

.cert-button {
    background-color: #a19999;
    color: #110101;
    padding: 1px 2px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease-in-out;
    font-size: 8px;
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.2); /* Adds a subtle shadow for depth */
}

.cert-button:hover {
    background-color: #2980b9;
    color: #ecf0f1;  /* Lighter text on hover */
    transform: translateY(-2px); /* Makes the button feel like it's lifting up */
    box-shadow: 0 6px 12px rgba(52, 152, 219, 0.3); /* Darker shadow on hover */
}

.cert-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.5); /* Focus effect for accessibility */
}

@media (max-width: 768px) {
    .certifications-container {
        width: 95%;
    }
}
/* Terminal Styling */
/* Adjusted Terminal Styling */
/* Adjusted Terminal Styling */
h2.section-title {
        margin: 0;  /* Removes any extra margin */
        padding: 0; /* Removes any padding */
    }
/* Ensure each item is displayed as a block */
    .typed-list {
        margin: 0;
        padding: 0;
    }

    .typed-list li {
        margin-bottom: 8px;  /* Adds space between items */
    }
/* Custom style for the list to remove bullet points */
.typed-list {
    list-style-type: none; /* Removes the default bullet points */
    padding-left: 0; /* Removes indentation for the list */
}

.terminal {
    background-color: #1e1e1e;
    color: #00ff00;
    font-family: 'Courier New', Courier, monospace;
 /*   padding: 30px;  Increased padding for better spacing */
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 900px; /* Increased width */
    margin: 30px auto;
	margin-top: 50px;
    border: 2px solid #00ff00;
    min-height: 500px; /* Increased height */
}

/* Header Adjustment */
/* Terminal Styling */
/* Terminal container */


/* Terminal header */
.terminal-header {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: #292929;
    border-radius: 8px 8px 0 0;
    border-bottom: 2px solid #00ff00;
}

/* Header dots (Red, Yellow, Green) */
.terminal-header .dot {
    height: 12px;
    width: 12px;
    border-radius: 50%;
    margin-right: 8px;
}

.terminal-header .red {
    background-color: #ff5f56;
}

.terminal-header .yellow {
    background-color: #ffbd2e;
}

.terminal-header .green {
    background-color: #27c93f;
}

/* Terminal title */
.terminal-title {
    color: #00ff00;
    font-size: 18px;
    font-weight: bold;
    margin-left: auto;
    margin-right: auto;
}

/* Terminal content area */
.terminal-content {
    padding: 10px 20px;
    overflow-y: auto;
    font-size: 16px;
    line-height: 1.6;
}

/* Button Container */
.buttons-container {
    position: absolute; /* Keeps the buttons at the bottom of the terminal */
  /*  bottom: 60px;  20px above the bottom edge */
    left: 50%; /* Centers horizontally */
    transform: translateX(-50%); /* Centers with respect to the container */
  /*  display: flex; */
    justify-content: center;
    z-index: 1000; /* Ensure it is above other content */
}

/* Terminal buttons */
.terminal-button {
    background-color: #00ff00;  /* Terminal green color */
    color: black;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.terminal-button:hover {
    background-color: #00cc00; /* Darker green on hover */
}

/* Hidden buttons */
button.hidden {
    display: none;
}

/* Additional styles for biography content */
.bio-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.bio-container img {
    width: 250px;
    height: 250px;
    object-fit: cover;  /* Ensures the image fits inside the container while maintaining aspect ratio */
    border-radius: 0;  /* No rounded corners */
}

.bio-text {
    max-width: 60%;
    font-size: 16px;
    line-height: 1.6;
    color: white;
    margin: 0;
}

.bio-text a {
    color: #00ff00;
    text-decoration: none;
}

.bio-text a:hover {
    text-decoration: underline;
}

#terminal-text img {
    display: block;
    margin: 10px auto;
    border-radius: 50%; /* Only for Page 1 */
    border: 2px solid #00ff00;
}
.hidden {
    display: none;
}

iframe {
      width: 100%;
      height: 1000px;  /* Adjust based on your content height */
      border: none;
    }