@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");
@import url("https://fonts.googleapis.com/icon?family=Material+Icons+Outlined");

/**
@chrisbautista @codespud
animated tabs using only css transitions.

I wanted to test how much we can accomplish with just CSS transitions. No keyframe animations at all.
**/
:root {
    --accent-color: #1fa8f5;
    --accent-color-fg: #fefefe;
    --backdrop-color: #89d4fe;
    --app-content-background-color: #c0d8ec;
    --inset-shadow: rgba(7, 43, 74, 0.3);
    --outset-shadow: rgba(223, 240, 255, 0.25);
    --clay-box-shadow: rgba(7, 43, 74, 0.3);
    --clay-background-color: #c0d8ec;
    --clay-fg-color: #444;
}

body {
    font-size: 10px;
    font-family: "Roboto", sans-serif;
}

.flex-center {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.tab-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
}

.stage {
    max-width: 400px;
    width: 400px;
    margin: 0 auto;
}

.home.active {
    color: #010312;
}

.home-style {
    --app-content-background-color: #c0d8ec;
}

.products.active {
    --outset-shadow: rgba(247, 167, 103, 0.45);
    --inset-shadow: rgba(149, 62, 8, 0.45);
    --clay-box-shadow: rgba(211, 69, 20, 0.4);
    --clay-background-color: #d34514;
    --clay-fg-color: #f1f2f3;
    color: #010312;
}

.products-style {
    --app-content-background-color: #d36e5a;
}

.services.active {
    --outset-shadow: rgba(255, 159, 40, 0.45);
    --inset-shadow: rgba(88, 54, 13, 0.45);
    --clay-box-shadow: rgba(88, 54, 13, 0.4);
    --clay-background-color: #ed9426;
    --clay-fg-color: #f1f2f3;
    color: #010312;
}

.services-style {
    --app-content-background-color: #ed9426;
}

.about.active {
    --outset-shadow: rgba(93, 255, 85, 0.45);
    --inset-shadow: rgba(28, 78, 26, 0.45);
    --clay-box-shadow: rgba(28, 78, 26, 0.4);
    --clay-background-color: #4dd146;
    --clay-fg-color: #f1f2f3;
    color: #4dd146;
}

.about-style {
    --app-content-background-color: #4dd146;
}

.help.active {
    --outset-shadow: rgba(230, 230, 230, 0.45);
    --inset-shadow: rgba(81, 81, 81, 0.45);
    --clay-box-shadow: rgba(81, 81, 81, 0.4);
    --clay-background-color: #a3a3a3;
    --clay-fg-color: #f1f2f3;
    color: #783896;
}

.help-style {
    --app-content-background-color: #a3a3a3;
}

.tabbar {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    height: 120px;
    display: flex;
    flex-direction: column;
    box-sizing: content-box;
    position: relative;
    overflow: hidden;
    transition: background-color 0.4s;
}

.tabbar ul,
.tabbar li {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.tabbar ul {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #f9f8fa;
    align-self: flex-end;
    justify-content: center;
    height: 50px;
}

.tabbar li {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    margin-right: 5px;
    transition: all 0.4s;
    background-color: #f9f8fa;
    width: 60px;
    height: 60px;
    position: relative;
    color: #888;
    cursor: pointer;
}

.tabbar li:last-child {
    margin-right: 0;
}

.tab-style2 ul {
    justify-content: space-around;
}

.tab-style2 li {
    border-top-left-radius: 100%;
    border-top-right-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 1px;
    left: 0;
    width: 60px;
    height: 50px;
}

.tab-style2 .active {
    width: 60px;
    height: 60px;
    top: -1rem;
}

.tab-style2 .active span {
    font-size: 2rem;
}

.tab-style2 .active:before,
.tab-style2 .active:after {
    position: absolute;
    content: " ";
    width: 13px;
    height: 13px;
    border-bottom: 4px solid #f9f8fa;
    top: 8px;
}

.tab-style2 .active:before {
    border-bottom-right-radius: 100%;
    left: -7px;
}

.tab-style2 .active:after {
    border-bottom-left-radius: 100%;
    right: -7px;
}