@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");
.navbar {
  box-sizing: border-box;
  background: #5e7594;
  box-shadow: 0 0 15px 2px rgba(0, 0, 0, 0.5);
  backdrop-filter: #5e7594;
  -webkit-backdrop-filter: #5e7594;
  transition: 0.35s ease;
  border-radius: 20px;
  width: fill;
  margin: 15px 20px;
  z-index: 100;
  position: static;
  padding: 10px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.navbar a {
  font-family: "Roboto", serif;
  color: #fff;
}

.navbar a:not(:first-child) {
  padding: 10px 15px;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.2s ease;
}
.navbar a:not(:first-child):hover {
  font-size: 18px;
  color: #484c51; /* #bbbbbb is og */
  background-color: #e7928f;
  border-radius: 10px;
  scale: 1.05;
}

.navbar a:first-child {
  padding: 10px 25px;
  font-size: 26px;
  font-weight: 650;
  margin-right: auto;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.navbar a:first-child:hover {
  transform: translateX(10px);
  color: #484c51; /* #bbbbbb is og */
  background-color: #e7928f;
  border-radius: 10px;
  scale: 1.1;
}

@media only screen and (max-width: 600px) {
  nav {
    flex-direction: column;
    text-align: center;
  }

  nav ul {
    flex-direction: column;
    padding-top: 0.5rem;
  }

  nav li {
    padding: 0.5rem 0;
  }
}
