@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');

body, button, input, select, textarea {
  font-family: 'DM Sans', sans-serif;
}

a:hover { 
  background: #3597FF;
}
a { 
  margin: 5px 1px 5px 1px; 
}
#load { 
  color: #3597FF; 
  text-align: center;  
}
@media (max-width: 600px) {
  body, #message { margin-top: 0; background: white; box-shadow: none; }
  body { border-top: 16px solid #ffa100; }
}
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height:100%;
}

body {
  background-image: url('/imgs/render-full.png');
  background-position: center; 
  background-repeat: no-repeat; 
  background-size: cover;
  background-attachment: fixed;
  padding-top: 50px;
}


nav {
  background-color: #333;
  overflow: hidden;
  position: fixed; /* Add this line */
  top: 0; /* Add this line */
  width: 100%; /* Ensure it spans the full width */
  z-index: 1051; /* Ensure it stays on top of other content */
}

nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

nav ul li {
  float: left;
}

nav ul li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

nav ul li a:hover {
  background-color: #ddd;
  color: black;
  border-radius: 10px;
}

.topnav a.active {
  background-color: #04AA6D;
  color: white;
  border-radius: 10px;
}

#message {
  background: rgba(255, 255, 255, 0.65); /* Adjust the opacity as needed */
  backdrop-filter: blur(10px); /* Apply a blur effect to the background area */
  -webkit-backdrop-filter: blur(10px); /* For Safari compatibility */
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  max-width: 65%;
  margin: 50px auto 16px;
  padding: 32px 24px;
  border: 1px solid rgba(255, 255, 255, 0.18); /* Optional: adds a subtle border */
}


#content {
  position: relative;
  padding-top: 50px; /* Adjust based on the actual height of your navbar */
  /* Other styles for your div */
}

.top-right {
  float: right;
  margin-left: 20px; /* Adjust this for spacing between image and text */
  width: 45%; /* or any size you prefer */
  height: auto;
  max-width: 600px;
}

#content p {
  margin-right: 110px; /* Adjust this value based on the image size plus some padding */
}

ul.two-columns {
    columns: 2;
    -webkit-columns: 2;  /* Chrome, Safari, Opera */
    -moz-columns: 2;     /* Firefox */
  }

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Aligns items to the start of the flex container, affecting their vertical positioning */
    width: 100%;
}

#main-title {
    /* Ensures the H1 text aligns to the left, which is default, but can be explicitly defined if needed */
    text-align: left;
}

#sub-info {
    /* Aligns the text within the <strong> tag to the right */
    text-align: right;
    margin-left: auto; /* Adjusts spacing between the H1 and strong text, change as needed */
}

.typed-text:after {
  content: '|';
  animation: blink 1s infinite step-start;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes colorChange {
  0% {
    background-color: #04AA6D;
  }
  20% {
    background-color: #C4B1AE;
  }
  40% {
    background-color: #CAB7A2;
  }
  60% {
    background-color: #08415C;
  }
  80% {
    background-color: #CC2936;
  }
  100% {
    background-color: #04AA6D;
  }
}

/* Sidebar Styles */
#sidebar {
  position: fixed;
  left: -250px; /* Hide sidebar off-screen */
  top: 0;
  width: 250px;
  height: 100%;
  background-color: #333;
  transition: left 0.3s;
  z-index: 1050; /* Ensure it's above other content */
  padding-top: 60px; /* Adjust as needed */
  color: white;
}

#sidebar.show {
  left: 0; /* Show sidebar */
}

/* Tabs and Content Styling */
#tabs {
  display: flex;
  justify-content: space-around;
  padding-bottom: 20px;
  border-bottom: 1px solid white;
}

.tab {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.content-section {
  display: none; /* Hide all by default */
}

.content-section a {
  display: block;
  color: white;
  text-decoration: none;
  padding: 10px 10px;
}

.content-section a:hover {
   background-color: #ddd;
   color: black;
}

/* Button to toggle sidebar */
.sidebar-toggle {
  position: fixed;
  top: 140px; /* Adjust based on desired vertical position */
  left: 0;
  z-index: 1052; /* Above the sidebar to ensure it's clickable */
  cursor: pointer;
  padding: 10px 20px; /* Adjust size as needed */
  background-color: #04AA6D; /* Stylish blue, adjust as needed */
  color: white; /* Text color */
  border: none; /* Remove border */
  transition: left 0.3s ease; /* Smooth transition for moving button */
  border-radius: 0 10px 10px 0;
   animation-play-state: paused; /* Pause the animation by default */
}

.dos {
  top: 200px;
}

.tres {
  top: 260px;
}

.four {
  top: 320px;
}

.tab.active, .tab:hover {
  background-color: #ddd; /* Highlight color for active tab or on hover */
  color: black; /* Optional: change text color for better contrast */
}

.tab {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 10px; /* Added padding for better appearance */
  transition: background-color 0.3s; /* Smooth transition for background color */
}

#sidebar a, #sidebar a:visited, #sidebar a:hover, #sidebar a:active {
  text-decoration: none; /* Removes underlines */
}

/* If you specifically target tabs within the sidebar */
#tabs .tab, #tabs .tab:visited, #tabs .tab:hover, #tabs .tab:active {
  text-decoration: none; /* Removes underlines */
}

#tableContents {
    display: none;
}

#extPages {
  display: none;
}

.target-element {
  scroll-margin-top: 80px; /* Adjust this value based on your navbar's height */
}

.sidebar-toggle:hover {
  background-color: #CC2936;
}