/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : May 11, 2024, 2:31:20 PM
    Author     : Part Laptop
*/
/*@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');*/
/*@font-face {
    font-family: 'Iranian-Sans';
    src: 
        url('../fonts/Iranian-Sans.eot') format('eot'), 
        url('../fonts/Iranian-Sans.woff') format('woff'),
        url('../fonts/Iranian-Sans.ttf') format('ttf'); 
}*/
*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:'BYekan',sans-serif;
}
:root
{
    --clr:#222327;
}
.navigationBar
{
    /*width: 400px;*/
    height: 70px;
    background: #f0eff3;
    /*position: relative;*/
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    /*border:1px solid #928da0;*/
}
.navigationBar ul
{
    display: flex;
    width: 350px;
}
.navigationBar ul li
{
    position: relative;
    list-style: none;
    width: 70px;
    /*height: 70px;*/
    z-index: 1;
}
.navigationBar ul li a
{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    text-align: center;
    font-weight: 500;
}
.navigationBar ul li a .icon
{
    position: relative;
    display: block;
    line-height: 75px;
    font-size: 1.5rem;
    text-align: center;
    transition: 0.5s;
    color: #fff;
}
.navigationBar ul li.active a .icon
{
    transform: translateY(-32px);
}
.navigationBar ul li a .text
{
    position: absolute;
    color: #fff;
    font-weight: 400;
    font-size: 0.75em;
    letter-spacing: 0.05em;
    transition: 0.5s;
    opacity: 0;
    transform: translateY(20px);
}
.navigationBar ul li.active a .text
{
    transform: translateY(10px);
    opacity: 1;
}
.indicatorBar
{
    position: absolute;
    top: -50%;
    width: 70px;
    height: 70px;
    background: #e5e3e9;
    border-radius: 50%;
    border: 6px solid #fff;
    transition: 0.5s;
}
.indicatorBar::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 #fff;
}
.indicatorBar::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 #fff;
}
.navigationBar ul li:nth-child(1).active ~ .indicatorBar
{
    transform: translateX(calc(70px * 0));
}
.navigationBar ul li:nth-child(2).active ~ .indicatorBar
{
    transform: translateX(calc(70px * 1));
}
.navigationBar ul li:nth-child(3).active ~ .indicatorBar
{
    transform: translateX(calc(70px * 2));
}
.navigationBar ul li:nth-child(4).active ~ .indicatorBar
{
    transform: translateX(calc(70px * 3));
}
.navigationBar ul li:nth-child(5).active ~ .indicatorBar
{
    transform: translateX(calc(70px * 4));
}

