@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");
* {
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
  margin: 0;
}

.container {
  width: 100%;
  height: 100vh;
  background-color: #5349b1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.nav-bar {
  background: #fff;
  padding: 20px;
  width: 500px;
  display: flex;
  align-items: center;
  
}

.nav-bar .link {
  display: flex;
  align-items: center;
  margin: 0 10px;
  padding: 15px 25px;
  border-radius: 30px;
  cursor: pointer;
  width: 80px;
}
.nav-bar .link svg {
  width: 30px;
  height: 25px;
}

.nav-bar .link p {
  font-weight: 500;
  margin-left: 10px;
  display: none;
}

.nav-bar .active {
  background: #ddd9f1;
  color: #5349b1;
  width: 100%;
  transition: width 0.5s ease-in;  
}

.nav-bar .link.active p {
  display: block;
}

.active svg {
  fill: #5349b1;
}

.active svg path {
  stroke: #5349b1;
}
