@charset "utf-8";

/* ---------- FONTAWESOME ---------- */

nav {
    margin: 30px;
    padding: 0 20px;
    font-size: 100%;
}

nav ul {
    list-style: none;
    margin: 0;
    background-color: transparent;
    padding: 10px 10px;
    text-align: center;
    border-radius: 10px;
    box-shadow: inset 0px 0px 10px white;
    -webkit-box-shadow: inset 0px 0px 10px white;
}

nav ul li {
    display: inline-block;
    padding: 0px;
    margin: 0px 5px;
    border: 0px solid white;
    border-radius: 30px;
    background-color: white;
    box-shadow: inset 0px 0px 10px #128cc9;
    -webkit-box-shadow: inset 0px 0px 10px #128cc9;
    min-width: 20px;
    text-align: center;
    width: 50px;
    height: 50px;
    position: relative;
}

nav ul li div {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: 0px solid white;
    border-radius: 30px;
    background-color: #128cc9;
    -webkit-transition: width 1s, height 1s, top 1s, left 1s;
    transition: width 1s, height 1s, top 1s, left 1s;
}

nav ul li a {
    width: 20px;
    height: 20px;
    text-decoration: none;
    position: absolute;
    top: 15px;
    left: 15px;
    -webkit-transition: top 1s, left 1s;
    transition: top 1s, left 1s;
}

nav ul li a span {
    font-size: 1.9em;
    color: white;
    -webkit-transition: color 1s;
    transition: color 1s;
}

nav ul li:hover div {
    width: 0px;
    height: 0px;
    top: 25px;
    left: 25px;
}
nav ul li:hover a {
    color: white;
    top: -10px;
    left: -10px;
}
nav ul li:hover a span {
    color: #128cc9;
}
