.logo {
    display: inline-block;
    width: 30%;
}
.logo img{
    max-width: 100%;
}

.m-nav,.m-nav-trigger{
    display: none;
}
.m-nav{
    position: fixed;
    overflow: hidden;
    right: -100%;
    top: 80px;
    width: 50%;
    height: 100%;
    background-color: #00aeef;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    
}
.m-nav-trigger{
    width: 50px;
    height: 50px;
    background-image: url('../img/menu.png');
    background-repeat: no-repeat;
    background-position: center;
        -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
.m-nav-trigger_active{
    background-image: url('../img/menu-active.png');

}
.m-nav_active{
    right: 0;
}
.m-nav a{
    display: block;
    font-size: 2em;
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    padding: 1.5em;
    border-bottom: 1px solid #0089ff;
    text-align: center;
}
header {
    position: absolute;
    height: 100px;
    background-color: #fff;
    width: 100%;
    top: 50px;
    left: 0;
    z-index: 10;
}

header nav {
    width: 60%;
    font-weight: 700;
    font-size: 2.2em;
}

header nav a {
    text-decoration: none;
    color: #000;
    text-transform: uppercase;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

header nav a:hover {
    color: #f1cc00;
}
@media (max-width: 1400px) {
    header {
        height: 80px;
    }

}
@media (max-width: 790px) {
    header {
        position: fixed;
        top: 0;
        border-bottom: 2px solid #000;
    }
    header nav{
        display: none !important;
    }
    .m-nav,.m-nav-trigger{
        display: block;
    }
}
@media (max-width: 640px) {
    .logo{
        width: 50%;
    }
.m-nav{
    width: 80%;
}
}