
*,
*::before,
*::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    font-family: 'Roboto', sans-serif;
    font-size: 10px;
}

body{
    overflow-x: hidden;
}

a{
    text-decoration: none;
}

ul{
    list-style: none;
}

header{
    width: 100%;
    position: absolute;
    background-color:rgba(0, 48, 73, 0.7);
    top: 0;
    left: 0;

}

.container{
    width: 100;
    max-width: 117rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.menu-icons{
    color: white;
    font-size: 4rem;
    position: absolute;
    top:50%;
    right: 2rem;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 1500;
    display: none;
}

nav{
    display: flex;
    align-items: center;
    width: 100%;
    height: 8rem;
    border-bottom: 1px solid #003049;
}

/* .logo{
    width: 5rem;
    height: 5rem;
    background-color: #eb3007;
    display: flex;
    border-radius: 100%;
    margin-right: 5rem;
} */

.logo img{
    width: 150px;
}

.logo i{
    margin: auto;
    font-size: 3rem;
    color: #003049;
}

.nav-list{
    display: flex;
    width: 100%;
    align-items: center;
}

.nav-list li{
    line-height: 8rem;
    position: relative;
}

.sub-menu li{
    line-height: 4rem;
}

.nav-list a{
    display: block;
    color: white;
    padding: 0 1.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    transition: color;
}

.nav-list a:hover{
    color: #6D8897;
    
}

.sub-menu{
    width: 26rem;
    display: block;
    position: absolute;
    border: 2px solid white;
    border-radius: 20px;
    background-color:rgba(0, 48, 73, 0.7);
    z-index: 100;
    top: 16rem;
    opacity: 0.7;
    visibility: hidden;
    white-space: nowrap;
}

.nav-list li:hover .sub-menu{
    top: 8rem;
    opacity: 1;
    visibility: visible;
}

li.move-right{
    margin: auto 0 auto auto;
    line-height: initial;
}

/* .responsive {
    max-width: 100%;
    height: auto;
} */

@media screen and (max-width: 1200px){
    .nav-list{
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        display: none;
        flex-direction: column;
        align-items: initial;
        background-color: #003049;
        z-index: 1000;
        overflow-y: scroll;
    }

    .nav-list > li {
        line-height: 6rem;
    }

    .sub-menu{
        position: initial;
        border: 3px solid transparent;
        margin-left: 1rem;
        max-height: 0;
    }

    .sub-menu::before{
        display: none;
    }

    .nav-list li:hover > .sub-menu{
        opacity:1;
        visibility: visible;
        max-height: initial;
    }

    li.move-right{
        margin: 0 auto 0 0;
        line-height: initial;
    }

    .menu-icons{
        display: block;
    }

    .ion-md-close{
        display: none;
    }

    nav.active .ion-md-close{
        display: block;
    }

    nav.active .ion-md-menu{
        display: none;
    }

    nav.active .nav-list{
        display: flex;
    }

    .logo{
        margin-left: -50px;
    }

}
/*End nav css*/