*{
  box-sizing: border-box;
}
body{
  background: rgba(91, 55, 183, 1);
  font-family: 'Loto', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: background 0.4s linear;
  text-align: center;
  margin: 0;
  min-height: 100vh;   
}

h1{
  color: #fff;
  position: absolute;
  top: 20px;
}

.tab-container{
  background: #fff;
  border: 2px solid rgba(0, 0, 0, 0.286) ;
  

  border-top-right-radius: 25px;
  border-top-left-radius: 25px;
  
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16),0 3px 6px rgba(0, 0, 0, 0.23);
  display: flex;
  justify-content: space-between;
  padding: 12px;
  width: 100%;
  position: fixed;
  bottom: 0;

}


.tab{
  background: #fff;
  

  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  margin: 0 10px;
  transition: background 0.4s linear;
}


.tab i{
  font-size: 1.2em;

}

.tab p{
  font-weight: bold;
  overflow: hidden;
  max-width: 0;

}

.tab.active p{
  margin-left: 10px;
  max-width: 150px;
  transition: max-width 0.4s linear;
}

.tab.active.purple{
  background: rgba(91, 55, 183, 0.3);
  border: 2px solid rgba(128, 0, 128, 0.171);
  color: rgba(91, 55, 183, 1);
}


.tab.active.pink{
    background: rgba(201, 55, 157, 0.2);
    border: 2px solid rgba(201, 55, 157, 0.494);
    color: rgba(201, 55, 157, 1);
}

.tab.active.yellow {
  background: rgba(230, 169, 25, 0.2);
  border: 2px solid rgba(241, 175, 23, 0.712);
  color: rgba(230,169,25, 1);
}

.tab.active.teal {
  background: rgba(28, 150, 162, 0.2);
  border: 2px solid rgba(28, 151, 162, 0.811);
  color: rgba(28,150,162, 10);
}






