body, html {
    font-family: 'Roboto', sans-serif;
    color: #292929;
    scroll-behavior: smooth;
    font-weight: 300;
    font-size: 18px;
    word-break: break-word;
}

strong {
    font-weight: 700;
}

b {
    font-weight: 500;
}

h1 {
    font-size: 80px;
    font-style: normal;
    font-weight: 500;
    margin: 15px 0px;
}

h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 35px;
    font-weight: 500;
}

h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    font-weight: 600;
}

h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

iframe {
    margin: 20px;
    width: 20vw;
}

#jeux {
    text-align: center;
}
#games {
    max-width: 1200px;
}

#rpc {
    width: 20vw;
    height: 520px;
    background-color: #EBEBEB;
    text-align: center;

}
#rpc > button {
    width: 80%;
    margin: 5px;
    background-color: #3498DB;
    text-align: center;
}

button {
    display: inline-block;
    margin: 0px 70px;
    border: none;
    text-align: center;
    text-transform: uppercase;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 17px;
    padding: 20px 50px;
    -webkit-border-radius: 40px;
    -moz-border-radius: 40px;
    border-radius: 40px;
    -webkit-box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.16);
    -moz-box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.16);
    box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.16);
    cursor: pointer;
    transition: .3s ease;
    -webkit-transition: all 0.3s;
}
button:hover {
    -webkit-box-shadow: 5px 5px 7px 0px rgba(0,0,0,0.25);
    -moz-box-shadow: 5px 5px 7px 0px rgba(0,0,0,0.25);
    box-shadow: 5px 5px 7px 0px rgba(0,0,0,0.25);
    transition: .3s ease;
    -webkit-transition: all 0.3s;
}

.section-title {
    text-align: center;
    padding-bottom: 40px;
}

.outer-container {
    max-width: 1200px;
    margin: auto;
}

#games {
    display: inline-flex;
    align-items: center;
}

#rock-paper-scissors-title{
	font-family: 'Montserrat', sans-serif;
	margin-top: 20px;
	font-size: 25px;
}

section {
    padding: 80px 0px 60px 0px;
}

section.grey {
    background-color: #EBEBEB;
}

.under-title {
    height: 30px;
}

/* SPACE-BETWEEN */
.space-between {
    text-align: justify;
}
.space-between:after {
    content: '';
    display: inline-block;
    width: 100%;
}
.space-between .item {
    display: inline-block;
}
/* end */

/* CENTER */
.center {
    display: table;
    width: 100%;
}

.center .c-item {
    display: table-cell;
    vertical-align: middle;
}

.hidden {
    visibility: hidden;
}



/* MENU */

nav {
    position: fixed;
    color: #7925e9;
    z-index: 9999;
    padding: 15px 0px;
    background: rgba(0, 0, 0, 0.3);
    width: 100%;
}

nav ul {
    width: 1200px;
    text-align: right;
    margin: auto;
}

nav li {
    display: inline-block;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 15px;
    padding-left: 40px;
    cursor: pointer;
}

nav li a {
    color: #7925e9 !important;
    text-decoration: none !important;
}

/* end menu */



/* MOBILE MENU */

#mobile-nav {
    display: none;
    position: fixed;
    z-index: 9999;
}

#menu-buttons {
    position: fixed;
    top: 0;
    right: 0;
    color: #7925e9;
    font-size: 2em;
    width: 40px;
    margin: 15px 15px;
    text-align: center;
    z-index: 1;
}

#cross {
    display: none;
}

#menu {
    display: none;
    background-color: rgba(0,0,0,0.9);
    height: 100%;
    position: fixed;
    z-index: 0;
    width: 100%;
    top: 0;
    left: 0;
}

#menu ul {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    width: 70%;
    padding: 50px 0px;
    vertical-align: middle;
}

#menu ul li {
    padding: 20px 0px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

#menu ul li:last-child {
    border-bottom: 0px;
}

#menu ul li a {
    color: #7925e9;;
    text-decoration: none;
}

/* end mobile menu */



/* HOMEPAGE */

.parallax-outer {
    height: 100vh;
}
#GFG {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#GFG::before {
    content: "";
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;

    /* Specify the background image to be used */
    background-image: url("../images/bureau.jpg");
    background-size: cover;

    /* Specify the background image */
    opacity: 0.1;
}
/* .parallax { 
    background-image: url("../images/bureau.jpg");
    height: 100%;
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 50%;
} */

#homepage {
    bottom: 70px;
    position: absolute;
    left: 50%;
    width: 1200px;
    -webkit-transform: translate(-50%);
    -ms-transform: translate(-50%);
    transform: translate(-50%);
}

header {
    font-family: 'Montserrat', sans-serif;
    color: rgb(0, 0, 0);
    font-size: 39px;
    font-weight: 1000;
    font-style: italic;
    text-align: center;
    /* display: -webkit-inline-box; */
    display: inline-flex;
    align-items: center;
}
header > div >h1 {
    font-weight: 600;
    font-size: 66px;
}

#header-text {
    font-family: 'Montserrat', sans-serif;
    color: rgb(0, 0, 0);
    font-size: 30px;
    font-weight: 600;
    margin: 70px 0px 110px 0px;
    text-align: center;
}

#imgHeader {
    width: 200px;
    height: 200px;
    margin: 30px;
    border-radius: 50%;
    opacity: 100%;
}

.fa-handshake{
    color: #9B59B6;
}
/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
  }
  
  /* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: auto;
    background-color: #555;
    color: #fff;
    text-align: center;
    padding: 5px ;
    border-radius: 6px;

/* Position the tooltip text */
    position: absolute;
    z-index: 1;
    bottom: 100%;
    left: 50%;
    margin-left: -60px;

/* Fade in tooltip */
    opacity: 0;
    transition: opacity 0.3s;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.skill-box {
    color: rgb(80, 77, 77);
    font-family: 'Montserrat', sans-serif;
    font-size: 35px;
    text-align: center;
}
.skill-box i {
    display: block;
    font-size: 70px;
    margin-bottom: 30px;
    transition: .3s ease;
    -webkit-transition: all 0.3s;
}
.skill-box i:hover {
    transition: .3s ease;
    -webkit-transition: all 0.3s;
}

.skill-box .fa-code:hover {
    color: #9B59B6;
}
.skill-box .fa-database:hover {
    color: #3498DB;
}
.skill-box .fa-list-check:hover {
    color: #e74c3c;
}
.skill-box .fa-pencil-ruler:hover {
    color: #2ECC71;
}
.skill-box .fa-globe:hover {
    color: #f1c40f;
}

/* end homepage */



/* ABOUT */

.box1 {
    width: 370px;
}
.box1 p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 15px;
    padding-top: 10px;
    line-height: 30px;
}

.img-container {
    position: relative;
}

.img-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: .5s ease;
}

.img-container:hover .img-overlay {
    opacity: 1;
  }

.box2 {
    vertical-align: top;
    width: 755px;
}
.box2 h2 {
    padding-bottom: 25px;
}
.box2 p {
    padding: 10px 0px;
    line-height: 30px;
}

.box3 {
    display: none;
}

#buttons-container {
    margin-top: 40px;
    text-align: center;
}

button#cont {
    background-color: #3FA8FD;
}
button#cv {
    background-color: #2FDC9C;
}

/* end about */



/* SKILLS */

#skills {
    overflow: hidden;
}

#skills .skill {
    margin-bottom: 40px;
}

#skills .skill .c-item.content {
    padding: 25px 40px 0px;
    font-size: 16px;
    background-color: white;
    line-height: 26px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    -webkit-box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.16);
    -moz-box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.16);
    box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.16);
    width: 65%;
}

#skills .c-item.icon {
    font-size: 140px;
    width: 27%;
    text-align: center;

}

#skills .front {
    color: #9B59B6;
}
#skills .back {
    color: #3498DB;
}
#skills .cms {
    color: #E67E22;
}
#skills .design {
    color: #2ECC71;
}
#skills .env {
    color: #95A5A6;
}

#skills h4 {
    font-size: 22px;
    margin-bottom: 10px;
}

#skills .content .item.desc {
    margin-bottom: 20px;
}

#skills .content .item.desc.end {
    margin-bottom: 30px;
    line-height: 35px;
}

#skills .content .item.desc.end i {
    width: 25px;
}

#skills .content .el {
    line-height: 30px;
    width: 30%;
}

#skills .space-between {
    margin-bottom: -13px;
}

#skills .space-between .item {
    vertical-align: top;
}

#skills .space-between .item.names {
    font-weight: 500;
}

#skills #front-end .space-between .item.stars {
    color: #9B59B6;
}

#skills #back-end .space-between .item.stars {
    color: #3498DB;
}

#skills #cms .space-between .item.stars {
    color: #E67E22;
}

#skills #web-design .space-between .item.stars {
    color: #2ECC71;
}

/* end skills */



/* EXPERIENCE */

#timeline {
    position: relative;
    max-width: 100%;
    margin-left: 0 auto;
    margin-top: 40px;
    animation-delay: 0.5s;
}
  
#timeline::after {
    content: '';
    position: absolute;
    width: 5px;
    background-color: #EBEBEB;
    top: 0;
    bottom: 0;
    left: 190px;
}

.event {
    position: relative;
    width: inherit;
}

.event .left {
    position: absolute;
    top: calc(50% - 30px);
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    line-height: 20px;
    width: 132px;
}

.event h3 {
    padding-bottom: 10px;
}

.event .place {
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 500;
    padding-bottom: 25px;
}

.event h3 i {
    width: 45px;
}

.event.work h3 {
    color: #3498DB;
}
.event.exp h3 {
    color: #E67E22;
}
.event.school h3 {
    color: #2ECC71;
}

.event .right {
    padding: 20px 0px 40px;
    position: relative;
    background-color: inherit;
    margin-left: 290px;
}

.event .right::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-color: #EBEBEB;
    top: calc(50% - 12px);
    border-radius: 50%;
    z-index: 1;
}

.event .right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: calc(50% - 10px);
    width: 0;
    z-index: 1;
    left: -10px;
    border: medium solid #EBEBEB;
    border-width: 10px 10px 10px 0;
    border-color: transparent #EBEBEB transparent transparent;
}

.event .right::after {
    left: -110px;
}

.event .right .content {
    padding: 30px 40px 20px 40px;
    font-size: 16px;
    background-color: #EBEBEB;
    position: relative;
    line-height: 26px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    -webkit-box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.16);
    -moz-box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.16);
    box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.16);
}

#timeline .event .right .date {
    display: none;
    text-align: left;
    padding-bottom: 5px;
    font-family: 'Montserrat', sans-serif;
}

#experience li {
    padding-bottom: 10px;
}

#experience li:before {
    content: ' - ';
    padding-right: 10px;
}

/* end experience */



/* PROJECTS */

.project {
    position: relative;
    width: 575px;
    height: 402px;
    background-color: white;
    margin-top: 40px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    -webkit-box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.16);
    -moz-box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.16);
    box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.16);
}

.project:hover .overlay {
    height: 100%;
    transition: all 0.5s;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    -webkit-transition: all 0.5s;
}

.image-box {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 326px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
}

.image-box:after {
    content: '\A';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background :rgba(0,0,0,0.3);
    opacity: 1;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
}

#cetolike .image-box {
    background-image: url('../images/cetolike.jpg');
}

#nature-vie .image-box {
    background-image: url('../images/nature-vie.jpg');
}

#iselection .image-box {
    background-image: url('../images/iselection-b2c.jpg');
}

#detoxssentiel .image-box {
    background-image: url('../images/detoxssentiel.jpg');
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    overflow: hidden;
    width: 100%;
    height: 76px;
    transition: .5s ease;
    -webkit-transition: all 0.5s;
    -webkit-border-bottom-right-radius: 15px;
    -webkit-border-bottom-left-radius: 15px;
    -moz-border-radius-bottomright: 15px;
    -moz-border-radius-bottomleft: 15px;
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
}

.overlay .text {
    text-align: center;
    padding-top: 30px;
    height: 100%;
}

#projects ul.tags {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: white;
    margin-top: 25px;
}

#projects .tags li {
    display: inline-block;
    padding: 5px;
    margin: 5px;
    background-color: #7925e9;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

#projects ul.desc {
    margin: 20px 30px;
    height: 170px;
    font-size: 15px;
    line-height: 25px;
    text-align: left;
    overflow: auto;
}

#projects .desc li:before {
    content: 'â—';
    padding-right: 10px;
}

#projects button {
    margin: 0px;
    font-size: 15px;
    padding: 12px 30px;
    background-color: #2FDC9C;
}

#projects button i {
    padding-left: 15px;
}

/* end projects */



/* CONTACT */

.contact-subtitle {
    text-align: center;
    margin: 10px 0px 70px;
    line-height: 50px;
}

.contact-box {
    width: 24%;
    text-align: center;
    padding: 30px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
}

.contact-box .text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
}

.contact-box i {
    font-size: 60px;
    padding-bottom: 30px;
}

.phone {
    background-color: #EFE5F3;
    color: #9B59B6;
}

.email {
    background-color: #E0EFF9;
    color: #3498DB;
}

.meet {
    background-color: #DFF7E9;
    color: #2ECC71;
    line-height: 25px;
}
.meet p {
    color: #707070;
    padding-top: 20px;
    line-height: 23px;
}


/* end contact */



/* FOOTER */

footer {
    background-color: #292929;
    color: white;
    font-size: 13px;
    text-align: center;
    padding: 25px;
    line-height: 20px;
}

footer i {
    font-size: 21px;
    margin: 0px 10px 15px;
    padding: 10px 0px;
    width: 40px;
    -webkit-border-radius: 40px;
    -moz-border-radius: 40px;
    border-radius: 40px;
    cursor: pointer;
    color: white;
    transition: .5s ease;
    -webkit-transition: all 0.5s;
}

footer i:hover {
    background-color: #292929;
    transition: .5s ease;
    -webkit-transition: all 0.5s;
}

footer .fa-linkedin-in {
    background-color: #007bb6;
}
footer .fa-viadeo {
    background-color: #ee7252;
}
footer .fa-print {
    background-color: #8c8c8c;
}

/* end footer */



@media screen and (max-width: 1300px) {
    nav ul {
        width: auto;
        margin-right: 40px;
    }

    #homepage {
        width: 85%;
    }

    header {
        font-size: 33px;
    }

    .outer-container {
        max-width: 85%;
    }

    .box1 {
        width: 30%;
    }

    .box2 {
        width: 65%;
    }

    .box2 p {
        font-size: 17px;
    }

    .project {
        width: 100%;
        height: 400px;
    }

    .contact-box .text {
        font-size: 16px;
    }
}

@media screen and (max-width: 1056px) {
    .contact-box .text {
        font-size: 0.75em;
    }

    #ttt, #p4, #rpc {
        width: 90%;
    }
    
    #games {
        display: block;
    }
}