body {
    font-family: 'Roboto', sans-serif;
    min-height: 150vh;
}

header {
    color: #fefae0;
    background-color: #3F5866;
    position: fixed;
    top: 0;
    z-index: 90;
}

section#hero {
    background: linear-gradient(to bottom, rgba(92, 77, 66, 0.6) 0%, rgba(92, 77, 66, 0.6) 100%), url("images/bg6.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
    padding-top: 10rem;
    padding-bottom: calc(10rem - 4.5rem);
    min-height: 100vh;
}

.titles {
    text-align: center;
    color: white;
}

hr.divider {
    max-width: 3.25rem;
    border-width: 0.2rem;
    border-color: #125B80;
}

hr.light {
    max-width: 3.25rem;
    border-width: 0.2rem;
    border-color: white;
}

h1 {
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    width: 50%;
    font-family: 'Merriweather Sans', sans-serif;
    line-height: 1.5;
    letter-spacing: 2px;
}

h2 {
    font-family: 'Merriweather Sans', sans-serif;
    font-weight: normal;
    width: 50%;
    line-height: 2;
    letter-spacing: 2px;
}

h3 {
    padding-top: 80px;
}

p {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9;
}

section#hero .btn {
    background-color: #125B80;
    color: white;
    border-radius: 50px 50px 0px 50px;
    margin-top: 5%;
    transition: 0.5s;
}

section#hero .btn:hover {
    color: white;
    background-color: #092a3a;
    transition: 0.5s;
}

.navbar-brand img {
    width: 50px;
    height: 50px;
}

.nav-link {
    color: white!important;
}

.nav-link.active {
    border-bottom: 4px solid #125B80;
}

.navbar-default {
    transition: 500ms ease;
    background: transparent;
}

.navbar.scrolled {
    background: #092a3a;
}

section#bonus {
    background-color: #125B80;
    padding-bottom: 10%;
}

section#bonus h3 {
    font-family: 'Merriweather Sans', sans-serif;
    color: white;
    text-align: center;
    width: 50%;
    padding-top: 5%;
    text-transform: capitalize;
}

section#bonus p,
section.portfolio p {
    text-align: center;
    padding-left: 20%;
    padding-right: 20%;
    color: rgba(255, 255, 255, 0.6);
}

section#bonus strong {
    text-transform: uppercase;
}

section#bonus i,
section.portfolio i {
    color: white;
}

section#bonus .btn {
    background-color: white;
    color: #092a3a;
    border-radius: 50px 50px 0px 50px;
    margin-top: 5%;
    transition: 0.5s;
}

section#bonus .btn:hover {
    color: white;
    background-color: #092a3a;
    transition: 0.5s;
}

section#news {
    text-align: center;
}

section#news h3 {
    font-family: 'Merriweather Sans', sans-serif;
    color: #092a3a;
    text-align: center;
    padding-top: 5%;
    text-transform: capitalize;
}


/*SERVICES*/

section.services h3 {
    font-family: 'Merriweather Sans', sans-serif;
    color: #092a3a;
    text-align: center;
    padding-top: 5%;
    text-transform: capitalize;
}

h4 {
    color: #125B80;
    font-family: 'Merriweather Sans', sans-serif;
}

.fas {
    color: #125B80!important;
}

.pro {
    background-color: #092a3a;
    color: white;
}

.pro i {
    color: white!important;
}


/*PORTFOLIO*/

.portfolio_title {
    background-color: #125B80;
    color: white;
    padding-top: 2%;
    padding-bottom: 2%;
    margin-top: 2%;
    margin-bottom: 2%;
}

section.portfolio h3 {
    font-family: 'Merriweather Sans', sans-serif;
    color: white;
    text-align: center;
    padding-top: 5%;
    text-transform: capitalize;
}

.portfolio .portfolio-box {
    position: relative;
    display: block;
}

.portfolio img {
    width: 80%;
    max-height: 300px;
    margin-top: 20px;
}

.portfolio .portfolio-box .portfolio-box-caption {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 90%;
    height: 100%;
    position: absolute;
    bottom: 0;
    text-align: center;
    opacity: 0;
    color: #fff;
    background: rgba(18, 91, 128, 0.9);
    transition: opacity 0.25s ease;
    text-align: center;
}

.portfolio .portfolio-box .portfolio-box-caption .project-category {
    font-family: "Merriweather Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-weight: 600;
    text-transform: uppercase;
}

.portfolio .portfolio-box .portfolio-box-caption .project-name {
    font-size: 1em;
}

.portfolio .portfolio-box:hover .portfolio-box-caption {
    opacity: 1;
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.75);
}


/*INFOS*/

.infos {
    background-color: #125B80;
    color: white;
    padding-top: 2%;
    padding-bottom: 2%;
    margin-top: 2%;
    margin-bottom: 2%;
}

.white {
    background-color: white;
    color: black;
}

.infos_text {
    padding: 2% 10% 0 10%;
}

figure {
    margin-top: 3%;
}

figure img {
    border-radius: 50px 50px 0px 50px;
}

figcaption {
    color: #125B80;
    margin-top: 2%;
    font-family: "Merriweather Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}


/*CONTACT*/

section.contact {
    background-color: #125B80;
    color: white;
    padding-top: 2%;
    padding-bottom: 2%;
    margin-top: 2%;
    margin-bottom: 2%;
}


/*FOOTER*/

footer {
    margin-top: 5%;
    background-color: #092a3a;
    color: gray;
}

footer a {
    color: gray;
}

footer a:hover {
    color: #125B80;
}

footer .fas {
    color: white;
    visibility: visible;
}

footer img {
    width: 100px;
}

footer p {
    font-size: 0.9em;
}

@media (max-width:994px) {
    .navbar {
        background-color: #092a3a;
    }
    .navbar-toggler {
        border: 2px solid white!important;
    }
    h1 {
        font-size: 1.8em;
        width: 90%;
        line-height: 2;
        border: 1px solid white;
    }
    h2 {
        width: 90%;
        font-size: 1.3em;
    }
    section#hero {
        height: 50vh;
    }
}

@media (max-width:700px) {
    .btn {
        font-size: 1.5em;
        margin-top: 10%;
    }
    p.desc_portfolio {
        text-align: justify!important;
    }
}

@media (min-width: 995px) {
    nav {
        font-size: 1.5em;
    }
    .navbar-brand img {
        width: 100px;
        height: 100px;
    }
    h1 {
        font-size: 2.3em;
        margin-top: 10%;
    }
    h2 {
        font-size: 2em;
        margin-top: 10%;
    }
    h3 {
        font-size: 2.5em;
    }
    .btn {
        font-size: 2em;
    }
    p {
        font-size: 1.5em;
    }
}