@import url('https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800,900');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --clr: #fff
}

.nav-icons li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    /* make text white */
}

.nav-icons .text {
    margin-top: -10px;
    font-size: 10px;
    color: white;
    /* make label text white */
    background: transparent;
    /* remove background block */
}

.navigation {
    width: 500px;
    height: 90px;
    background: rgb(74, 83, 235);
    position: relative;
    display: flex;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    /* border-radius: 10px; */
}

.navigation ul {
    display: flex;
    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;
    transition: 0.5s;
    color: #fff;
    opacity: 0.75;
}

.navigation ul li.active a .icon {
    transform: translateY(-8px);
    opacity: 1;
    color: rgb(74, 83, 235);
}

.indicator {
    position: absolute;
    top: -10px;
    width: 70px;
    height: 70px;
    border-bottom-left-radius: 35px;
    border-bottom-right-radius: 35px;
    border: 6px solid var(--clr);
    background: var(--clr);
    cursor: pointer;
    transition: 0.5s;
    ;
}

.indicator::before {
    content: '';
    position: absolute;
    top: 4px;
    left: -25.75px;
    width: 20px;
    height: 20px;
    border-top-right-radius: 20px;
    box-shadow: 4px -6px 0 2px var(--clr);
}

.indicator::after {
    content: '';
    position: absolute;
    top: 4px;
    right: -25.75px;
    width: 20px;
    height: 20px;
    border-top-left-radius: 20px;
    box-shadow: -4px -6px 0 2px var(--clr);
    z-index: -1;
}

.navigation ul li:nth-child(2).active~.indicator {
    transform: translateX(calc(60px * 1));
}

.navigation ul li:nth-child(3).active~.indicator {
    transform: translateX(calc(62px * 2));
}

.navigation ul li:nth-child(4).active~.indicator {
    transform: translateX(calc(63px * 3));
}

.navigation ul li:nth-child(5).active~.indicator {
    transform: translateX(calc(63px * 4));
}

.indicator span {
    position: absolute;
    bottom: 3px;
    left: -1px;
    width: 60px;
    height: 60px;
    border: 4px solid rgb(74, 83, 235);
    background: #fff;
    border-radius: 50%;
    transform-origin: bottom;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transform: scale(0.85);
}


.about-content {
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.about-content.collapsed {
    max-height: 150px;
    /* 預設收合高度 */
}

.toggleIcon {
    transition: transform 0.5s ease;
}

.toggleIcon.rotate {
    transform: rotate(180deg);
}





/*color setting */

.fw-800 {
    font-weight: 800;
}

.fw-700 {
    font-weight: 700;
}

.fw-600 {
    font-weight: 600;
}

.fw-500 {
    font-weight: 500;
}

.color-main {
    color: rgb(96, 106, 228);
}

.b-color-main {
    background-color: rgb(96, 106, 228);
}

.color-main2 {
    color: rgb(252, 188, 16);
}

.color-main3 {
    color: rgb(154, 214, 141);
}

.color-green{
    color: rgb(18, 138, 0);
}


.b-color-main2 {
    background-color: rgb(252, 188, 16);
}

.b-color-main3 {
    background-color: rgb(154, 214, 141);
}

.b-color-green {
    background-color: rgb(18, 138, 0);
}

.color-pink {
    color: rgb(213, 155, 154);
}

.b-color-pink {
    background-color: rgb(213, 155, 154);
}



.color-gray {
    color: rgb(168, 168, 168);
}

.b-color-gray {
    background-color: rgb(168, 168, 168);
}

.br-20 {
    border-radius: 20px;
}