﻿/*=============== VARIABLES CSS ===============*/
:root {
    --header-height: 3rem;
    /*========== Colors ==========*/
    --hue: 174;
    --sat: 63%;
    --first-color: hsl(var(--hue), var(--sat), 40%);
    --first-color-alt: hsl(var(--hue), var(--sat), 36%);
    --title-color: hsl(var(--hue), 12%, 15%);
    --text-color: hsl(var(--hue), 8%, 35%);
    --body-color: hsl(var(--hue), 100%, 99%);
    --container-color: #FFF;
    /* ========== Font and typography ==========*/
    --body-font: 'Open Sans', sans-serif;
    --h1-font-size: 1.5rem;
    --normal-font-size: .938rem;
    --tiny-font-size: .625rem;
    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 2;
}

@media screen and (min-width: 968px) {
    :root {
        --h1-font-size: 2.25rem;
        --normal-font-size: 1rem;
    }
}

.nav__menu ul {
    list-style: none;
}

.nav__item a {
    text-decoration: none;
}

.nav__item p {
    align-self: center;
}

/*=============== HEADER ===============*/
.thumb-nav-v2 {
    width: 100%;
    background-color: var(--container-color);
    z-index: var(--z-fixed);
    transition: .4s;
}

.thumb-nav-static-container {
    width: 80%;
    position: fixed;
    bottom: 0;
}


/*=============== NAV ===============*/
.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__img {
    width: 32px;
    border-radius: 50%;
}

.nav__image {
    width: 30px;
    height: 30px;
    object-fit: scale-down;
    overflow: hidden;
}

.nav__logo {
    color: var(--title-color);
    font-weight: 600;
}

@media screen and (max-width: 767px) {
    .nav__menu {
        position: fixed;
        bottom: 0;
        left: 0;
        background-color: var(--container-color);
        box-shadow: 0 -1px 12px hsla(var(--hue), var(--sat), 15%, 0.15);
        width: 100%;
        height: 4rem;
        padding: 0 1rem;
        display: grid;
        align-content: center;
        border-radius: 1.25rem 1.25rem 0 0;
        transition: .4s;
    }
}

.nav__list,
.nav__link,
.nav__item {
    display: flex;
}

.nav__link {
    flex-direction: column;
    align-items: center;
    row-gap: 4px;
    color: var(--title-color);
    font-weight: 600;
    cursor: pointer;
}

.nav__list {
    justify-content: space-around;
}

.nav__name {
    font-size: var(--tiny-font-size);
    display: none;
    Minimalist design, hidden labels
}

.nav__icon {
    font-size: 1.5rem;
}

Active link
.active-link {
    position: relative;
    color: var(--first-color);
    transition: .3s;
}

    Minimalist design, active link
    .active-link::before {
        content: '';
        position: absolute;
        bottom: -.5rem;
        width: 4px;
        height: 4px;
        background-color: var(--first-color);
        border-radius: 50%;
    }

Change background header
.scroll-header {
    box-shadow: 0 1px 12px hsla(var(--hue), var(--sat), 15%, 0.15);
}

.flyout-thumb-nav {
    width: 80%;
}

/*=============== MEDIA QUERIES ===============*/
/* For small devices 
 Remove if you choose, the minimalist design */
@media screen and (max-width: 320px) {
    .nav__name {
        display: none;
    }
}

/* For medium devices */
@media screen and (min-width: 576px) {
    .nav__list {
        justify-content: center;
        column-gap: 3rem;
    }
}

@media screen and (min-width: 767px) {

    .nav {
        height: calc(var(--header-height) + 1.5rem);
        4.5rem
    }

    .nav__img {
        display: none;
    }

    .nav__icon {
        display: none;
    }

    .nav__name {
        font-size: var(--normal-font-size);
        display: block;
        Minimalist design, visible labels
    }

    .nav__link:hover {
        color: var(--first-color);
    }

    /*First design, remove if you choose the minimalist design */
    .active-link::before {
        content: '';
        position: absolute;
        bottom: -.75rem;
        width: 4px;
        height: 4px;
        background-color: var(--first-color);
        border-radius: 50%;
    }

    /*Minimalist design */
    .active-link::before {
        bottom: -.75rem;
    }
}

.nav__downarrow{
    height: 25px !important;
    width: 25px !important;
    align-self: center;
    rotate: 90deg
}

.nav__item p {
    align-self: center;
}

.nav__downarrow {
    height: 25px !important;
    width: 25px !important;
    align-self: center;
    rotate: 90deg
}
