@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap");

* {
    box-sizing: border-box;
}
/*body{
  background-color: rgba(91,55, 183, 1);
  font-family: "Lato",sans-serif;

  display: flex;
  flex-direction: column;
  min-height: 100vh;
  align-items:center;
  justify-content: center;
  text-align: center;
  margin: 0;
  transition: background 0.4s linear;
}*/
/*h1{
    color: rgb(226,226, 226);
    position: absolute;
    top: 20px;
}*/
.tab-nav-container {
    background-color: var(--primary-color);
    box-shadow: 0 15px 10px rgb(0 0 0 / 16%), 0 3px 6px rgb(0 0 0 / 16%);
    display: flex;
    padding: 1.5rem 0.5rem 1.5rem 0.5rem;
    justify-content: space-between;
    width: 100%;
    position: fixed;
    Width: 100%;
    bottom: 0;
    left: 0;
    z-index: 9 !important;
    height: 6rem;
}

.tab {
    background-color: var(--primary-color);
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    /*  margin: 0 5px;*/
    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: 100px;
        transition: max-width 0.4s linear;
    }

.tab-nav-text {
    padding: 1rem;
    border-radius: 25px;
    border-color: var(--primary-color);
    width: 80%;
    margin-left: 1rem;
}