@import url("https://fonts.googleapis.com/css2?family=Montserrat+Alternates:wght@400;600;700&display=swap"); :root {
    --first-color: hsl(225, 95%, 56%);
    --black-color: hsl(225, 12%, 12%);
    --white-color: hsl(0, 0%, 100%);
    --text-color: hsl(225, 8%, 65%);
    --body-color: hsl(225, 100%, 99%);
    --body-font: "Montserrat Alternates", sans-serif;
    --biggest-font-size: 2.5rem;
    --tiny-font-size: .625rem;
    --font-regular: 400;
    --font-semi-bold: 600;
    --font-bold: 700;
    --z-tooltip: 10;
    --z-fixed: 100;
}

@media screen and (min-width: 1150px) {
    :root {
        --biggest-font-size: 3.5rem;
    }
}

ul {
    list-style: none;
}

.nav {
    position: fixed;
    bottom: 15px;
    left: 0px;
    right: 0px;
    background-color: rgb(26, 26, 26);
    width: 90%;
    margin-inline: auto;
    box-shadow: rgba(0, 0, 0, 0.3) 0px -4px 8px;
    padding: 13px 2rem;
    border-radius: 50px;
    z-index: 1000;
}

.nav__list {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__link {
    color: var(--text-color);
    font-size: 22px;
    transition: color 0.4s;
    cursor: pointer;
    border: none;
    padding: 10px;
    background: none;
    transition: color 0.3s, transform 0.3s;
}

.nav__link:hover {
    color: #73bcea;
}

.nav__expand {
    border: none;
    outline: none;
    width: 40px;
    height: 40px;
    text-align: center;
    background-color: hsl(211.23deg 41.89% 1.72%);
    border-radius: 50%;
    cursor: pointer;
}

.nav__expand-icon {
    display: inline-block;
    color: var(--white-color);
    font-size: 1.5rem;
    transition: transform 0.4s;
}

.nav__expand-list {
    position: absolute;
    top: -4.5rem;
    left: 0px;
    right: 0px;
    background-color: hsl(220deg 12.25% 6.04%);
    box-shadow: rgba(1, 4, 20, 0.1) 0px 2px 16px;
    width: max-content;
    margin-inline: auto;padding: 0.5rem 1.5rem;
    border-radius: 4rem;
    display: flex;
    column-gap: 2rem;
    z-index: -1;
    overflow: hidden;
    transform: translateY(5rem) scale(0.1);
    transition: transform 0.5s cubic-bezier(0.5, 1.8, 0.4, 0.8);
}

.nav__expand-list li {
    transform: translateY(-3rem);
    transition: transform 0.4s;
}

.nav__expand-list li:nth-child(1) {
    transition-delay: 0.2s;
}

.nav__expand-list li:nth-child(2) {
    transition-delay: 0.3s;
}

.nav__expand-list li:nth-child(3) {
    transition-delay: 0.4s;
}

.nav__expand-link {
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: color 0.4s;
}

.nav__expand-link i {
    font-size: 1.5rem;
}

.nav__expand-link span {
    font-size: var(--tiny-font-size);
    font-weight: var(--font-semi-bold);
}

.nav__expand-link:hover {
    color: var(--white-color);
}

.show-list, .show-list li {
    transform: translateY(0px);
}

.rotate-icon {
    transform: rotate(135deg);
}

@media screen and (min-width: 450px) {
    .nav {
        width: 50%;
    }

    .nav__link {
    font-size: 26px;
    }
}
