@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css");

* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}

:root {
  --box-shadow-light-theme: -3px -8px 1px 9px rgb(84 81 81);
  --linear_gradient-navbar: linear-gradient(
    rgba(15, 15, 15, 0.411),
    rgba(94, 95, 95, 0.151),
    rgba(102, 105, 105, 0)
  );
  --backdrop_filter: blur(70px);
}

body {
  background-image: url(assets/image/site-background.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

body.dark-mode {
  background: #121212;
  color: #fff;
}

/* ######## header style ######### */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  background: var(--linear_gradient-navbar);
  backdrop-filter: blur(20px);
  color: #fff;
  transition: background 0.3s ease;
  position: sticky;
  top: 0;
  box-shadow: 1px -1px 1px 3px rgb(84 81 81);
  z-index: 1001;
}
body.dark-mode header {
  background: var(--base-clr);
}

.dark-mode #sidebar {
  background: var(--base-clr);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 65px;
}

.logo span {
  font-weight: 600;
  font-size: 1.2rem;
}
.navbar {
  display: flex;
  align-items: center;
}

/* .nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
} */

/* .nav-links li a {
  text-decoration: none;
  color: #fff;
  font-size: 16px;
} */

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1000;
}

.hamburger .line {
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 4px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Transform hamburger into close icon */
.hamburger.active .line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Dark Mode Toggle */
.dark-mode-toggle {
  cursor: pointer;
  font-size: 24px;
  margin-left: 20px;
  margin-bottom: 12px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    /* Hide off-screen by default */
    height: 100vh;
    width: 250px;
    background: transparent;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: left 0.3s ease-in-out;
    backdrop-filter: blur(50px);
  }

  body.dark-mode .nav-links {
    background: var(--base-clr);
  }

  .nav-links.active {
    left: 0; /* Slide into view */
  }
}

@media all and (max-width: 1024px) {
}

@media all and (max-width: 1280px) {
}

@media all and (max-width: 1500px) {
}

main {
  height: 100vh;
  /* width: 100%; */
  text-align: center;
  align-content: center;
}

main div {
  display: flex;
  flex-direction: column;
  font-weight: bolder;
  font-size: 1.6rem;
  gap: 20px;
  padding: 15px;
}

main div a {
  text-decoration: none;
  color: black;
  border: 2px solid wheat;
  border-radius: 30px;
  padding: 10px;
  box-shadow: 1px 0px 3px 1px black;
  background-color: #fffbfbd5;
}

main div a:hover {
  color: red;
}
