@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400&display=swap");

:root {
  --primary-color: #f8fdff;
  --secondary-color: #139afa;
  --text-color-dark: #353535;
  --text-color-light: #ffffff;
  --font-family: "Roboto", sans-serif;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  background-color: var(--primary-color);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(
    73px + 0.5rem
  ); /* Adjust scroll position globally for sticky header */
}

header {
  position: sticky;
  top: 0;
  margin: 0;
  padding: 0;
  z-index: 1000;
}

.navbar {
  background-color: rgba(255, 255, 255, 0.805);
  backdrop-filter: blur(5px);
  margin-left: 5px;
  margin-right: 5px;
  margin-top: 5px;
  border-radius: 10px;
  box-shadow: 1px 2px 5px 1px rgba(128, 128, 128, 0.291);
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  overflow: hidden;
}

.navbar.openMenu {
  overflow: visible !important;
}

.nav-menu {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  column-gap: clamp(5px, 5vw, 40px);
  font-size: 1.25rem;
}

.nav-menu li {
  margin: 0;
  display: flex;
  align-items: center;
}

.nav-menu li a {
  text-decoration: none;
  color: #7c7c7c;
  font-weight: 800;
}

.nav-menu li a:hover {
  color: #969696;
}

.nav-menu li a.active {
  color: var(--text-color-dark);
  font-weight: bolder;
}

.logo {
  height: 60px;
}

.logo img {
  height: 60px;
  cursor: pointer;
}

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

.account img {
  margin-right: 5px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
}

.account-hamburger {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hamburger {
  cursor: pointer;
  margin: 0;
  width: 40px;
  height: 40px;
}

.hamburger-menu {
  display: none;
  width: 40px;
  height: 40px;
  margin-right: 10px;
  font-size: 3rem;
}

/* Media Querie Section */
@media (max-width: 700px) {
  .hamburger-menu {
    display: flex !important;
    justify-content: center;
    align-items: center;
  }
  .nav-menu {
    position: fixed;
    right: -250px;
    top: 80px;
    background-color: white;
    height: 100vh;
    width: 250px;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    max-height: 400px;
    min-height: 200px;
    border-radius: 10px;
    box-shadow: 1px 2px 5px 1px rgba(128, 128, 128, 0.521);
    transition: all 0.2s ease-in-out;
    visibility: hidden;
    pointer-events: none;
    overflow: visible;
  }
  .nav-menu.active {
    right: 0;
    transition: all 0.2s ease-in-out;
    visibility: visible;
    pointer-events: auto;
    z-index: 1000;
  }
}
