/* 
==========
Styles for navigation menu.
========== 
*/

.container__navigation{
    width: 100%;
    height: auto;
    background-color: var(--redwine-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.container__navigation .content__shipments__and__shopping{
    width: 100%;
    height: calc(30px + 10px);
    display: flex;
    padding-left: 2em;
    padding-right: 2em;
}

.shipments__car{
    width: 50%;
    height: auto;
    display: flex;
    gap: 1em;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 5px;
    padding-bottom: 5px;
}

.container__navigation .line{
    border-bottom: 1px solid var(--white-color);
    width: calc(100% - 4em);
    margin: auto;
}

.shipments__car .shipments{
    width: max-content;
    height: auto;
    display: flex;
    gap: 1em;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    color: var(--white-color);
}

.shipments__car .shipments .icon{
    width: 20px;
    height: 20px;
}

.shipments__car .shipments .icon svg{
    width: 100%;
    height: 100%;
    fill: var(--white-color);
}

/*
==========
Styles for shopping.
==========
*/

.shopping__header{
    width: 50%;
    height: auto;
    display: flex;
    gap: 1em;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 5px;
    padding-bottom: 5px;
}

.shopping__header .shopping{
    width: auto;
    height: auto;
    display: flex;
    gap: 1em;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    color: var(--white-color);
}

.shopping__header .shopping:hover a{
    color: var(--white-color-transparent);
    text-decoration: none;
    transition: all ease-in-out .3s;
}

.shopping__header .shopping a {
    display: flex;
    gap: 1em;
    color: var(--white-color);
    text-decoration: none;
    transition: all ease-in-out .3s;
}

.shopping__header .shopping a:hover {
    color: var(--white-color-transparent);
}

.shopping__header .shopping a:hover svg {
    fill: var(--white-color-transparent);
}

.shopping__header .shopping i{
    width: 20px;
    height: 20px;
    display: flex;
    gap: 1em;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    color: var(--white-color);
}

.shopping__header .shopping i svg{
    width: 100%;
    height: 100%;
    fill: var(--white-color);
    transition: all ease-in-out .3s;
}

.shopping__header .shopping i svg:hover{
    width: 100%;
    height: 100%;
    fill: var(--white-color-transparent);
    transition: all ease-in-out .3s;
}

/*
==========
Styles for navigation menu.
==========
*/

.container__navigation .content__navigation{
    width: 100%;
    height: calc(70px + 26px);
    display: flex;
    gap: 1em;
    justify-content: space-between;
    align-items: center;
    padding-left: 3em;
    padding-right: 3em;
    padding-bottom: 13px;
    padding-top: 13px;
}

.logo{
    display: flex;
    width: 170px;
    height: 70px;
    align-items: center;
    justify-content: center;
}

.logo img{
    width: auto;
    height: 70px;
    filter: brightness(0) invert(1);
}

.desktop__navigation__menu {
    padding: 15px;
}

.desktop__navigation__menu ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
}

.desktop__navigation__menu ul li {
    position: relative;
    padding: 10px 20px;
    cursor: pointer;
}

.desktop__navigation__menu ul li a{
    color: var(--white-color);
    text-decoration: none;
    transition: all ease-in-out .3s;
}

.desktop__navigation__menu ul li a:hover {
    color: var(--white-color-transparent);
    transition: all ease-in-out .3s;
}

.mobile__navigation__menu{
        padding: 0;
        display: block;
        position: absolute;
        top: -100vh;
        left: 0;     
        z-index: 100;   
        width: 100%;
        height: 100vh;
        background-color: var(--redwine-color);
        transition: all ease-in-out .3s;
    }

    .mobile__navigation__menu .logo{
        width: 100%;
        height: 100px;
    }

    .mobile__navigation__menu .logo{
        width: 100%;
        height: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .mobile__navigation__menu .logo img{
        width: auto;
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile__navigation__menu #container-links{
        width: 100%;
        height: calc(100vh - 100px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0;
        margin: 0;
    }

    .mobile__navigation__menu #container-links li{
        width: 100%;
        height: 37px;
        display: flex;
        list-style: none;
        justify-content: center;
        align-items: center;
    }

    .mobile__navigation__menu #container-links li a{
        color: var(--white-color);
        transition: all ease-in-out .3s;
        text-decoration: none;
    }

    .mobile__navigation__menu #container-links li a:hover{
        color: var(--white-color-transparent);
        transition: all ease-in-out .3s;
    }

    .mobile__navigation__menu #container-links li #close-menu{
        color: var(--white-color);
        transition: all ease-in-out .3s;
    }

    .mobile__navigation__menu #container-links li #close-menu:hover{
        color: var(--white-color-transparent);
        transition: all ease-in-out .3s;
        cursor: pointer;
    }

.button__menu{
    display: none;
}

/*
==========
Styles for screens up to 910px.
==========
*/

@media (max-width: 910px) {
    /*
    ==========
    Styles for navigation menu for mobiles.
    ==========
    */
    .desktop__navigation__menu{
        display: none;
    }

    .button__menu{
        background: none;
        border: none;
        width: 30px;
        height: 30px;
        display: block;
    }

    .button__menu .icon{
        display: block;
        width: 100%;
        height: 100%;
    }

    .button__menu .icon svg{
        width: 100%;
        height: 100%;
        fill: var(--white-color);
        transition: all ease-in-out .3s;
    }

    .button__menu:hover .icon svg {
        fill: var(--white-color-transparent);
        cursor: pointer;
        transition: all ease-in-out .3s;
    }
    
    .mobile__navigation__menu--show{
        padding: 0;
        display: block;
        position: absolute;
        top: 0;
        left: 0;     
        z-index: 100;   
        width: 100%;
        height: 100vh;
        background-color: var(--redwine-color);
        transition: all ease-in-out .3s;
    }

    .mobile__navigation__menu--show .logo{
        width: 100%;
        height: 100px;
    }

    .mobile__navigation__menu--show .logo{
        width: 100%;
        height: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .mobile__navigation__menu--show .logo img{
        width: auto;
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile__navigation__menu--show #container-links{
        width: 100%;
        height: calc(100vh - 100px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0;
        margin: 0;
    }

    .mobile__navigation__menu--show #container-links li{
        width: 100%;
        height: 37px;
        display: flex;
        list-style: none;
        justify-content: center;
        align-items: center;
    }

    .mobile__navigation__menu--show #container-links li a{
        color: var(--white-color);
        transition: all ease-in-out .3s;
        text-decoration: none;
    }

    .mobile__navigation__menu--show #container-links li a:hover{
        color: var(--white-color-transparent);
        transition: all ease-in-out .3s;
    }

    .mobile__navigation__menu--show #container-links li #close-menu{
        color: var(--white-color);
        transition: all ease-in-out .3s;
    }

    .mobile__navigation__menu--show #container-links li #close-menu:hover{
        color: var(--white-color-transparent);
        transition: all ease-in-out .3s;
        cursor: pointer;
    }
}

/*
==========
Styles for screens up to 460px.
==========
*/

@media (max-width: 460px) {
    /*
    ==========
    Styles for shipments.
    ==========
    */

    #text-car{
        display: none;
    }

    .shipments__car{
        width: calc(100% - 50px);
        height: auto;
        display: flex;
        gap: 1em;
        justify-content: flex-start;
        align-items: center;
        flex-wrap: wrap;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .shopping__header{
        width: 50px;
        height: auto;
        display: flex;
        gap: 1em;
        justify-content: flex-end;
        align-items: center;
        flex-wrap: wrap;
        padding-top: 5px;
        padding-bottom: 5px;
    }
}