@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");
* {
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #154367;
  overflow: hidden;
}

.navigation {
  position: relative;
  width: 50px;
  height: 50px;
  background: #fff;
  transition: width 0.5s, height 0.5s;
  transition-delay: 0s, 0.75s;
  z-index: 1000;
  border-radius: 4px;
  overflow: hidden;
}

.navigation.active {
  width: 250px;
  height: 350px;
  transition: height 0.5s, width 0.5s;
  transition-delay: 0s, 0.75s;
}
.navigation .toggle {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background: #ff4081;
  transition: 0.5s;
  cursor: pointer;
}
.navigation .toggle.active {
  background: #2196f3;
}
.navigation .toggle::before {
  content: "+";
  position: absolute;
  font-size: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  color: #fff;
  transition: 0.5s;
}
.navigation .toggle.active::before {
  transform: rotate(315deg);
}

.navigation ul {
  position: absolute;
  left: 0;
  width: 100%;
}
.navigation ul li {
  list-style: none;
  position: relative;
  width: 100%;
}
.navigation ul li:hover {
  background: #03a9f4;
}
.navigation ul li a {
  position: relative;
  display: flex;
  width: 100%;
  text-decoration: none;
  color: #154367;
}
.navigation ul li a .icon {
  position: relative;
  display: block;
  min-width: 50px;
  height: 50px;
  text-align: center;
  line-height: 50px;
}
.navigation ul li a .icon .fa {
  font-size: 24px;
  color: #154367;
}

.navigation ul li a .title {
  position: relative;
  display: block;
  line-height: 50px;
  text-align: start;
  white-space: nowrap;
}

.navigation ul li:hover a .icon .fa,
.navigation ul li:hover a .title {
  color: #fff;
}
