:root {
  --color-1: #011b2e;
  --color-2: #f4f4f4;
  --color-3: #344cb7;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
  height: 100%;
  /* Prevent horizontal scroll */
}

body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  position: relative;
}

main {
  flex: 1;
}

/* Headings */
h1,
h2,
h3,
h4 {
  color: var(--color-1);
  font-weight: bold;
}

/* Header & Footer */
header,
footer {
  background: var(--color-1);
  color: white;
  text-align: center;
  padding: 10px;
  width: 100%;
  flex-shrink: 0;
  /* Prevents header/footer from shrinking */
}

.logo {
  width: 200px;
  height: 60px;
  object-fit: cover;
  border-radius: 10px;
  display: flex;
  align-items: center;
  align-content: center;
}

header {
  position: fixed;
  /* Keeps the header fixed at the top */
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  /* Adjust height as needed */
  border-bottom: 1px solid white;
  z-index: 10000;
  /* Ensures it's above other content */
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

/* Ensure the content starts below the header */
main {
  padding-top: 80px;
  /* Adjust based on header height */
}

header div {
  display: flex;
  align-items: center;
  flex: 1;
}

header ul {
  list-style: none;
  display: flex;
  gap: 1em;
}

header ul li {
  height: 100%;

  a {
    all: unset;
    /* Removes all styles (color, text-decoration, etc.) */
    cursor: pointer;
    /* Ensures it still looks clickable */
  }
}

#Nav-list {
  height: 100%;
  justify-content: end;
}

/* Container */
.container {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(4, auto);
  width: 100%;
  /* padding: 10px; */
  justify-items: center;
}

/* Section */
.section {
  background: var(--color-2);
  padding: 8px;
  text-align: center;
  width: 100%;
}

.button {
  padding: 10px 20px;
  background: var(--color-1);
  color: var(--color-2);
  border-radius: 1px;
  cursor: pointer;
  transition: 0.3s;
  border: 1px solid var(--color-1);
}

.button:hover {
  background: var(--color-2);
  color: var(--color-1);
  border: 1px solid var(--color-1);
}

.text-color-2 {

  h2,
  h3,
  h4 {
    color: var(--color-2);
  }
}

.text-color-1 {
  h2 {
    color: var(--color-1);
  }
}

#BurgerMenu,
#side-menu {
  display: none;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  header {
    flex-direction: row;
    text-align: center;
  }

  header ul {
    flex-direction: column;
    gap: 0.5em;
  }

  .container {
    grid-template-rows: repeat(auto-fit, minmax(200px, 1fr));
  }

  #Ul-Nav-list {
    display: none;
  }

  #BurgerMenu {
    display: block;
  }

  /* Sidebar Menu */
  #side-menu {
    position: fixed;
    top: 80px;
    right: -50%;
    /* Initially hidden */
    width: 50%;
    height: 300px;
    background-color: var(--color-2);
    /* Semi-transparent black */
    transition: right 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 11000;
  }

  #side-menu ul {
    list-style: none;
    padding: 0;
    text-align: center;
  }

  #side-menu ul li {
    margin: 15px 0;
  }

  #side-menu ul li a {
    color: var(--color-1);
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
  }

  #side-menu ul li a:hover {
    color: #ffcc00;
    /* Highlight color */
  }

  /* Active Class (when menu is open) */
  #side-menu.active {
    right: 0;
    top: 80px;
  }
}