@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

html,
body {
    width: 100%;
    height: 100%;
}

body {    
    position: relative;
    background-color: #005477;
    font-family: 'Roboto', sans-serif;
    color: #f5f5f5;
    font-weight: 400;
    font-size: 16px;    
    line-height: 1.7;
}

img { max-width: 100%; }

a {
    color: #ffffff;
    text-decoration: none;
    -webkit-transition: all .35s;
    -moz-transition: all .35s;
    transition: all .35s;
}

a:hover,
a:focus {
    color: #f8da05;
    opacity: 0.9;
    outline: 0;
}

.yellow { color: #f8da05; }
.orange { color: #FF5349; }

.btn-primary,
.btn-primary:focus,
.btn-primary:hover {
    background-color: #FF5349;
    border-color: #FF5349;
}
.btn-secondary,
.btn-secondary:hover {
    background-color: #f8da05;
    border-color: #f8da05;
}

h1,h2,h3,h4,h5,h6 {
    font-family: 'Roboto', sans-serif;
    color: #ffffff;
    margin-bottom: 16px;
    text-shadow: 0 0 5px #222222;
}

.display-1, .display-2, .display-3, .display-4 { font-weight: 700; }

.uppercase { text-transform: uppercase; }

p { margin-bottom: 24px; }


header {
    position: fixed;
    color: #ffffff;
    z-index: 9999;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
}


.navbar-brand img {
    max-width: 300px;
    width: 100%;
}

.navbar.scroll {
    background: #005477;
    box-shadow: 0 3px 45px rgb(255 255 255 / 15%);
}
.navbar.scroll .navbar-brand img { max-width: 150px; }

.navbar a.nav-link { color: #FF5349; }
.navbar a.nav-link:hover,
.navbar.scroll a.nav-link:hover,
.navbar.scroll a.nav-link.active { color: #fff; }

.navbar.scroll .navbar-toggler span,
.navbar.scroll .navbar-toggler span:before,
.navbar.scroll .navbar-toggler span:after { background: #ffffff; }

.navbar-toggler {
    position: relative;
    display: block;
    width: 48px;
    height: 48px;
    margin-top: 0;
    padding: 0;
    background-color: transparent !important;
    overflow: hidden;
    font-size: 0;
}
.navbar-toggler:focus { outline: none; box-shadow: none; }
.navbar-toggler:hover { background-color: transparent !important; }
.navbar-toggler span {
    background-color: #ffffff;
    display: block;
    width: 48px;
    height: 2px;
    margin: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;    
    -webkit-transition: background 0.3s;
    -moz-transition: background 0.3s;
    -ms-transition: background 0.3s;
    -o-transition: background 0.3s;
    transition: background 0.3s;
}
.navbar-toggler span:before, .navbar-toggler span:after {
    transition-duration: .3s, .3s;
    transition-delay: .3s, 0s;
    content: '';
    background-color: #ffffff;
    display: block;
    width: 100%;
    height: 2px;
    position: absolute;
    right: 0;
}
.navbar-toggler span:after { right: 20px; }
.navbar-toggler span:before {
    transition-property: top, transform;
    top: -13px;
}
.navbar-toggler span:after {
    transition-property: bottom, transform;
    bottom: -13px;
}
.navbar-toggler.active span { background: transparent !important; }
.navbar-toggler.active span:before {
    top: 0;
    transform: rotate(45deg);
}
.navbar-toggler.active span:after {
    right: 0;
    bottom: 0;
    transform: rotate(-45deg);
}

#navbarNav {
    justify-content: flex-end;
    font-weight: 700;
}

#navbarNav ul li:hover > .dropdown-menu { display: block; }

.dropdown-menu {
    display: none;
    background: #005477;
    text-transform: uppercase;
}

.dropdown-menu a.dropdown-item {
    color: #ffffff;
    white-space: normal;
}

a.dropdown-item:focus,
a.dropdown-item:hover {
    background: rgba(255,255,255,0.1);
    color: #FF5349;
}

#home {    
    background-image: url('trading.jpg');
    background-position: top;
    background-size: cover;
    padding-top: 20%;
}

#home .container {
    position: relative;
}

#home .intro {
    position: absolute;
    right: 20px;
    bottom: 60px;
}

#sommes-nous {
    background-image: url('sea.jpg');
    background-position: center;
    background-size: cover;
}

#trade {
    background-image: url('trade.jpg');
    background-position: center;
    background-size: cover;
}


#activite,
#consulting .d-flex {
    background-image: url('services.jpg');
    background-position: center;
    background-size: cover;
    padding: 60px 0;
}

#activite img { margin-bottom: 16px; }

#consulting { padding: 0; }
#consulting img {
    display: block;
    width: 100%;
}

#consulting .d-flex { min-height: 100vh; }

#sommes-nous .container,
#trade .container,
#consulting .container { max-width: 960px; }

section {
    position: relative;
    overflow: hidden;
    padding: 60px 0;
    width: 100%;
    min-height: 100%;
}



#contact {
    background-image: url('contact.jpg');
    background-position: top;
    background-size: cover;
    font-size: 18px;
}

#contact .flex-item { flex: 1; }

#contact .display-5 {
    margin-bottom: 80px;
    font-weight: 400;
}

footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,84,119,.8);
    padding: 20px 0;
    color: #fff;
    font-size: 14px;
}


@media only screen and (max-width: 991px) {
    .navbar-brand img { max-width: 200px; }
    #navbarNav {
        background: #005477;
        padding: 20px;
        border-radius: 5px;
        position: absolute;
        top: 70px;
        right: 15px;
        z-index: 9999;
        box-shadow: 0 3px 45px rgb(0 0 0 / 15%);
    }

    .navbar-nav .dropdown-menu { display: block; }

    #home .intro { bottom: 0; }
}
