nav {
    
    width: 100%;
    margin: 0 auto;
    background: rgb(251,10,3);
    background: linear-gradient(90deg, rgba(251,10,3,1) 0%, rgba(205,31,31,1) 35%, rgba(230,8,8,1) 100%);
    background: var(--red);
}

nav .tinphatauto-container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: .5rem 0;
}

nav .tinphatauto-logo img {
    width: 260px;
}

nav .tinphatauto-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

nav .tinphatauto-item {
    margin-left: 5rem;
}

nav .tinphatauto-item a {
    display: inline-block;
    font-size: 1.5rem;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 0.2rem;
    color: var(--alWhite);
    font-weight: 700;
}

nav .tinphatauto-item a:hover:before {
    right: 0;
}

nav .tinphatauto-item a:before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    right: 100%;
    bottom: -2px;
    background: var(--alyellow);
    height: 2px;
    -webkit-transition-property: right;
    transition-property: right;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}

.tinphatauto-active-menu {
    color: var(--alyellow) !important;
    position: relative;
    border-bottom: 2px solid var(--alyellow);
}
nav .tinphatauto-item a:hover {
    color: var(--alyellow) !important;
    position: relative;
    border-bottom: 2px solid var(--alyellow);
}
.tinphatauto-active-menu:hover:before {
    right: 100% !important;
}

menu .icon-nav {
    display: none;
}

.tinphatauto-change .tinphatauto-bar1 {
    -webkit-transform: rotate(-41deg) translate(-8px, 5px);
    transform: rotate(-41deg) translate(-8px, 5px)
}

.tinphatauto-change .tinphatauto-bar2 {
    opacity: 0;
}

.tinphatauto-change .tinphatauto-bar3 {
    -webkit-transform: rotate(40deg) translate(-8px, -7px);
    transform: rotate(40deg) translate(-8px, -7px);
}

@media only screen and (max-width: 1230px) {
    nav .tinphatauto-container {
        padding: 1.5rem;
    }
}

@media only screen and (max-width: 1200px) {
    .tinphatauto-show-menu {
        position: fixed;
        top: 0;
        height: 100%;
        z-index: 999;
        background: #fff;
        flex-flow: column;
    }

    nav {
        padding: 0;
    }

    nav .tinphatauto-container {
        padding: 0;
    }

    nav .tinphatauto-item {
        margin-left: 0;
    }

    nav .tinphatauto-logo {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        z-index: 100;
        padding: 1.5rem;
    }

    nav .tinphatauto-icon-nav {
        display: inline-block;
        cursor: pointer;
    }

    .tinphatauto-bar1, .tinphatauto-bar2, .tinphatauto-bar3 {
        width: 35px;
        height: 4px;
        background: var(--alyellow);
        margin: 0.6rem 0;
        transition: 0.4s;
    }

    nav .tinphatauto-container .tinphatauto-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        justify-content: flex-start;
        flex: 1;
        z-index: 999;
        overflow: auto;
    }

    nav .tinphatauto-container .tinphatauto-menu li {
        padding: 4rem 0;
    }

    .tinphatauto-active-menu-mb-t {
        background: rgb(251,10,3);
        background: linear-gradient(90deg, rgba(251,10,3,1) 0%, rgba(205,31,31,1) 35%, rgba(230,8,8,1) 100%);
    }

    .tinphatauto-active-menu-mb-b {
        background: rgb(251,10,3);
        background: linear-gradient(90deg, rgba(251,10,3,1) 0%, rgba(205,31,31,1) 35%, rgba(230,8,8,1) 100%);
    }
}

@media only screen and (max-width: 768px) {
    nav .tinphatauto-container .tinphatauto-menu li {
        padding: 2rem 0;
        width: 100%;
        text-align: center;
    }
}



