*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins', 'sans-serif';
    scroll-behavior: smooth;
}

body
{
    color: #ededed;
    /* background: #003bad; */
    background: #081b39;
    /* background: #081b29; */
    width: 100%;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 8px 5%;
  background: #29b6f6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.logo {
  font-size: 20px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
    font-family: "Times New Roman", Times, serif;
}

.aklogo {
    width: 30px;
    height: 30px;
}

.navbar ul li {
  display: inline-block;
}

.navbar a {
  display: inline-block;
  font-size: 20px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  margin-left: 15px;
  transition: .3s;
}

.navbar a:hover {
  color: #d0d0d0;
}

.navbar a:focus,
.navbar a:active,
.navbar a.selected {
  color: #000;
}

/* ---------- MOBILE MENU ---------- */
.menu-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 28px;
  height: 22px;
  justify-content: space-between;
}

.menu-icon span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Animation for hamburger icon */
.menu-icon.open span:nth-child(1) {
  transform: rotate(45deg) translateY(11px);
}
.menu-icon.open span:nth-child(2) {
  opacity: 0;
}
.menu-icon.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-11px);
}

/* ---------- RESPONSIVE STYLES ---------- */
@media (max-width: 768px) {

    /* ################## */
    .header {
    padding: 10px 6%; /* more height */
  }

  .logo {
    font-size: 20px; /* slightly larger */
  }
  .aklogo {
    width: 28px;
    height: 28px;
}
  

  .menu-icon {
    display: flex;
    width: 25px;
    height: 18px;
  }

  .menu-icon span {
    height: 2.5px;
  }

  .navbar {
    position: absolute;
    top: 70px; /* matches the new header height */
    right: 5%;
    background: #29b6f6;
    /* 29b6f6 */
    border-radius: 8px;
    width: 210px;
    text-align: right;
    opacity: 0;
    transform: translateY(-15px);
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .navbar.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .navbar ul {
    display: block;
    padding: 0px 0;
  }

  .navbar ul li {
    display: block;
    margin: 12px 0;
  }

  .navbar a {
    font-size: 18px; /* larger menu text */
    padding: 2px 16px;
    display: block;
  }

}

    
/* ################################################################# */
/* Snackbar styles */
#snackbar {
    visibility: hidden;
    min-width: 250px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
}
#snackbar.show {
    visibility: visible;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}
@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}
@keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}




