@charset "UTF-8";

/*GENERAL*/
* {
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    position: relative;
    scroll-behavior: smooth;
}

html,
body {
    height: 100vh;
    width: 100vw;
    margin: 0 auto;
    padding: 0;
}

body {
    margin: 0 auto;
    font-family: 'Raleway', sans-serif;
    letter-spacing: 0.1rem;
    text-align: center;
    font-size: 1.4rem;
    color: #404040;
    height: 100%;
    padding: 0;
    /*background: linear-gradient(110deg, #d4efeb 50%, #fdc5c4 50%);
    background: linear-gradient(45deg, #f8bad3, #fffed0);*/
    background-attachment: fixed;
}

main {
    margin: 0 auto;
    margin-bottom: 2rem;
    /*font-family: 'Raleway', sans-serif;*/
    font-size: 1.7rem;
    color: #404040;
}

.main {
    height: 100vh;
    width: 100vw;
    display: table-cell;
    vertical-align: middle;
}


.hide {
    display: none;
}

.maj {
    text-transform: uppercase;
    font-size: 2rem;
}

.section {
    opacity: 0;
    transition: 5s ease-in;
}

.anchor {
    position: relative;
    padding-top: 58px;
}

section {
    margin-bottom: 4rem;
}
.project-title {color: #fff;}
#accueil {
    margin-bottom: 0;
}

#wrapper {
    margin-left: auto;
    margin-right: auto;
    width: 1380px;
    max-width: 100% !important;
    padding-right: 25px;
    padding-left: 25px;
    padding-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100%;
}

.container {
    max-width: 100% !important;
    padding-left: calc((100% - 1380px)/2);
    padding-right: calc((100% - 1380px)/2);
}

section p,
h4 {
    padding: 0 3%;
}

img {
    vertical-align: unset;
}

/*LINKS & BUTTONS*/
a:not([href]):not([tabindex]) {
    color: #fff;
}

a:not([href]):not([tabindex]):hover {
    color: #e6e6e6;
}

/*HEADERS*/
h1,
h2,
h3,
h4 {
    font-family: Open Sans, serif;
    font-weight: 700;
    letter-spacing: 0.1rem;
    text-align: center;
    padding-bottom: 1rem;
}

h1 {
    padding-top: 10rem;
    font-size: 6.6rem;
    line-height: 8rem;
}

h2 {
    font-size: 4rem;
    line-height: 5rem;
    padding-bottom: 3rem;
}

h3 {
    font-size: 3rem;
    padding-bottom: 1rem;
}

h4 {
    font-size: 2rem;
    text-transform: uppercase;
    line-height: 3.2rem;
}

/*NAV*/
.navbar {
    padding-bottom: 1.5rem;
    padding-top: 1.5rem;
    transition: 0.5s;
    position: fixed;
    width: 100%;
    z-index: 999;
    font-family: Montserrat, sans-serif;
}


.phone-number {
    padding: 7px 20px;
    background-color: #f92a82;
    border-radius: 2rem;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1.5px;
    display: block;
    transition: 0.5s;
}

.phone-number:hover {
    color: #fff;
    text-decoration: none;
    box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.1);
    color: #e6e6e6;
}

.navbar-brand {
    font-size: 1.6rem;
    word-break: normal;
}

.navbar-nav {
    display: flex;
    align-items: center;
}

#tel {
    white-space: nowrap;
}

#logo,
.navbar-brand {
    transition: 0.5s;
}

#language a {
    font-weight: 500;
    color: #fff !important;
    text-decoration: none;
}

#language a:hover {
    opacity: 0.7;
}


/*ACCUEIL*/
a.arrow {
    display: inline-block;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    letter-spacing: .1em;
    text-decoration: none;
    transition: opacity .3s;
}

a.arrow:hover {
    opacity: .5;
}

#accueil a {
    padding-top: 60px;
}

#accueil a span {
    position: absolute;
    left: 50%;
    width: 24px;
    height: 24px;
    margin-left: -12px;
    border-left: 2px solid #404040;
    border-bottom: 2px solid #404040;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-animation: arrowDown 2s ease-out infinite;
    animation: arrowDown 2s ease-out infinite;
    box-sizing: border-box;
    z-index: 2;
}

#accueil {
    max-width: 100% !important;
    margin: 0 auto;
}

#contact a span {
    position: absolute;
    margin-top: 2rem;
    left: 50%;
    width: 24px;
    height: 24px;
    margin-left: -12px;
    border-left: 2px solid #404040;
    border-top: 2px solid #404040;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-animation: arrowUp 2s ease-out infinite;
    animation: arrowUp 2s ease-out infinite;
    box-sizing: border-box;
    z-index: 2;
}

#accueil p:last-of-type {
    margin-top: 3rem;
    color: rgba(64, 64, 64, 0.8)
}

.document-link {
    color: #f92a82;
}

.document-link:hover {
    color: #cc0063;
    text-decoration: none;
}

@keyframes fadeInOutAnimation {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }

    100% {
        opacity: 1;
    }
}

@-o-keyframes fadeInOutAnimation {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }

    100% {
        opacity: 1;
    }
}

@-moz-keyframes fadeInOutAnimation {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes fadeInOutAnimation {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }

    100% {
        opacity: 1;
    }
}

.animationFadeInOut {
    -webkit-animation: fadeInOutAnimation 2s ease-in infinite;
    -moz-animation: fadeInOutAnimation 2s ease-in infinite;
    -o-animation: fadeInOutAnimation 2s ease-in infinite;
    animation: fadeInOutAnimation 2s ease-in infinite;
}

/*PORTFOLIO*/
#portfolio .row.project-1:hover,
#portfolio .row.project-2:hover,
#portfolio .row.project-3:hover,
#portfolio .row.project-4:hover {
    box-shadow: 0px 0 35px -24px #000;
    transition: 0.5s;
}

#accueil p:last-of-type {
    padding-bottom: 0rem;
}

section p:last-of-type {
    padding-bottom: 8rem;
    margin-bottom: 2.5rem;
}

#project section p:last-of-type {
    padding-bottom: 3rem !important;
    margin-bottom: 1rem;
    padding-top: 2rem
}

p.tags {
    padding-top: 1.2rem;
    font-size: 1.5rem;
    margin: 0 auto;
}

.tag {
    margin-right: 1.5rem;
}

p.socialLinks {
    font-size: 3rem;
}

.socialLink {
    margin-right: 2rem;
}

.socialLink:last-of-type {
    margin-right: 0rem;
}

.socialLink a {
    text-decoration: none;
    color: #fff;
    transition: 0.5s;
}

.socialLink a:hover {
    text-decoration: none;
    color: #909090;
}

.tag:last-child {
    margin-right: 0rem;
}

.tag:before {
    font-family: "Font Awesome 5 Free";
    content: "\f02b";
    display: inline-block;
    padding-right: 0.5rem;
    vertical-align: middle;
    font-weight: 900;
}

.card {
    border: none !important;
    border-radius: 1rem;
    font-size: 1.7rem;
    align-items: center;
}

#profession.col {
    height: 200px;
}

.img-hover-zoom {
    height: 255px;
    /* [1.1] Set it as per your need */
    overflow: hidden;
    /* [1.2] Hide the overflowing of child elements */
    margin-bottom: 2rem;
}

.imgPresentation,
.imgPortfolioCard {
    border-radius: 1rem 1rem 0rem 0rem;
    cursor: pointer;
    transition: transform .5s ease;
}

.img-hover-zoom:hover img {
    transform: scale(1.2);
}

.imgPresentation {
    margin-bottom: 2rem;
    background-size: cover;
    height: 190px;
    max-width: 100%;
    background-position: center;
}

.imgPresentationBig {
    margin-bottom: 2rem;
    background-size: cover;
    height: 280px;
    max-width: 100%;
    background-position: center;
}

.imgPortfolio,
.imgPortfolioCard {
    margin-bottom: 2rem;
    background-size: cover;
    max-width: 100%;
    max-height: 350px;
}

.imgPortfolio {
    margin-top: 2rem;
}

.imgProjects {
    background-size: contain;
    max-width: 100%;
}


.bg-project {
    position: absolute;
    left: 0;
    height: 100vh;
    width: 100vw;
    object-fit: cover;
    filter: brightness(50%);
}

.portfolioDescription {
    margin: 4% auto !important;
}

#imgInfographiste {
    background-image: url("../img/infographie.png");
}

#imgDeveloper {
    background-image: url("../img/developpement-web.png");
}

#imgUXDesign {
    background-image: url("../img/ux-design.jpg");
}

.modal-backdrop.show {
    display: none;
}

@-webkit-keyframes arrowDown {
    0% {
        -webkit-transform: rotate(-45deg) translate(0, 0);
    }

    20% {
        -webkit-transform: rotate(-45deg) translate(-10px, 10px);
    }

    40% {
        -webkit-transform: rotate(-45deg) translate(0, 0);
    }
}

@keyframes arrowDown {
    0% {
        transform: rotate(-45deg) translate(0, 0);
    }

    20% {
        transform: rotate(-45deg) translate(-10px, 10px);
    }

    40% {
        transform: rotate(-45deg) translate(0, 0);
    }
}

@-webkit-keyframes arrowUp {
    0% {
        -webkit-transform: rotate(45deg) translate(0, 0);
    }

    20% {
        -webkit-transform: rotate(45deg) translate(-10px, 10px);
    }

    40% {
        -webkit-transform: rotate(45deg) translate(0, 0);
    }
}

@keyframes arrowUp {
    0% {
        transform: rotate(45deg) translate(0, 0);
    }

    20% {
        transform: rotate(45deg) translate(10px, 10px);
    }

    40% {
        transform: rotate(45deg) translate(0, 0);
    }
}

/*GALLERY MODAL*/
.modal-body {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    z-index: 99999999999;
}

body.modal-open {
    overflow: visible;
    margin: 0;
    padding: 0;
}

.modal-dialog {
    max-width: 90vw;
    margin: 0 auto;
}

.modal-content {
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-header,
.modal-footer {
    border: none;
}

.close,
.modal-title {
    color: #fff;
}

.close:hover {
    color: #fff;
}

.modal-content .close span {
    font-size: 2.5rem !important;
    font-weight: 400 !important;
    padding: 10px 20px 0;
    float: right;
}

.thumbnail {
    position: relative;
    width: 20rem;
    height: 20rem;
    overflow: hidden;
    margin: 1rem;
    background-color: rgba(0, 0, 0, .3);
}

.thumbnail img {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 100%;
    width: auto;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.thumbnail img.portrait {
    width: 100%;
    height: auto;
}

/*CONTACT*/
/*#contact {
    z-index: -1;
}*/

fieldset {
    border-color: transparent;
}

input,
textarea {
    font-family: Montserrat, sans-serif;
    color: #404040;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 1.5rem 0;
    margin: 0.5rem 0;
}

textarea {
    height: 20rem;
}

#contact input[type="text"],
#contact input[type="email"],
#contact input[type="tel"],
#contact input[type="url"],
#contact textarea {
    width: 90%;
    border: 1px solid #CCC;
    background: #FFF;
    padding-left: 1rem;
}

#portfolio .button,
#portfolio .button-modal {
    max-width: 40% !important;
    text-align: center;
}

.button,
.button-modal {
    font-size: 1.7rem;
    background-color: #f92a82;
    padding: 1rem 2rem;
    border-radius: 3rem;
    color: #fff;
    text-decoration: none;
    margin-top: 2rem;
    display: block;
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    bottom: 6%;
    max-width: 60%;
    transition: 0.5s;
    cursor: pointer;
}

.button:hover,
.button-modal:hover {
    box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.3);
    background-color: #cc0063;
    text-decoration: none;
    color: #fff;
}

.button-empty {
    background-color: gray !important;
}

.button-empty:hover {
    box-shadow: unset !important;
    cursor: default;
}

button.button,
button.button-modal {
    position: relative;
    margin: 0 auto;
    border: none;
    padding: 1.5rem 8rem;
    font-size: 2rem;
}

.ux-button {
    max-width: 30% !important;
}


footer {
    background-color: #343a40;
    color: #fff;
    position: relative;
    bottom: 0;
    width: 100%;
}

.lightboxOverlay {
    background-color: rgba(0, 0, 0, 0.9);
    opacity: 0.9;
}

/* ---- reset ---- */
canvas {
    display: block;
    vertical-align: bottom;
}

/* ---- particles.js container ---- */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url("");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    left: 0;
    opacity: 0.8;
}


@media (max-width: 992px) {
    .ux-button {
        max-width: 70% !important;
    }

    #portfolio .button-modal,
    #presentation .button {
        max-width: 50% !important;
    }
}

@media (min-width: 768px) {

    #portfolio .even,
    #portfolio .even h3 {
        text-align: left;
    }

    #portfolio .even h3 {
        padding-left: 3%;
    }

    #portfolio .even .button {
        margin-left: 5% !important;
    }

    #portfolio .odd,
    #portfolio .odd h3 {
        text-align: right;
    }

    #portfolio .odd h3 {
        padding-right: 3%;
    }

    #portfolio .odd .button {
        margin-right: 5% !important;

    }


}

@media (max-width: 325px) {
    #name {
        display: none;
    }
}

@media (max-width: 665px) {
    #title {
        display: none;
    }
}

@media screen and (min-width: 992px) and (max-width: 1325px) {
    #title {
        display: none;
        text-transform: uppercase;
    }

    nav>a {
        margin-right: 5rem;
    }

    nav li {
        padding: 0;
    }
}

@media screen and (min-width: 200px) and (max-width: 1182px) {
    #tel {
        display: block;
    }

    .modal-open .modal {
        margin-top: 100px;
    }

    h1 {
        margin-top: 4rem;
    }
}

@media screen and (max-width: 433px) {

    .button,
    .button-modal,
    #portfolio .button,
    #presentation .button {
        max-width: 80% !important;
    }

    h1 {
        font-size: 4.5rem;
        margin-bottom: 0;
        padding-top: 8rem;
        margin-top: 4rem;
        line-height: 6rem !important;
    }

    #accueil h1 span {
        font-size: 4rem !important;
        padding-top: 1rem;
        display: block;
    }

    #wrapper {
        padding-right: 12px;
        padding-left: 12px;
    }

    .project-title {
        color: #404040;
    }
}