.header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.logo {
    width: 400px;
    margin: 0 auto;
    position: relative;
    font-size: 0;
    z-index: 12;
    padding: 1% 0%;
    padding-top: 3%;
}

.navbar {
    width: 100%;
    position: relative;
    top: 0%;
    background: linear-gradient(to top, #fff, transparent);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.navbar ul {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    transition: all .5s ease-in-out;
}

.navbar ul .link {
    min-width: 100px;
    text-align: center;
}

.navbar ul li a {
    height: 100%;
    color: #211613;
    position: relative;
    font-size: 13px;
}

.navbar a::after {
    content: '';
    display: block;
    position: absolute;
    bottom: -20%;
    left: 50%;
    transform: translate(-50%);
    width: 0%;
    height: 1px;
    background-color: #211613;
    transition: all .5s ease-in-out;
}

.navbar a:hover:after {
    width: 100%;
    transition: all .5s ease-in-out;
}

.Caselink {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.Media {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar .Subnav {
    width: 510px;
    min-width: 510px;
    height: 24px;
    position: absolute;
    bottom: -180%;
    left: 30%;
    opacity: 0;
    transform: translateX(-10%);
    display: flex;
    justify-content: flex-start;
    transition: all .5s ease-in-out;
    z-index: -1;
}

.link:hover .Subnav {
    opacity: 1;
    transform: translateX(0%);
    transition: all .5s ease-in-out;
    z-index: 1;
}

.Subnav .nav {
    /* width: 25%; */
    text-align: center;
    color: #211613;
    margin-right: 5%;
}

.MenuBtn {
    width: 100px;
    text-align: center;
    font-size: 13px;
    color: #211613;
}

@media screen and (max-width:991px) {
    .logo {
        width: 300px !important;
        padding: 10% 0%;
        padding-bottom: 5%;
    }
    .nav-m {
        display: flex;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0%;
        left: 0%;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, .8);
        transform: translateY(-100%);
        transition: all .5s ease-in-out;
        z-index: 13;
    }
    .nav-m.apear {
        transform: translateY(0%);
        transition: all .5s ease-in-out;
    }
    .nav-m ul {
        flex-direction: column;
        background-color: #fff;
        padding: 2%;
    }
    .nav-m .link {
        width: 100%;
        padding: 2% 0%;
    }
    .nav-m .Subnav {
        min-width: unset;
        height: auto;
        position: relative;
        flex-direction: column;
        justify-content: center;
        bottom: unset;
        left: unset;
        opacity: 1;
        transform: translateX(0%);
        transition: unset;
        width: 100%;
        z-index: 1;
    }
    .nav-m .Caselink:hover .Subnav {
        transition: unset;
    }
    .nav-m .Subnav .nav {
        width: 100%;
        text-align: center;
        justify-content: center;
        margin-right: 0%;
    }
    .MenuBtn {
        cursor: pointer;
        z-index: 14;
    }
}