@import url('https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800,900');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --clr: rgb(0, 0, 0);
    /*--clr: linear-gradient(210deg,rgb(173, 104, 251)1%, rgb(144, 144, 255)5%,rgba(7, 109, 161,0.5)90%);*/
}

body {
    /*display: flex;*/
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #c6c6de;
}

.navigation {
    bottom: 0px;
    position: fixed;
    width: 100%;
    height: 70px;
/*    background: linear-gradient(0deg, rgba(19, 129, 248, 0.8) 10%, rgba(25, 3, 57, 0.95) 30%, rgba(69, 86, 220,1) 60%);*/
    background: linear-gradient(0deg, rgb(169, 186, 195) 10%, #fffffff2 30%, rgb(203, 203, 204) 60%);
    display: flex;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}

.navigation ul {
    display: flex;
    width: 520px;
}

.navigation ul li.list{
    position: relative;
    list-style: none;
    width: 70px;
    height: 70px;
    z-index: 1;

}

.navigation ul li a.a3d {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    text-align: center;
    font-weight: 500;
}

.navigation ul li a .icon {
    position: relative;
    display: block;
    line-height: 70px;
    font-size: 1.5em;
    text-align: center;
    transition: 0.5s;
    color: var(--clr);
    color:rgb(164, 168, 172);
}

.navigation ul li.active a .icon {
    transform: translateY(-22px);
    color:navy
}
.navigation ul li a .icon:hover {
    color:navy
}

ion-icon {
    width: 30px;
    height: 30px;
}

.navigation ul li a .text {
    position: absolute;
    color:navy;
    font-weight: 500;
    font-size: 1.3em;
    letter-spacing: 0.05em;
    transition: 0.5s;
    opacity: 0;
    transform: translateY(-20px);
}

.navigation ul li.active a .text {
    opacity: 1;
    transform: translateY(15px);
    /*text-shadow: 2px 2px 2px #b5edfb;*/
}

.indicator {
    position: absolute;
    top: -50%;
    width: 70px;
    height: 70px;
    background:radial-gradient(circle, rgb(255, 255, 255) 22%, rgb(255, 255, 255)18%, rgb(96, 96, 96) 99%);
    border-radius: 50%;
    border: 6px solid var(--clr);
    transition: 0.5s;
}

.indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -22px;
    width: 20px;
    height: 20px;
    background: transparent;
    border-top-right-radius: 20px;
    box-shadow: 1px -10px 0 0 var(--clr);

}

.indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -22px;
    width: 20px;
    height: 20px;
    background: transparent;
    border-top-left-radius: 20px;
    box-shadow: -1px -10px 0 0 var(--clr);
}

.navigation ul li:nth-child(1).active ~ .indicator
{
    transform: translate(calc(70px * 0));
}
.navigation ul li:nth-child(2).active ~ .indicator
{
    transform: translate(calc(70px * 1));
}
.navigation ul li:nth-child(3).active ~ .indicator
{
    transform: translate(calc(70px * 2));
}
.navigation ul li:nth-child(4).active ~ .indicator
{
    transform: translate(calc(70px * 3));
}
.navigation ul li:nth-child(5).active ~ .indicator
{
    transform: translate(calc(70px * 4));
}
.navigation ul li:nth-child(6).active ~ .indicator
{
    transform: translate(calc(70px * 5));
}
.navigation ul li:nth-child(7).active ~ .indicator
{
    transform: translate(calc(70px * 6));
}

.nav3d {
    /*height:80px; hiding the bg, as its not needed here.*/
    height:0px;
    width: 100%;
    background-color: var(--clr);
    bottom:0;
    position:fixed;
}