@charset "UTF-8";



#all {
    margin: 0;
    background-color: #252525;
    text-align: center;
    overflow: scroll;
}
nav {
    position: relative;
    height: 100px;
    top: 80px;
    right: 0;
    left: 0;
    display: table;
    margin-top: 0px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 0;
    transform: translateY(-50%);
    text-align: center;
}

nav a {
  position: relative;
  width: 25%;
  display: inline;
  text-align: center;
  color: #949494;
  text-decoration: none;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-weight: bold;
  padding: 10px 20px;
  transition: 0.2s ease color;
}

nav a:before,
nav a:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  transition: 0.2s ease transform;
}

nav a:before {
  top: 0;
  left: 10px;
  width: 6px;
  height: 6px;
}

nav a:after {
  top: 5px;
  left: 18px;
  width: 4px;
  height: 4px;
}

nav a:nth-child(1):before {
  background-color: yellow;
}

nav a:nth-child(1):after {
	background-color: red;
}

nav a:nth-child(2):before {
  background-color: pink;
}

nav a:nth-child(2):after {
  background-color: greenyellow;
}

nav a:nth-child(3):before {
  transform: scale(1);
  background-color: #C500F4;
}

nav a:nth-child(3):after {
  transform: scale(1);
  background-color: palevioletred;
}
nav a:nth-child(4):before {
  background-color: #2058FE;
}

nav a:nth-child(4):after {
  background-color: red;
}


nav a:hover {
  color: #fff;
}

nav a:hover:before,
nav a:hover:after {
  transform: scale(1);
}

nav a:nth-child(1):hover ~ #indicator {
   left: 3%;
	background: linear-gradient(130deg, yellow, red);
}

nav a:nth-child(2):hover ~ #indicator {
  left: 35%;
  background: linear-gradient(130deg, pink, greenyellow);
}
nav a:nth-child(3):hover ~ #indicator {
  left: 67%;
  background: linear-gradient(130deg, yellow, red);
}
nav a:nth-child(4):hover ~ #indicator {
  left: 92%;
  background: linear-gradient(130deg, #2058FE, red);
}

#indicator {
    position: relative;
    bottom: -5px;
    width: 30px;
    height: 3px;
    background-color: #fff;
    left: 67%;
    background: linear-gradient(130deg, #C500F4, palevioletred);
    border-radius: 5px;
    transition: 0.2s ease left;
}

nav .CV {
  color: #00e2ff;
}


/*

#indicator {
  position: relative;
  left: 5%;
  bottom: -10;
  width: 30px;
  height: 3px;
  background-color: #fff;
  border-radius: 5px;
  transition: 0.2s ease left;
}
nav .visites {
  color: #00e2ff;
}
nav .CV {
  color: #949494;
}
nav .CONTACT {
  color: #949494;
}*/
