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

* {
  padding: 0;   /* inobotp tm102 */
  margin: 0;
  box-sizing: border-box;
}

body {
  background-color: #ffffff;
  color: #008080; /* impostato #008080 al posto di white */
  font-family: "Montserrat", sans-serif;
} 

header a {
  text-decoration: none;
}

header {
  padding: 0 20px;
  background-color: #1d1f1d;
  height: 0px; /* impostato 30 al posto di 50 */
  display: flex;
  justify-content: space-between;
}

#brand {
  position: fixed;
			top: 0;
			left: 0;
  font-weight: bold;
  font-size: 18px;
  display: flex;
  align-items: center;
}

#brand a {
  color: #09c372;
}

ul {
  list-style: none;
  height: 70%; /* 70 al posto di 100 */
  display: flex;
  text-align: right; /* aggiunto text align mt105 */
  align-items: right; /* impostato right al posto di center */
  justify-content: space-around;
}

/*ul {
  text-align: right;
} /* aggiunto da bard tm104 */

ul a {
  color: #008080; /* impostato #008080 al posto di white */
}

ul li {
  padding: 0px;  /* cambiato da 5 e 10 a 0 */
  margin-left: 0px; /* cambiato da 0 a -23 tm101 tornato a 0 tm104*/
  /* margin-right: 0px; /* inserito margin right mt103 */
}

ul li:hover {
  transform: scale(1.1);
  transition: 0.3s;
}

#login,
#signup {
  border-radius: 5px;
  padding: 5px 8px;
}

#login {
  border: 1px solid #498afb;
}

#signup {
  border: 1px solid #ff3860;
}

#signup a {
  color: #ff3860;
}

#login a {
  color: #498afb;
}

#hamburger-icon {
  margin: auto 0;
  display: none;
  cursor: pointer;
}

#hamburger-icon div {
  width: 35px;
  height: 3px;
  background-color: white;
  margin: 6px 0;
  transition: 0.4s;
}

.open .bar1 {
  -webkit-transform: rotate(-45deg) translate(-6px, 6px);
  transform: rotate(-45deg) translate(-6px, 6px);
}

.open .bar2 {
  opacity: 0;
}

.open .bar3 {
  -webkit-transform: rotate(45deg) translate(-6px, -8px);
  transform: rotate(45deg) translate(-6px, -8px);
}

.open .mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: center; /* cambiato right da center */
  justify-content: flex-start;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 50px;
  left: 0;
  right: 5; /* aggiunto right: 5; tm100 */
  height: calc(100vh - 50px);
  width: 100%;
  }

.mobile-menu li {
  margin-bottom: 10px;
  }

@media only screen and (max-width: 600px) {
  header nav {
    display: none;
  }

  #hamburger-icon {
    display: block;
  }
}
