@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    font-family: 'Montserrat', sans-serif;
}

.flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.titreBorder {
    position: relative;
    display: inline-block;
}

.titreBorder:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 2px auto;
    width: 38%;
    height: 4px;
    background: #F8533D;
}

/***************** SLIDER *************/

#slider {
    height: 100vh;
    width: 100%;
    color: #fff;
    text-align: center;
    z-index: 10;
    position: relative; 
}

.background {
    width: 100%;
    height: 100vh;
    background-color: #0D1E4C;
    opacity: 0.6;
}

/*#slider img {*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    z-index: -1;*/
/*    position: absolute;*/
/*    top: 0;*/
/*    right: 0;*/
/*}*/

.pres {
    position: absolute;
    z-index: 2;
    padding: 50px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    border: 4px solid #fff;
    /* max-width: 80%; */
    min-height: 60%;
    /* width: 66%; */
}

.int {
    font-size: 0.6em;
    font-weight: 400;
    color: #eaeaea;
}

#toDown{
    position: absolute;
    top: 92%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(9, 20, 49,.7);
    border: 0 none;
    transition: all 0.6s;
    text-decoration: none;
    font-size: 1.3em;
}

/************** ABOUT ME *************/

#me {
    background: #EE4437;
    min-height: 45vh;
    width: 100%;
    color: #fff;
    padding: 88px 0 40px;
    text-align: center;
    box-shadow: 0 1px 16px rgba(0, 0, 0, .5);
}

#me h1:after {
    background: #fff;
    margin-top: 6px;
}

#me div p {
    padding-top: 20px;
    font-size: 1.1em;
    text-align: justify;
}

#me div img {
    width: 240px;
    border-radius: 50%;
}

.btn-cv{
    background: #fff;
    padding: 50px;
    border-radius: 10px;
    color: #0D1E4C;
}
.btn-cv:hover{
    color: #EE4437;
}


/************** ABOUT AGI *************/

#AGI {
    background: #EE4437;
    min-height: 45vh;
    width: 100%;
    color: #fff;
    padding: 88px 0 40px;
    text-align: center;
    box-shadow: 0 1px 16px rgba(0, 0, 0, .5);
}

#AGI h1:after {
    background: #fff;
    margin-top: 6px;
}

#AGI div p {
    padding-top: 20px;
    font-size: 1.1em;
    text-align: justify;
}

/*#AGI div img {
    width: 240px;
    border-radius: 50%;
}*/

/************* FORMATION *************/

#formation {
    background: #0D1E4C;
    min-height: 60vh;
    color: #EE4437;
    text-align: center;
    padding: 75px 0 90px;
}

#formation h1, #experience h1{
    padding-bottom: 20px;
    font-weight: 700;
    color: #EE4437;
}

#formation .fa-graduation-cap {
    text-align: center;
    font-size: 5rem;
    color: #eaeaea;
}

.studyItem .rightArea {
    border-left: solid 1px #EE4437;
    padding-bottom: 40px;
}

.studyItem:last-child .rightArea {
    padding-bottom: 0px;
}

.dates h5 {
    font-size: 1.1em;
    text-align: center;
}

.dates {
    color: #fff;
    background: #EE4437;
    width: 150px;
    height: 150px;
    padding: 40px 0 40px 0;
    border-radius: 50%;
    box-shadow: 0px 3px 1px rgba(0, 0, 0, 0.3);
}

.dates:hover {
    background: #F87E6F;
}

.arrowpart {
    float: left;
    width: 15px;
    height: 60px;
    background: url(../images/arrow-left.png) no-repeat 0 23px;
}

.studyBox {
    width: auto;
    background: #f3f3f3;
    border-bottom: solid 4px #eeeeee;
    padding: 22px 47px 6px 47px;
    margin-left: 15px;
    text-align: left;
    border-radius: 12px;
}

.studyBox p {
    color: #252E55;
    line-height: 21px;
}

.studyBox h4 {
    color: #252E55;
    font-weight: 650;
    padding-bottom: 4px;
}

.studyBox h5 {
    color: #252E55;
}

/************* AGI ***********/
#AGI{
    background-color: #3fabce;
}

/************* EXPERIENCE *************/
#experience {
    background: #3fabce;
    min-height: 60vh;
    color: #EE4437;
    text-align: center;
    padding: 75px 0 90px;
}


#experience .fa-laptop {
    text-align: center;
    font-size: 5rem;
    color: #EE4437;
}

/************* COMPETENCE *************/

#competence {
    height: auto;
    background: linear-gradient(to right, #fff 0, #fff 50%, #f3f3f3 50%, #f3f3f3 100%);
    padding-bottom: 60px;
    color: #0D1E4C;
    box-shadow: 0 1px 16px rgba(0, 0, 0, .4);
}

#competence .left-float,
#competence .right-float {
    width: 50%;
    padding-top: 60px;
}

.left-float,
.left-wrapper {
    float: left;
}

#competence .compLeft {
    margin-left: auto;
    padding: 40px 40px 40px 0;
}

#competence .compLeft,
#competence .compRight {
    width: 90%;
    max-width: 500px;
}

.compItems {
    padding-bottom: 6px;
}

.compItems li {
    display: inline-block;
    padding: 0 1em;
    margin: 5px;
    height: 36px;
    line-height: 36px;
    border-radius: 18px;
    color: #fff;
    background: #EE4437;
}

.compItems li.inView {
    opacity: 1;
    transform: translateY(0);
}

.compItems li:hover {
    background: #F87E6F;
    transition: all .3s;
}

#competence .compRight {
    margin-right: auto;
    padding: 40px 0 40px 40px;
}

#competence .left-float,
#competence .right-float {
    width: 50%;
    padding-top: 50px;

}

.right-float,
.right-wrapper {
    float: right;
}

#competence h3 {
    padding-top: 6px;
    padding-bottom: 3px;
    font-weight: 600;
}


#competence .fa-code, #competence .fa-globe{
    color: #EE4437;
    font-size: 2.2rem;
    margin-right: 10px;
}

#competence .fa-briefcase, #competence .fa-user-circle{
    color: #EE4437;
    font-size: 1.9rem;
    margin-right: 8px;
}

/************* PORFOLIO *************/


#portfolio {
    background-color: #3fabce;
    padding: 88px 0;
    text-align: center;
    height: 100%;
    color: #fff;
    box-shadow: 0 1px 16px rgba(0, 0, 0, .4);
}

#portfolio h1 {
    font-family: cursive;
    font-size: 3.2em;
}

#myTab {
    padding-top: 12px;
}

#portfolio .titreBorder:after {
    background: #fff;
}

.nav-link {
    color: #fff;
}

#myTabContent {
    width: 100%;
    padding-top: 30px;
}

.modal-dialog {
    max-width: 700px !important;
}

.modal-title{
    color: #0D1E4C;
}
.modal-left img{
    width: 100%;
    height: auto;
}

.modal-right {
    color: #0D1E4C;
    text-align: left;
}

.modal-right h5{
    font-size: 1.1em;
}

.modal-right p{
    font-size: 0.9em;
}

.card-header {
    padding: .75rem 0.25rem !important;
}
.overlay {
    position: absolute;
    bottom: 0;
    background: rgba(13,30,76,0.5);
    color: #f1f1f1;
    width: 90%;
    transition: .5s ease;
    opacity:0;
    font-size: 15px;
    padding: 10px;
    text-align: center;
}

.work-item:hover .overlay {
    opacity: 1;
}

.fa-search-plus{
    margin-right: 0 !important;
}

.work-item{
    margin: 10px 0;
}

/************* CONTACT *************/

#contact {
    background: #08112A;
    padding: 40px 60px 20px;
    /*min-height: 65vh;*/
    text-align: center;
}

#contact h1 {
    color: #EAEAEA;
    padding-bottom: 0.4em;
    font-weight: 700;
}

#contact .btn {
    background: #EE4437;
    border: none;
    /* width: 100%;*/
    padding: 10px 40px;
}

#contact .btn:hover {
    opacity: 0.8;
}

#contact .btn:disabled{
    cursor: not-allowed;
}

#contact textarea {
    resize: vertical;
    min-height: 150px;
    max-height: 250px;
}

.g-recaptcha {
    display: flex;
    justify-content: center;
}

.networks li {
    color: #fff;
    list-style-type: none;
    font-size: 1.3em;
    display: inline-flex;
}

.networks li a {
    text-decoration: none;
    margin: 24px 10px;
}

/* social network icons */

.fa {
    padding: 16px;
    font-size: 1.8em;
    width: 52px;
    text-align: center;
    text-decoration: none;
    border-radius: 50%;
    margin-right: 100px;
    color: white;
    transition: 0.5s ease-in-out;
}

.fa:hover{
    opacity: 0.6;
    color: #fff;
    transform: rotate(360deg);
}

.fa-arrow-circle-down {
    color: #08112A;
    margin-right: 0;
    font-size: 3em;
}

.fa-twitter {
    background: #55ACEE;
}

.fa-linkedin {
    background: #007bb5;
}

.fa-pinterest {
    background: #cb2027;
}

.fa-github{
    background: #24292E;
}

.fa-500px {
    background: #000;
}

.fa-codepen {
    background: #24292E;
}


@keyframes Wrong {
    0% {margin-left: 0;}
    25% {margin-left: 10px;}
    50% {margin-left: 0;}
    75% {margin-left: -10px;}
    100% {margin-left: 0;}
}

.wrong {
    position: relative;
    border: solid 1px rgb(255, 102, 0);
    animation-name: Wrong;
    animation-duration: .20s;
    animation-iteration-count: 3;
    animation-fill-mode: both;
}

textarea {
    min-height: 250px;
}

/* FELICITATIONS */

@keyframes Merci {
    from {
        opacity: 0;
        top: 30%;
        box-shadow: 0 0 10px rgba(0, 0, 0, .2);
    }

    to {
        opacity: 1;
        top: 50%;
        box-shadow: 0 20px 30px rgba(0, 0, 0, .6);
    }
}

.merci,
.echec {
    animation-name: Merci;
    animation-duration: .4s;
    animation-iteration-count: 1;
    animation-fill-mode: both;
    position: fixed;
    z-index: 2;
    border-radius: 10px;
    padding: 30px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
}

.echec {
    background-color: rgb(229, 39, 51);
}

.merci {
    background-color: rgb(136, 194, 20);
}

/************* FOOTER *************/

#footer {
    width: 100%;
    padding: 8px 0;
    background-color: #091431;
    box-shadow: 0 1px 16px rgba(0, 0, 0, .5);
}

#footer p {
    text-shadow: 1px 1px 0 rgba(0, 0, 0, .2);
    font-size: 0.9em;
    color: #fff;
    text-align: center;
}

.btn-legal{
    cursor: pointer;
}

/************* toTop Bouton *************/

#toTop {
    display: none;
    position: fixed;
    bottom: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 100;
    background-color: rgba(9, 20, 49,.7);
    border: 0 none;
    transition: all 0.6s;
    text-decoration: none;
    font-size: 1.3em;
}

#toTop:hover {
    background-color: #0D1E4C;
}