@font-face {
    font-family: "Silka";
    src: url("../fonts/Silka-Regular.otf");
    font-style: normal;
}
@font-face {
    font-family: "Silka-Italic";
    src: url("../fonts/Silka-RegularItalic.otf");
    font-style: italic;
}

@font-face {
    font-family: "Effra";
    src: url("../fonts/Effra-Regular.ttf");
    font-weight: normal;
}
@font-face {
    font-family: "Effra-Light";
    src: url("../fonts/Effra-Light.ttf");
    font-weight: lighter;
}


.silka {
    font-family: "Silka";
}

.effra {
    font-family: "Effra";
}

.disable-select {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none;   /* Chrome/Safari/Opera */
    -khtml-user-select: none;    /* Konqueror */
    -moz-user-select: none;      /* Firefox */
    -ms-user-select: none;       /* Internet Explorer/Edge */
    user-select: none;           /* Non-prefixed version, currently supported by any browser but < IE9 */
}

.breadcrumb-item:not(.silka) {
    font-family: "Effra";
}
/* Style to change separator  */
.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
}

.breadcrumb-item + .breadcrumb-item.silka::before {
    content: "—" !important;
}

.lvh-100 {
    line-height: 100vh;
}

.valign-middle {
    display: inline-block;
    line-height: normal;
    vertical-align: middle;
    position: relative;
	left: 50%;
	transform: translateX(-50%);
}

.border-separator {
    border-color: #D8D8D8;
}

body {
    font-family: "Silka";
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Effra";
    color: #313F49;
}

li {
    font-size: 16px;
}

p {
    color: #777A7C;
    font-size: 19px;
}

.py-0-80-rem {
    padding-top: 0.80rem !important;
    padding-bottom: 0.80rem !important;
}

.separator {
    width: 100%;
    height: 1px;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.m-container {
    max-width: 1140px;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}


.main-color-text {
    color: #386F48;
}
a.main-color-text:hover {
    color: #386F48;
}
.main-color-background {
    background-color: #386F48;
}

.main-color-background:hover {
    background-color: #427A52;
}

.secondary-color-background {
    background-color: #F6F9F9;
}

.secondary-color-background:hover {
    background-color: #F2F2F2;
}

.navbar-toggler-icon {
    background-image: url("https://cdn4.iconfinder.com/data/icons/wirecons-free-vector-icons/32/menu-alt-512.png");
}

#container-navbar {
    position: fixed;
    top: 0;
    z-index: 999;
    transition: box-shadow 0.7s ease 0s;
}

#container-navbar.box-shadow-bottom {
    box-shadow: 0 1px 10px -3px #252729;
}

#container-navbar .navbar-breadcrumb {
    height: 42px;
}

#container-navbar .dropdown-item:hover {
    color: #386F48;
    background-color: transparent;
}

#container-navbar ul.main-menu li a.book-link {
    color: #343a40;
    background-color: #F2F2F2;
}

#container-navbar ul.main-menu li a.book-link:hover {
    background-color: #EAECE9;
}

#container-home {
    min-height: 100vh;
    background: center no-repeat url('../img/background_home3.jpg');
    background-size: cover;
}

#container-home .container-texts {
    min-height: 600px;
}

#container-home .container-texts .main-title-name {
    color: #313F49;
    font-size: 33px;
}

#container-home .container-texts .main-title-big {
    font-size: 70px;
    line-height: 78px;
}

#container-home .container-texts .main-title-big-and {
    font-family: "Effra";
    font-size: 76px;
    line-height: 70px;
}

#container-home .container-texts .subtitle {
    max-width: 620px;
}

#main-arrow-scroll-bottom {
    cursor: pointer;
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    width: 20px;
    height: 20px;
    border-left: 6px solid #313F49;
    border-bottom: 6px solid #313F49;
    transform: rotate(-45deg);
}


#container-skills {
    background: #F1F1F1;
}

#container-skills .bigger-container {
    max-width: 1200px;
}

#container-skills .bigger-container .subtitle {
    max-width: 430px;
}

#container-skills #skills-blocks {
    justify-content: space-evenly;
}

#container-skills .skill-block {
    max-width: 350px;
    height: 195px;
}

#container-skills .skill-block .skill-block-img {
    vertical-align: top;
    width: 15%;
}

#container-skills .skill-block .skill-block-texts {
    vertical-align: top;
    width: 70%;
}

#container-skills .skill-block .skill-title {
    font-size: 16px;
}

#container-skills .skill-block .skill-text {
    font-size: 16px;
    color: #737373;
}


#container-about {
    height: 660px;
    background: center no-repeat url('../img/background_about2.jpg');
    background-size: cover;
}

#container-about p {
    font-size: 16px;
}

#container-about p .ps {
    font-size: 13px;
}

#container-about a.about-button:hover {
    cursor: pointer;
    text-decoration: none;
}

#container-about .book-button.book-about {
    color: #343a40;
}

#container-projects {

}

#container-projects .bigger-container {
    max-width: 1300px;
}

#container-projects .bigger-container .title {
    max-width: 185px;
}

#container-projects .bigger-container .subtitle {
    font-size: 18px;
    max-width: 185px;
}

#container-projects .bigger-container .link {
    font-size: 17px;
    max-width: 185px;
}

#container-projects .bigger-container .projects-arrow-left,
#container-projects .bigger-container .projects-arrow-right {
    width: 40px;
    height: 40px;
    background: #191A1E;
    padding: 14px;
}

#container-projects .bigger-container .projects-arrow-left,
#container-projects .bigger-container .projects-arrow-right:hover {
    background: #313338;
}

#container-projects #projects-texts {
    height: 570px;
}

#container-projects #projects-blocks {
    cursor: grab;
    min-height: 570px;
    overflow: hidden;
    white-space: nowrap;
}

#container-projects #projects-blocks.grabbing,
#container-projects #projects-blocks .project-block.grabbing {
    cursor: grabbing;
}

#container-projects #projects-blocks .project-block {
    max-width: 310px;
    height: 520px;
    margin-top: 25px;
    margin-right: 4.5rem;
}
#container-projects #projects-blocks .project-block:last-child {
    margin-right: 0;
}

#container-projects #projects-blocks .project-block .project-image {
    height: 125px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 125px;
}

#container-projects #projects-blocks .project-block .project-title {
    font-size: 24px;
    line-height: 36px;
}

#container-projects #projects-blocks .project-block .project-subtitle {
    font-size: 23px;
    line-height: 36px;
}



#container-projects-achievements .bigger-container,
#container-projects-more .bigger-container {
    max-width: 1280px;
}

#container-projects-achievements #projects-blocks.justify-evenly,
#container-projects-more #projects-blocks.justify-evenly {
    justify-content: space-evenly;
}

#projects-blocks .project-horizontal .project-block {
    width: 490px;
    height: 305px;
    margin-top: 45px;
}

#projects-blocks .project-horizontal .project-block .project-image.mobile {
    width: 190px;
    height: 135px;
    background-repeat: no-repeat;
    background-position: right;
    background-size: auto 135px;
}

#projects-blocks .project-horizontal .project-block .project-image.pc {
    width: 210px;
    height: 120px;
    background-repeat: no-repeat;
    background-position: right;
    background-size: auto 125px;
}

#projects-blocks .project-horizontal .project-block .project-image.prototype {
    width: 210px;
    height: 120px;
    background-repeat: no-repeat;
    background-position: right;
    background-size: auto 125px;
}

#projects-blocks .project-horizontal .project-block .container-texts-horizontal-project {
    width: 200px;
}

#projects-blocks .project-horizontal .project-block .project-title {
    font-size: 22px;
    line-height: 34px;
}

#projects-blocks .project-horizontal .project-block .project-subtitle {
    font-size: 21px;
    line-height: 34px;
}

/**************************/
/* COMMON PROJECTS BLOCKS */
/**************************/

#projects-blocks .project-block {
    cursor: pointer;
    white-space: normal;
    display: inline-block;
    border-radius: 7px;
    transition: transform .2s, box-shadow .2s;
}

#projects-blocks .project-block.hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px -4px #252729;
}

#projects-blocks .project-block.hover .project-see-more {
    text-decoration: underline;
}

#projects-blocks .project-block .project-see-more {
    color: #999A9C;
    font-size: 14px;
    position: absolute;
    right: 2rem;
    bottom: 2rem;
}


.project-clickable-link {
    text-decoration: none !important;
}

.project-platform {
    color: #888A8C;
}

.project-title {
    color: #313F49;
}

.ohana {
    background: #F7F4F0;
}
.ohana .project-image {
    background-image: url("../img/ohana_pc.png");
}
.ohana .project-subtitle {
    color: #FF394E;
}

.heedn {
    background: #f3f6f6;
}
.heedn .project-image {
    background-image: url("../img/heedn_phone.png");
}
.heedn .project-subtitle {
    color: #2d814a;
}

.toutenkarton {
    background: #E1E9F1;
}
.toutenkarton .project-image {
    background-image: url("../img/toutenkarton_prototype.png");
}
.toutenkarton .project-subtitle {
    color: #e19e40;
}

.martin {
    background: #EFEFEF;
}
.martin .project-image {
    background-image: url("../img/martin_phone.png");
}
.martin .project-subtitle {
    color: #6840A4;
}

.newwave {
    background: #f3f5fc;
}
.newwave .project-image {
    background-image: url("../img/newwave_pc.png");
}
.newwave .project-subtitle {
    color: #0052CC;
}

/**************************/
/**************************/
/**************************/



/* Réalisations */

#container-achievements {

}

#container-achievements .bigger-container {
    max-width: 1140px;
}

#container-achievements #achievements-blocks {
    justify-content: space-evenly;
}

#container-achievements .achievement-img {
    background: #D2D2D2;
    width: 330px;
    height: 255px;
}


#container-specific-project {
    min-height: 100vh;
}

#container-specific-project > .container {
    max-width: 1020px !important;
}

#container-specific-project .project-title {
    font-size: 37px;
    line-height: 50px;
}

#container-specific-project .project-subtitle {
    font-size: 35px;
    line-height: 48px;
}

#container-specific-project .plus-dinfo {
    cursor: pointer;
}

#container-specific-project .project-img.mobile {
    min-width: 250px;
    max-width: 470px;
    height: 100%;
}

#container-specific-project .project-img.pc {
    min-width: 250px;
    max-width: 510px;
    height: 100%;
    margin-top: 3.4rem !important;
}

#container-specific-project .project-img.prototype {
    min-width: 250px;
    max-width: 510px;
    height: 100%;
    margin-top: 3.4rem !important;
}



#container-description-project .project-description-type,
#container-description-project .project-description-title,
#container-description-project .project-description-description {
    font-family: "Silka";
}

#container-description-project .project-description-type,
#container-description-project .project-description-description {
    color: #777A7C;
}

#container-description-project h3.project-description-title {
    font-size: 25px;
    line-height: 35px;
}

#container-description-project h4.project-description-title {
    font-size: 18px;
    line-height: 30px;
}

#container-description-project .project-description-description {
    font-size: 16px;
    line-height: 35px;
}

#container-description-project .description-bottom-project .project-description-description {
    line-height: 32px;
}


/***************************/
/******** RESPONSIVE *******/
/***************************/

/* AUTRE */
@media (max-width: 384px) {
    #projects-blocks .project-horizontal .project-block {
        width: auto !important;
        max-width: 380px !important;
        padding-left: 2rem !important;
    }

    #projects-blocks .project-horizontal .project-block .container-texts-horizontal-project {
        display: none !important;
    }

    #projects-blocks .project-horizontal .project-block .project-image {
        float: none !important;
        width: 210px !important;
    }
}

@media (max-width: 400px) {
    #container-home .container-texts .main-title-name {
        font-size: 21px;
    }

    #container-home .container-texts .main-title-big {
        font-size: 40px;
        line-height: 48px;
    }

    #container-home .container-texts .main-title-big-and {
        font-size: 46px;
        line-height: 40px;
    }

    #container-home .container-texts .subtitle {
        font-size: 16px;
    }

    h1 {
        font-size: 30px;
    }

    #container-specific-project .project-title {
        font-size: 25px;
        line-height: 38px;
    }

    #container-specific-project .project-subtitle {
        font-size: 23px;
        line-height: 36px;
    }

    #container-specific-project .plus-dinfo {
        font-size: 15px;
        padding: 1rem !important;
    }

    h6 {
        font-size: 15px;
    }

    p {
        font-size: 16px !important;
    }
}

/* XS */
@media (max-width: 575px) {
    #container-projects #projects-blocks .project-block {
        margin-right: 0 !important;
    }

    #projects-blocks .project-horizontal .project-block {
        width: 450px;
    }

    #projects-blocks .project-horizontal .project-block .container-texts-horizontal-project {
        width: 155px;
    }
}

/* XS & SM */
@media (max-width: 767px) {
    #container-navbar ul.main-menu {
        background: white !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #container-navbar ul.main-menu li {
        text-align: center !important;
    }

    #container-navbar ul.main-menu li a.cv-link {
        border-radius: 0 !important;
        color: #386F48 !important;
        background-color: transparent !important;
    }

    #container-navbar ul.main-menu li a.book-link {
        border-radius: 0 !important;
        color: #000000 !important;
        background-color: transparent !important;
    }

    #container-navbar ul.main-menu .dropdown-menu .dropdown-item {
        text-align: center !important;
    }
}

/* SM & MD */
@media (min-width: 576px) and (max-width: 991px) {
    #container-projects #projects-blocks .project-block {
        margin-left: 15px !important;
        margin-right: 15px !important;
    }
}

/* XS & SM & MD */
@media (max-width: 991px) {
    #container-projects #projects-texts {
        height: inherit;
    }

    #container-projects .bigger-container .title {
        max-width: inherit;
    }
    #container-projects .bigger-container .subtitle {
        max-width: inherit;
    }

    #container-projects #projects-blocks {
        overflow: hidden;
        white-space: normal !important;
        text-align: center;
    }
    #container-projects #projects-blocks .project-block {
        margin-bottom: 30px;
    }
}
