/*Обнуление*/
*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
/*:root
{
    --clr: #222327;
}*/
body
{
    align-items: center;
    min-height: 100vh;
    background: var(--clr);
}
.navigation
{
    margin: 60px auto;
    position: relative;
    width: 420px;
    height: 70px;
    background: #fff;
    display: flex;
    justify-content: center; 
   /*  align-items: center; */
    border-radius: 10px;
}
.navigation ul
{
    display: flex;
    width: 480px;
}
.navigation ul li
{
   position: relative;
   list-style: none;
   width: 70px;
   height: 70px;
   z-index: 1;
}
.navigation ul li a
{
    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: 75px;
  font-size: 1.5em;
  text-align: center;
  transition: 0.5s;
  color: var(--clr);
}
.navigation ul li.active a .icon
{
    transform: translateY(-32px);
    color: #fff;
}
.navigation ul li a .text2
{
    position: absolute;
    color: var(--clr);
    font-weight: 400;
    font-size: 0.75em;
    letter-spacing: 0.05em;
    transition: 0.5s;
    opacity: 0;
    transform: translateY(20px);
}
.navigation ul li.active a .text2
{
    opacity: 1;
    transform: translateY(10px);
}
.indicator
{
  position: absolute;
  top: -50%;
  width: 70px;
  height: 70px;
  background: #1EB26D;
  border-radius: 50%;
  border: 6px solid var(--clr);
}
.navigation ul li:nth-child(1).active ~ .indicator
{
    transform: translateX(calc(70px*0));    
}
.navigation ul li:nth-child(2).active ~ .indicator
{
    transform: translateX(calc(70px*1));
}
.navigation ul li:nth-child(3).active ~ .indicator
{
    transform: translateX(calc(70px*2));
}
.navigation ul li:nth-child(4).active ~ .indicator
{
    transform: translateX(calc(70px*3));
}
.navigation ul li:nth-child(5).active ~ .indicator
{
    transform: translateX(calc(70px*4));
}
.navigation ul li:nth-child(6).active ~ .indicator
{
    transform: translateX(calc(70px*5));
}

 .lin {
        max-width: 800px;
        margin: 20px auto;
        padding: 10px 10px;
    }
    .text {
        margin: 20px 10px;
        padding: 10px 10px;       
    }
    .visit {
        background: #87424A;
        text-decoration: none;
        color: #FCFCFC;
        font-size: 24px;
        margin: 10px 10px;
        padding: 10px 10px;       
    }
     .stat {
        background: #87424A;
        text-decoration: none;
        color: #FCFCFC;
        font-size: 24px;
        margin: 10px 10px;
        padding: 10px 10px;       
    }
    .language {
        background: #175418;
        text-decoration: none;
        color: #FCFCFC;
        font-size: 24px;
        margin: 10px 10px;
        padding: 10px 10px;       
    }
    .dinero {
        background: #212F7C;
        text-decoration: none;
        color: #FCFCFC;
        font-size: 24px;
        margin: 10px 10px;
        padding: 10px 10px;       
    }
    .all_pa {
        background: #756B24;
        text-decoration: none;
        color: #FCFCFC;
        font-size: 24px;
        margin: 10px 10px;
        padding: 10px 10px;       
    }
    .book {
        background: #D64D3E;
        text-decoration: none;
        color: #FCFCFC;
        font-size: 24px;
        margin: 10px 10px;
        padding: 10px 10px;       
    }

/* для гаджетов */
@media (max-width:767px){
    .text {
        margin: 20px 0px;
        padding: 10px 0px;       
    }
    .visit {
       font-size: 18px; 
    }
    .language {
       font-size: 18px; 
    }
    .dinero {
       font-size: 18px; 
    }
    .all_pa {
       font-size: 18px; 
    }