@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700&display=swap');

header {
  position: fixed;
  width: 100%;
  z-index: 10;
  height: 70px;
  left: 0;

  display: flex;
  align-items: center;
  justify-content: space-between;

  /* Glass Effect */
  background: rgba(132, 40, 237, 0.25); /* Light purple transparency */
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);

  padding: 0 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
#logo {
  height: 36px;
  padding-left: 20px;
  filter: drop-shadow(0px 2px 4px rgba(132, 40, 237, 0.4));
}

.navlist {
  display: flex;
  align-items: center;
  margin-right: 20px;
}

.navlist li {
  list-style-type: none;
  margin-right: 10px;
  padding: 10px 20px;
}

.navlist a {
  text-decoration: none;
  font-weight: 400;
  font-family: 'Roboto';
  padding: 8px 14px;
  border-radius: 8px;

  color: #ffffff;
  transition: all 0.3s ease;
}

.navlist a:hover {
  background: rgba(255, 255, 255, 0.15);
  border-bottom: none;
}

#menu-icon {
  color: #ffffff;
  margin-right: 20px;
  font-size: 26px;
  display: none;
  cursor: pointer;
  transition: 0.3s;
}

#menu-icon:hover {
  transform: scale(1.1);
}

@media (max-width: 700px) {
  #menu-icon {
    display: block;
    transition: all 0.34s ease;
  }
  .navlist {
    position: absolute;
    top: 100%;
    right: -100%;
    flex-direction: column;

    background: rgba(132, 40, 237, 0.35); /* Light glass purple */
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 0 0 12px 12px;
    padding: 15px;
    transition: all 0.45s ease;
  }
  .navlist li {
    margin: 6px 0;
  }

  .navlist.open {
    right: 0;
  }
}
@media (max-width: 500px) {
  #logo {
    height: 30px;
  }
}
