.header-content {
    position: relative;
    display: flex;
    justify-content: space-between;
    height: 140px;
    transition: height 0.5s ease-in-out;
}

.header-content-left {
    display: flex;
    align-items: center;
    overflow: hidden;
    transition: height 0.5s ease-in-out;
}

.header-logo {
    display: block;
    opacity: 1;
    transition: opacity 0.5s ease-in-out 1s;
}

.header-logo2 {
    display: none;
}


.header-right-top img {
    width: 35px;
    height: 35px;
    transition: all 0.3s ease-in-out;
}

.header-right-top a {
    margin-left: 10px;
}

.header-right-top a:hover img {
    transform: scale(0.9);
}

.contact-btn {
    display: inline-block;
    height: 50px;
    line-height: 50px;
    padding: 0 30px;
    border-radius: 25px;
    border: 1px solid #3fab37;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
}

.contact-btn:hover {
    transform: scale(0.9);
}


.header-right-nav {
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: flex-end;
}


.nav-item {
    position: relative;
    height: 60px;
    line-height: 60px;
}

.nav-item>a {
    display: block;
    height: 60px;
    position: relative;
}

.mouse-over::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 0px;
    height: 4px;
    background-color: #fff;
    animation: mouseover 1s ease-in-out forwards;

}

@keyframes mouseover {
    0% {
        width: 0px;
    }

    100% {
        width: 100%;
    }
}


.mouse-out::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0px;
    height: 3px;
    background-color: #fff;
    transform-origin: right center;
    width: 100%;
    animation: mouseout 1s ease-in-out forwards;

}

@keyframes mouseout {
    0% {
        transform: scaleX(1);
    }

    100% {
        transform: scaleX(0);
    }
}

.nav-drown {
    position: fixed;
    width: 100vw;
    max-height: 0;
    overflow: hidden;
    left: 0;
    top: 140px;
    transition: max-height 0.5s ease-in-out;
}

.nav-drown-left {
    width: 40%;
    display: flex;
}

.nav-drown-left img {
    width: 50px;
    height: 50px;
    margin-right: 20px;
}

.nav-drown-right {
    flex: 1;
    border-left: 1px solid #000;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: flex-start;
}

.nav-drown-right .nav-drown-item {
    display: inline-block;
    height: 30px;
    line-height: 30px;
    position: relative;
}

.nav-drown-right li a {
    display: block;
    height: 30px;
    line-height: 30px;
}

.nav-drown-item::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 0px;
    height: 3px;
    background-color: #3fab37;
    transition: width 0.5s ease-in-out;
}

.nav-drown-item:hover::after {
    width: 100%;
}

.nav-item:hover .nav-drown {
    display: block;
    max-height: 500px;
    transition: max-height 0.5s ease-in-out;
}

.scrolled .header-content {
    height: 80px;
}

.scrolled .header-logo {
    display: none;
    opacity: 0;
}

.scrolled .header-logo2 {
    display: block;
}

.scrolled .header-right-top {
    display: none;
}

.scrolled .nav-drown {
    top: 80px;
}

.footer-top {
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #243772;
}

#footer {
    background-color: #ebeff2;
    color: #212529;
}

.footer-nav li a {
    display: block;
    width: 100%;
    position: relative;
    line-height: 30px;
}

.footer-nav li a:hover::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 0px;
    height: 3px;
    background-color: #3fab37;
    animation: mouseover 1s ease-in-out forwards;
}

.footer-copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright-left {
    display: flex;
    flex-wrap: wrap;
}

.footer-copyright-left img {
    width: 35px;
    height: 35px;
    transition: all 0.3s ease-in-out;
}

.footer-copyright-left a {
    margin-left: 10px;
}

.footer-copyright-left a:hover img {
    transform: scale(0.9);
}

@media screen and (min-width: 768px) {
    .header-content-right {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-end
    }

    .header-right-top {
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .header-menu-drown {
        display: none;
    }
}

@media screen and (max-width: 767px) {

    .header-content {
        height: 80px;
    }

    .header-content-right {
        width: 100%;
    }

    .header-right-top {
        display: none;
    }

    .header-right-nav {
        display: none;
    }

    .header-logo {
        display: none;
        opacity: 0;
    }

    .header-logo2 {
        display: block;
    }

    .menu-btn {
        display: flex;
        align-items: center;
    }

    .menuBtn {
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        background-color: transparent;
        border: none;
        border-radius: 0;
        margin: 0;
        cursor: pointer;
        position: relative;
        z-index: 2;
    }

    .menuBtn>span:nth-child(1) {
        width: 1.9375rem;
        height: .125rem;
        background-color: #fff;
        margin-bottom: .4375rem;
        transition: transform .3s ease, opacity .3s ease, -webkit-transform .3s ease;
        box-sizing: border-box;
        border-radius: 3px;
    }

    .menuBtn>span:nth-child(2) {
        width: 1.9375rem;
        height: .125rem;
        background-color: #fff;
        margin-bottom: .4375rem;
        -webkit-transition: opacity .3s ease, -webkit-transform .3s ease;
        transition: opacity .3s ease, -webkit-transform .3s ease;
        transition: transform .3s ease, opacity .3s ease;
        transition: transform .3s ease, opacity .3s ease, -webkit-transform .3s ease;
        box-sizing: border-box;
        border-radius: 3px;

    }

    .menuBtn>span:nth-child(3) {
        margin-bottom: 0;
        box-sizing: border-box;
        width: 1.9375rem;
        height: .125rem;
        border-radius: 3px;
        background-color: #fff;
        margin-bottom: .4375rem;
        -webkit-transition: opacity .3s ease, -webkit-transform .3s ease;
        transition: opacity .3s ease, -webkit-transform .3s ease;
        transition: transform .3s ease, opacity .3s ease;
        transition: transform .3s ease, opacity .3s ease, -webkit-transform .3s ease;
    }

    .close {
        margin-left: 5px;
    }

    .close>span:nth-child(1) {
        background-color: #fff;
        transform: rotate(45deg) translate(.125rem, .5625rem);
    }

    .close>span:nth-child(2) {
        background-color: #fff;
        opacity: 0;
    }

    .close>span:nth-child(3) {
        background-color: #fff;
        transform: rotate(-45deg) translate(.25rem, -.6875rem);
    }

    .header-menu-drown {
        position: absolute;
        left: 0;
        top: 80px;
        width: 100%;
        height: 0;
        overflow: hidden;
        transition: height 0.5s ease-in-out;
    }

    .header-drown-nav {
        display: flex;
        flex-direction: column;
        margin-bottom: 40px;
    }

    .header-drown-item a {
        height: 50px;
        line-height: 50px;
        display: block;
        width: 100%;
    }

    .header-drown-item>a {
        border-bottom: 1px solid #fff;
    }

    .header-drown-item .about {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 50px;
        line-height: 50px;
        width: 100%;
        border-bottom: 1px solid #fff;
    }

    .icon-btn {
        width: 15px;
        height: 15px;
    }



    .about-drown {
        height: 0px;
        overflow: hidden;
        transition: height 0.5s ease-in-out;
    }

    .about-show {
        height: 200px;
    }

    .menu-show .header-menu-drown {
        height: calc(100vh - 80px);
    }
}