@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");
@import url("https://fonts.googleapis.com/icon?family=Material+Icons+Outlined");

*
{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins',sans-serif;
}

:root
{
  --clr: #222237;
}

body
{
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  /* background: var(--clr); */
}

.navigation-back{
  background: #ff8ed3; 
}

.navigation
{
  position: relative;
  width: 400px;
  height: 70px;
  /* background: #f6f4f9; */
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
}

.navigation ul
{
  display: flex;
  padding-left: 0rem;
  /* width: 350px;  */
}

.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;
  text-align: center;
  transition: 0.5s;
  color: #fff;
  /* color: var(--clr); */
}

.navigation ul li.active a .icon
{
  transform: translateY(-35px);
}

.navigation ul li a .text
{
  position:absolute;
  /* color: var(--clr); */
  color: #fff;
  font-weight: 400;
  font-size: 0.75em;
  letter-spacing: 0.05em;
  transition: 0.5s;
  opacity: 0;
}

.navigation ul li.active a .text
{
  opacity:1;
  transform: translateY(20px);
}


.indicator{
  position: absolute;
  top: -60%;
  width: 70px;
  height: 70px;
  background: #ff8ed3;
  border-radius: 50%;
  border: 6px solid #fff;
  transition: 0.5s;
}

.indicator::before
{
  content: '';
  position: absolute;
  top: 34.5%;
  left: -26px;
  width: 20px;
  height: 20px;
  background: transparent;
  border-top-right-radius: 20px;
  box-shadow: 5.5px -5.5px 0px 1px #fff;
}

.indicator::after
{
  content: '';
  position: absolute;
  top: 34.5%;
  right: -26px;
  width: 20px;
  height: 20px;
  background: transparent;
  border-top-left-radius: 20px;
  box-shadow: -5.5px -5.5px 0px 1px #fff;
}

.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));
}

.form-check-input:focus {
  border-color: #6798e0;
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(0, 97, 242, 0.25)
}

.form-check-input:checked {
  background-color: #0061f2;
  border-color: #0061f2
}

.form-check-input[type="checkbox"]:indeterminate {
  background-color: #0061f2;
  border-color: #0061f2;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e")
}
