body {
  font-family: Arial;
  background: #4d8189;
}

.navbar {
  display: flex;
  justify-content: space-between;
  margin: 0 50px;
}

.navbar-div {
  width: 200%;
}

.nav .animation {
  position: absolute;
  height: 100%;
  top: 0;
  z-index: 0;
  transition: all .5s ease 0s;
  border-radius: 8px;
}

.li-anim{
  display: flex;
}

.anim li.li-anim:nth-child(1) {
  width: 24%;
}
.anim li.li-anim:nth-child(2) {
  width: 24%;
}
.anim li.li-anim:nth-child(3) {
  width: 24%;
}
.anim li.li-anim:nth-child(4) {
  width: 24%;
}
.anim li.li-anim:nth-child(5) {
  width: 4%;
}

.nav .start-home, li.li-anim:nth-child(1):hover~.animation {
  width: 24%;
  left: 0;
  background-color: #1abc9c;
}
.nav .start-portefolio, li.li-anim:nth-child(2):hover~.animation {
  width: 24%;
  left: 24%;
  background-color: #e74c3c;
}
.nav .start-about, li.li-anim:nth-child(3):hover~.animation {
  width: 24%;
  left: 48%;
  background-color: #3498db;
}
.nav .start-home, li.li-anim:nth-child(4):hover~.animation {
  width: 28%;
  left: 72%;
  background-color: #9b59b6;
}
.nav .start-blog, li.li-anim:nth-child(5):hover~.animation {
  width: 4%;
  left: 96%;
  background-color: #9b59b6;
}

ul.nav {
  display: flex;
  position: relative;
  flex-direction: row;
  align-items: center;
  margin: auto;
  z-index: 9999;
  padding: 0;
  list-style: none;
  background-color: #34495e;
  border-radius: 8px;
}
ul.nav > li a {
  margin: 0;
  height: 100%;
  width: 100%;
  font-size: 16px;
  display: inline-block;
  position: relative;
  z-index: 9999;
  text-decoration: none;
  text-transform: uppercase;
  text-align: center;
  color: white;
  cursor: pointer;
}
ul.nav > li {
  position: relative;
  flex-grow: 1;
  flex-shrink: 0;
  height: 50px;
  text-align: center;
  text-transform: uppercase;
  line-height: 50px;
  letter-spacing: 1px;
  color: #e7e6f1;
  cursor: pointer;
  z-index: 9999;
}

.filter {
  text-align: right;
  text-decoration: none;
  color: black;
  width: 40%;
}

.filter a {
  text-align: right;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  color: #ecf0f1;
  text-shadow: 2px 2px 4px #000000;
  font-family: 'Arial', cursive;
}

.dropdown1 {
  float: left;
  overflow: hidden;
}

.dropdown1 i{
  font-size: 25px;
  margin: 13px;
}

.dropdown1 .dropbtn1 {
  cursor: pointer;
  font-size: 16px;  
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.dropdown-content1 {
  margin-top: 10px;
  right: 0;
  display: none;
  position: absolute;
  background-color: #34495e;
  min-width: 300px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 8px;
  line-height: 40px;
}

.dropdown-content1 h3{
  margin: 0;
  padding: 0;
  text-align: center;
  word-spacing: 2px;
  color: #4d8189;
}

.dropdown-content1 a:hover {
  background: rgba(0, 0, 0, 0.06);
}

.show {
  display: block;
}
