* {
  padding: 0;
  list-style: none;
  margin: 0;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

/*Navbar*/
header.navbar {
  position: fixed;
  top: 3%;
  z-index: 1000;
  width: 90%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  left: 50%;
  transform: translate(-50%);
  padding: 33px 9%;
  background: transparent;
  background-color: rgb(04,16,36);
  border-radius: 20px;
}

.logo {
  position: relative;
  width: 20px;
  transform: scale(4);
}

.navlist {
  display: flex;
}

.navlist a {
  color: white;
  margin-left: 100px;
  font-size: 20px;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: all 0.55s ease;
}

.navlist a:hover {
  border-bottom: 2px solid white;
}

#menu-icon {
  color: white;
  font-size: 35px;
  z-index: 100001;
  cursor: pointer;
  display: none;
}

@media (max-width: 1135px) {
  header {
    padding: 15px 3%;
    transition: 0.2s;
  }
}

@media (max-width: 1135px) {
  #menu-icon {
    display: block;
  }

  .navlist {
    position: absolute;
    top: 100%;
    right: -100%;
    margin-right: 18px;
    width: 200px;
    height: 250px;
    display: flex;
    background-color: rgb(04, 16, 36);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 50px 20px;
    transition: all 0.55s ease;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
  }

  .navlist a {
    margin-left: 0;
    display: block;
    margin: 7px 0;
  }

  .navlist.open {
    right: 0;
  }
}

.logo-figure {
  position: absolute;
  width: 500px;
  top: 100%;
  left: 50%;
  transform: translate(-50%);
}

/*End Navbar*/
