html{
  font-size: 16px;
}
body,
#app{
  padding: 0;
  margin: 0;
  height: 100vh;
  width: 100%;
  max-width: 100%;
}

*{
  box-sizing: border-box;
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: normal;
  text-decoration: none;
}

h2{
    font-size: 3.125rem;
    font-weight: 800;
}
.subtitle{
    font-size: 1.375rem;
}
h1, h2, h3 {
    font-weight: bold;
}

/* --------------------------------------- */
/* Colors */
:root{
    --dark: #101828;
    --blue: #3687B6;
    --orange: #F2A42B;
    --red: #D22934;
    --text: #4F4F4F;
    --shadow: 0px 24px 32px rgba(0, 1, 58, 0.04), 0px 16px 24px rgba(0, 1, 58, 0.04), 0px 4px 8px rgba(0, 1, 58, 0.04), 0px 0px 1px rgba(0, 1, 58, 0.04);
    --hover: 0px 24px 32px rgba(23, 23, 23, 0.2), 0px 16px 24px rgba(23, 23, 23, 0.2), 0px 4px 8px rgba(23, 23, 23, 0.2), 0px 0px 1px rgba(23, 23, 23, 0.2);
}
/* --------------------------------------- */

.dark-bg{
    background-color: var(--dark);
    color: #fff;
}
.blue-bg{
    background-color: var(--blue);
    color: #fff;
}
.orange-bg{
    background-color: var(--orange);
    color: #fff;
}
.red-bg{
    background-color: var(--red);
    color: #fff;
}

.dark-text{
    color: var(--dark);
}
.blue-text{
    color: var(--blue);
}
.orange-text{
    color: var(--orange);
}
.red-text{
    color: var(--red);
}
.color-text {
    color: var(--text);
}


.h-line{
    height: 0.625rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.v-line{
    width: 0.938rem;
    height: 100%;
    display: grid;
    grid-template-rows: repeat(4, 1fr);
}

/* ------------------------------------------------------- */

/* NAvBAR */
nav{
    position: relative;
    z-index: 200 !important;
}

nav.navbar{
    padding: 0.938rem 0 !important;
    background-color: transparent !important;
    backdrop-filter: blur(10px)!important;
}

nav #navbar-links li a{
    font-weight: 600;
}

nav .navbar-brand{
    font-weight: 800;
    font-size: 1.5rem !important;
    color: var(--blue) !important;
}


/* HEADER */
header{
    padding: 0 10% !important;
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: #fff;
}

header .text{
    display: grid;
    align-items: center;
}

header .text img#logo{
    height: 9.375rem;
}

header .text h1{
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 3.75rem;
    margin-top: 8%;
}

header .text p{
    width: 75%;
    margin-top: 5%;
    font-weight: 600;
}

header .cover{
    padding: 5%;
    display: grid;
    align-items: center;
}

header .cover .image{
    height: 85%;
    border-radius: 1.25rem;
    background-color: rgb(241, 241, 241);
    background-image: url(https://images.pexels.com/photos/3183197/pexels-photo-3183197.jpeg?cs=srgb&dl=pexels-fauxels-3183197.jpg&fm=jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: all linear 300ms;
    box-shadow: var(--shadow);
    transform: rotate(5deg) translateY(-5%);
    /* border: 0.625rem solid #fff */
    /* transform: rotate(7.22deg); */
}
header .cover .image:hover{
    transform: rotate(1deg) translate(-5%, -5%);
    box-shadow: var(--hover);
    /* transform: rotate(10deg) translate(7%, 5%); */
}


/* SERVICE */
section.services{
    padding: 10% 0 5% 0;
}

section.services .title{
    display: grid;
    align-items: center;
    text-align: center;
    padding: 0 25%;
}

section.services .title h2,
section.services .title .h-line{
    margin-bottom: 0.938rem;
}

section.services .images{
    padding-top: 5%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1.25rem;
}

section.services .images .img-1,
section.services .images .img-2{
    border-radius: 1.25rem;
    background-color: #fff;
    height: 25rem;
    box-shadow: var(--shadow);
    transition: all ease-in 150ms;
}
section.services .images .img-1:hover,
section.services .images .img-2:hover{
    transform: rotate(0deg) translateY(-5%);
    box-shadow: var(--hover);
}

section.services .images .img-1{
    background-image: url(https://images.unsplash.com/photo-1528901166007-3784c7dd3653?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

section.services .images .img-2{
    background-image: url(https://images.unsplash.com/photo-1557804506-669a67965ba0?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1074&q=80);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

section.services .service-items{
    padding-top: 5%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1.25rem;
}

section.services .service-items .sec{
    width: 90%;
    display: grid;
    grid-template-rows: repeat(1fr);
    grid-gap: 0.625rem;
    margin-bottom: 3.75rem;
}

section.services .service-items .sec .sec-icon{
    height: 4.375rem;
    width: 4.375rem;
    border-radius: 0.625rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

section.services .service-items .sec .sec-title{
    font-size: 1.375rem;
    font-weight: 700;
}

section.services .service-items .sec .sec-text{
    line-height: 2.188rem;
}


/* CTA */
.cta{
    margin-top: 5%;
    background-color: #004069;
    color: #fff;
}

.cta .container{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.cta .cta-text{
    padding: 25% 5%;
    display: grid;
    grid-template-columns: 3.125rem 1fr;
    align-items: center;
}

.cta .cta-text p{
    font-size: 2.813rem;
    margin-top: 5%;
}

.cta .cta-image{
    display: flex;
    align-items: flex-end;
}

.cta .cta-image .decoration{
    position: absolute;
    transform: translate(22%, -35%);
}


/* ABOUT */
section.about{
    padding: 15% 0 5% 0;
}

section.about .title{
    display: grid;
    align-items: center;
    text-align: center;
    padding: 0 25%;
}

section.about .title h2,
section.about .title .h-line{
    margin-bottom: 0.938rem;
}

section.about .about-content{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 3.125rem;
    margin-top: 10%;
}

section.about .about-content .text p{
    font-size: 1.1rem;
    line-height: 2.12rem;
}

section.about .about-content .images{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1.3rem;
}

section.about .about-content .images .image{
    position: relative;
    background-color: #fff;
    border-radius: 1.3rem;
    box-shadow: var(--shadow);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: all ease-in 150ms;
}
section.about .about-content .images .image:hover{
    transform: rotate(1deg) translateY(-3%);
    box-shadow: var(--hover);
}

section.about .about-content .images .img-1{
    transform: translateY(15%) rotate(3deg);
    background-image: url(https://images.unsplash.com/photo-1522071820081-009f0129c71c?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80);
}

section.about .about-content .images .img-2{
    transform: rotate(3deg);
    background-image: url(https://images.unsplash.com/photo-1590402494587-44b71d7772f6?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80);
}

section.about .about-content .images .img-4{
    transform: rotate(3deg);
    background-image: url(https://images.unsplash.com/photo-1551434678-e076c223a692?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80);
}

section.about .about-content .images .img-3{
    transform: translateY(15%) rotate(3deg);
    background-image: url(https://images.unsplash.com/photo-1552581234-26160f608093?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80);
}


/* CONTACT */
.contact{
    padding: 10% 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 3rem;
}

.contact form .buttons{
    margin-top: 5%;
}

.contact .address .text p.title{
    font-size: 3.125rem;
    line-height: 3.438rem;
}

.contact .address .text p.subtitle{
    width: 80%;
}

.contact .address .countries{
    margin-top: 10%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.contact .address .countries .country{
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 5%;
}

.contact .address .countries .position,
.contact .address .countries .tel,
.contact .address .countries .position b,
.contact .address .countries a{
    font-size: 1.2rem;
    margin-bottom: 5%;
}

.contact .address .countries a{
    text-decoration: none;
}

.contact .formulaire #confirm .alert-success{
    color: #0bb70b !important;
    font-weight: 600;
}


/* FOOTER */
footer{
    background-color: #171717;
    color: #fff;
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    padding: 50px 0;
}

footer .logo{
    background: #fff;
    height: 3.13rem;
    padding: 0.625rem;
    border-radius: 0.313rem;
}

/* ===================================== */
/* =========== DESKTOPS ONLY =========== */
@media only screen and (min-width: 992px){
    nav #navbar-links{
        display: grid !important;
        justify-content: center;
    }

    header{
        background-image: url(https://images.pexels.com/photos/3183197/pexels-photo-3183197.jpeg?cs=srgb&dl=pexels-fauxels-3183197.jpg&fm=jpg);
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }
    header::before{
        content: '';
        position: absolute;
        height: inherit;
        top: 84px;
        bottom: 0px;
        right: 0px;
        left: 0px;
        background-image: linear-gradient(to bottom, #ffffff, 
                                                        rgba(255, 255, 255, 0.9), 
                                                        rgba(255, 255, 255, 0.8), 
                                                        rgba(255, 255, 255, 0.8),
                                                        rgba(255, 255, 255, 0.9), 
                                                        #ffffff);
    }
}



/* ============================= */
/* ========  MOBILE  =========== */

@media only screen and (max-width: 600px){
    
    body{
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
    h2{
        font-size: 2.3rem;
    }
    .subtitle{
        font-size: 1.125rem;
    }
    /* HEADER */
    header{
        padding: 0 !important;
        grid-template-columns: 1fr;
        height: 90vh;
        background-image: url(https://images.pexels.com/photos/3183197/pexels-photo-3183197.jpeg?cs=srgb&dl=pexels-fauxels-3183197.jpg&fm=jpg);
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }
     header .text{
        padding: 8% !important;
        background-image: linear-gradient(to top, rgba(0, 1, 58, 0.8), 
                                                    rgba(63, 59, 104, 0.8), 
                                                    rgba(155, 149, 183, 0.8), 
                                                    rgba(255, 255, 255, 0.7),
                                                    rgba(255, 255, 255, 0.5), 
                                                    rgba(255, 255, 255, 0.5));
    }
    header .text img#logo{
        height: 4.2rem;
    }
    header .text h1{
        font-size: 3rem;
        line-height: 3.2rem;
    }
    header .text p{
        width: 100%;
        color: #fff;
    }
    header .cover{
        display: none !important;
    }

    /* SERVICE */
    section.services{
        padding: 30% 0 5% 0;
    }
    section.services .title{
        padding: 0 10%;
    }
    section.services .images{
        grid-template-columns: 1fr;
        padding: 5%;
    }
    section.services .images .img-1{
        height: 15.625rem;
        border-radius: 1.25rem !important;
    }
    section.services .images .img-2{
        display: none;
    }
    section.services .service-items{
        padding: 10% 5% 0 5%;
        grid-template-columns: 1fr;
        grid-gap: 1.20rem;
    }
    section.services .service-items .sec{
        width: 95%;
    }
    section.services .service-items .sec .sec-title{
        font-size: 1.25rem;
    }
    section.services .service-items .sec .sec-text{
        line-height: 2rem;
    }

    /* CTA */
    .cta{
        margin-top: 10%;
    }
    .cta .container{
        grid-template-columns: 1fr;
    }
    .cta .cta-image{
        display: none;
    }
    .cta .cta-text p{
        font-size: 1.9rem;
        margin-top: 5%;
    }

    /* ABOUT */
    section.about{
        padding: 30% 0 5% 0;
    }
    section.about .title{
        padding: 0 10%;
    }
    section.about .about-content{
        grid-template-columns:  1fr;
        padding: 0 5%;
    }
    section.about .about-content .text p{
        font-size: 1rem;
        line-height: 2rem;
    }
    section.about .about-content .images{
        height: 15.625rem;
        grid-template-columns: 1fr;
    }
    section.about .about-content .images .img-1{
        transform: translateY(0%) rotate(1deg);
        background-image: url(https://images.unsplash.com/photo-1522071820081-009f0129c71c?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80);
    }

    section.about .about-content .images .img-2,
    section.about .about-content .images .img-3,
    section.about .about-content .images .img-4{
        display: none;
    }

    /* CONTACT */
    .contact{
        padding: 20% 5%;
        grid-template-columns: 1fr;
        grid-gap: 3rem;
        grid-template-areas: "address" "formulaire";
    }
    .contact .address{
        grid-area: address;
    }
    .contact .formulaire{
        grid-area: formulaire;
    }
    .contact .address .text p.title{
        font-size: 3rem;
        line-height: 3.2rem;
    }

    .contact .address .text p.subtitle{
        width: 95%;
    }
    .contact .address .countries{
        grid-template-columns: 1fr;
    }
} 

/* ====================================== */
/* =============  TABLETTE ============= */

@media only screen and (min-width: 601px) and (max-width: 768px){

     body{
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
    h2{
        font-size: 2.3rem;
    }
    .subtitle{
        font-size: 1.125rem;
    }
    /* HEADER */
    header{
        padding: 0 !important;
        grid-template-columns: 1fr;
        height: 100vh;
        background-image: url(https://images.pexels.com/photos/3183197/pexels-photo-3183197.jpeg?cs=srgb&dl=pexels-fauxels-3183197.jpg&fm=jpg);
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }
     header .text{
        padding: 10% !important;
        background-image: linear-gradient(to top, rgba(0, 1, 58, 0.8), 
                                                    rgba(63, 59, 104, 0.8), 
                                                    rgba(155, 149, 183, 0.8), 
                                                    rgba(255, 255, 255, 0.7),
                                                    rgba(255, 255, 255, 0.5), 
                                                    rgba(255, 255, 255, 0.5));
    }
    header .text img#logo{
        height: 5.5rem;
    }
    header .text p{
        color: #fff;
    }
    header .cover{
        display: none !important;
    }

    /* SERVICE */
    section.services{
        padding: 20% 0 5% 0;
    }
    section.services .title{
        padding: 0 10%;
    }
    section.services .images{
        padding: 5%;
    }
    section.services .images .img-1,
    section.services .images .img-2{
        height: 15rem;
        border-radius: 1.1rem !important;
    }
    section.services .service-items{
        padding: 5%;
        grid-gap: 1rem;
    }
    section.services .service-items .sec{
        width: 90%;
    }
    section.services .service-items .sec .sec-text{
        line-height: 1.8rem;
    }

    /* CTA */
    .cta{
        margin-top: 5%;
    }
    .cta .container{
        grid-template-columns: 1fr;
    }
    .cta .cta-image{
        display: none;
    }
    .cta .cta-text{
        padding: 15%;
    }
    .cta .cta-text p{
        font-size: 1.9rem;
        margin-top: 5%;
    }

    /* ABOUT */
    section.about{
        padding: 15% 0 5% 0;
    }
    section.about .about-content{
        grid-template-columns: 1fr;
        padding: 0 5%;
    }
    section.about .about-content .images{
        height: 15.625rem;
        grid-template-columns: 1fr 1fr;
    }
    section.about .about-content .images .img-1,
    section.about .about-content .images .img-2{
        transform: translateY(0%) rotate(1deg);
    }
    section.about .about-content .images .img-3,
    section.about .about-content .images .img-4{
        display: none;
    }

    /* CONTACT */
    .contact{
        padding: 10% 5%;
        grid-template-columns: 1fr;
        grid-gap: 3rem;
        grid-template-areas: "address" "formulaire";
    }
    .contact .address{
        grid-area: address;
    }
    .contact .formulaire{
        grid-area: formulaire;
    }
    .contact .address .countries{
        grid-template-columns: 1fr 1fr;
    }

}