:root {
    --maincolor: #096175;
    --maincolordark: #0c4855;
    --darkgrey: #333333;
    --lightgrey: #777777;
}


@font-face {
    font-family : "Aller Light";
    src: url('../fonts/ALLER/Aller_Lt.ttf')
}
@font-face {
    font-family : "Aller Regular";
    src: url('../fonts/ALLER/Aller_Rg.ttf')
}
@font-face {
    font-family : "Aller Italic";
    src: url('../fonts/ALLER/Aller_It.ttf')
}
@font-face {
    font-family : "Aller Bold";
    src: url('../fonts/ALLER/Aller_Bd.ttf')
}
@font-face {
    font-family : "Aller Bold Italic";
    src: url('../fonts/ALLER/Aller_BdIt.ttf')
}
@font-face {
    font-family : "Aller Display";
    src: url('../fonts/ALLER/AllerDisplay.ttf')
}

.mb5 {
    margin-bottom: 5rem;
}

.align-right {
    text-align: right;
}
.align-center {
    text-align: center;
}

.courant {
    font-family: 'Aller Regular';
    color: white;
    margin-bottom: 2.5rem;
    font-size:1.8rem;
}
.courant-petit {
    font-family: 'Aller Regular';
    color: white;
    margin-bottom: 2rem;
    font-size:1.3rem;
}

.readnext:hover {
    background-color: white;
    text-decoration: none;
    padding: 15px;
    line-height: 15px;
    font-weight: bold;
    color: var(--maincolor);
    box-shadow: 0 0  0 3px #FFF;
    border-radius: 5px;
}

.readnext {
    background-color: rgba(255, 255, 255, 0.1);
    text-decoration: none;
    line-height: 15px;
    padding: 15px;
    border-color: #fff;
    color: white;
    border-radius: 5px;
    transition: all 1s ease;
}

/* utils */

.nowrap {
    white-space: nowrap;
}

h1 {
    color: white;
    font-family: "Aller Display";
    margin-bottom: 5rem;
}


#logo {
    position : fixed;
    z-index: 2;
    width : 150px;
    top : 50px;
    right : 50px;
    visibility:hidden;
}

/* sidebar & menu */

#sidebar {
    position : fixed;
    z-index: 1;
    width : 250px;
    height : 100vh;
    right : 0;
    background-color: rgba(255, 255, 255, 0.85);
    line-height: 500px;
    text-align : center;
    display : block;
    visibility:hidden;
}

#menu {
    position: relative;
    top: 50%;
    transform: translate(0, -80%);
    text-align: right;
    font-size: 1.1em;
    display: inline-block;
    vertical-align: middle;
    line-height:1.1em;
    visibility:hidden;
}

#menu > ul {
    list-style-type: none;
}

#menu > ul > li {
    font-family: 'Aller Bold Italic';
    text-decoration: none;
    transition: all 1.5s ease;
    margin-bottom: 1em;
}
#menu > ul > li:hover {
    transform: translate(-25px);
}


#menu > ul > li > a {
    text-decoration: none;
    letter-spacing: 2px;
    color: var(--maincolor);
}

#openmenu {
    position : fixed;
    display: none;
    bottom : 0;
    right : 0;
    z-index: 3;
    margin : 20px;
    width : 30px;
    height : 30px;
    color : #fff;
    font-size: 20px;
    line-height: 28px;
    background-color: var(--darkgrey);
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
}

#openmenu:hover {
    background-color: var(--maincolor);  
}

#openmenu:active {
    background-color: #FFF;  
}


.activ-section {
    color : var(--darkgrey) !important;
}


/* bg and veil */

#background {
    background-image: url(../images/background.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    width:100vw;
    height:100vh;
    position: fixed;
    z-index:-1;
}

#veil {
    width:calc(100vw - 250px);
    height:calc(100vh + 1px);
    background-color: var(--maincolor);
    position: fixed;
    z-index: 0;
    mix-blend-mode: multiply;
}

.nav-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    height: 100vh;
    width:12.5vw;
    z-index:2;
}

.nav-left-bull {
    width: 10px;
    height: 10px;
    border: 1px solid white;
    border-radius: 5px;
}

.nav-left-bull-separator {
    width: 0px;
    min-height:40px;
    border-left: 1px solid white;
}


.bull-active {
    background-color: white;
}


.section {
    position: absolute;
    width: calc(100vw - 250px);
    height: 100vh;
    overflow: hidden;

}


/* #welcome {
    color: white;
} */

#welcome {
    width:100vw !important;
}

#big-logo {
    width:100vw;
    height:100vh;
    position: fixed;
    mix-blend-mode: multiply;
}
#big-logo > img {
    transform: translate(-50%, -50%);
    margin-left: 50vw;
    margin-top: 50vh;
    z-index: 2;
}

#carrousel-wrapper {
    position:fixed;
    z-index:-1;
    overflow: hidden;
}

#carrousel {
    
}

#welcome-presBtn {
    align-self: center;
}

#welcome-presBtn > button {    
    background-color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    line-height: 15px;
    padding: 15px;
    border-color: #fff;
    color: var(--maincolor);
    border-radius: 5px;
    position: fixed;
    text-align: center;
    transform: translateX(-50%);
}

#welcome-presBtn > button:hover {
    background-color: white;
    text-decoration: none;
    padding: 15px;
    line-height: 15px;
    font-weight: bold;
    color: var(--maincolor);
    box-shadow: 0 0  0 3px #FFF;
    border-radius: 5px;
}


#carrousel > img {
    width:100vw;
}

.big-text-box {
    display: flex;
    flex-direction: column;
    color: var(--maincolordark);
    mix-blend-mode: multiply;
    justify-content: center;
    align-items: center;
}

.screen {
    position: absolute;
    display: flex;
    flex-direction: column;
    width: calc(100vw - 250px);
    height: 100vh;
    padding: 12.5vw;
    justify-content: center;
}

/* .subscreen {
    position: inherit;
    width: calc(100% - 250px);
    padding-right: 6.25vw;
    padding-left: 3.125vw;
}

.subscreen > p {
    padding-right: 6.25vw;
} */


.pres-screen1 > p:last-child {
    margin-bottom: 0;
}

.pres-screen1 > p {
    display: flex;
    margin-left: 4vw;
}

.pres-screen1 > p > img {
    min-width: 50px;
    max-width: 50px;
    float: left;
    margin-right: 50px;
}

#pres-blockquote {
    display: flex;
    justify-content: flex-end;
}

.pres-blockquote-portrait > img {
    flex-shrink: 0;
    max-width: 150px;
    margin-top: 5rem;
}

.pres-blockquote-cita {
    display: inline-flex;
    flex-direction: column;
    font-family: 'Aller Italic';
    color:white;
    font-size: 2rem;
    text-align: right;
    padding-right: 3rem;
    margin-left:4vw;
    max-width: calc(100% - 250px);
}

.pres-blockquote-cita > p {
    line-height: 2.8rem;
    margin-bottom: 2.5rem;
}

.pres-blockquote-cita-before {
    position: relative;
    display: block;
    width: 50px;
    height: 50px;
    margin-bottom: 50px;
    overflow: visible;
    content: '';
    background-image: url(../images/pictos/quote.svg);
    background-repeat: no-repeat;
    background-size: contain;
}
.pres-blockquote-cita-after {
    position: relative;
    display:block;
    align-self: flex-end;
    float: right;
    width: 40px;
    height: 40px;
    margin-top: 25px;;
    overflow: visible;
    content: '';
    background-image: url(../images/pictos/quote.svg);
    background-repeat: no-repeat;
    background-size: contain;
    transform: rotate(180deg);
}

.pres-blockquote-signature {
    font-family: 'Aller Italic';
    color:white;
    font-size: 1.7rem;
    margin-top: 1rem;
    white-space: nowrap;
}

.pres-blockquote-signature > span {
    font-family: 'Aller Italic';
    color:white;
    font-size: 1.3rem;
}


/* services */


.services-menu {
    display: grid;
    grid-template-columns: 20% 20% 20%;
    grid-template-rows: 20% 20% 20%;
    row-gap: 100px;
    column-gap: 15%;
    color: white;
    width: 100%;
    align-self: center;
    margin-left: 20%;
}

.services-menu-item {
    width: 150px;
    height: 150px;
    padding-top: 20px;
    display:flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    outline: 1px solid transparent;
}

.services-menu-item > img {
    width: 70px;
    height: 70px;
    margin-bottom: 5px;
}

.services-menu-item-name {
    display: flex;
    font-size: 1.5rem;
    height: 70px;
    font-family: 'Aller Regular';
    align-items: center;
}

#services > .screen.text-right > a {
    text-align: right;
}

.menu-grid-btn {
    width: 50px;
    height: 50px;
    background-image: url(../images/pictos/menu-grid.svg);
    background-size: cover;
    position: absolute;
    bottom: 40px;
    right: 50px;
    cursor: pointer;
    opacity: 0.5;
}

.menu-grid-btn:hover {
    scale: 1.1;
    opacity: 1;
}

#services > .screen > h1 > img {
    position: absolute;
    right: 150px;
    transform: rotate(20deg) translateY(50%);
    opacity: 0.07;
    width: 50vh;
}

#services > .screen.align-right > h1 > img {
    left: 250px;
    right:unset;
    transform: rotate(-20deg) translateY(50%);
}

/* REALISATIONS */

.mini-carrousel {
    width:100%;
    height:250px;
    display: flex;
    flex-direction: row;
    overflow: hidden;
}

/* CONTACT */

.contact-formulaire label {
    color: white;
    font-family: 'Aller Regular';
}

.contact-formulaire input, .contact-formulaire textarea {
    background-color: rgba(255, 255, 255, 0.07);
    color: white;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    margin-bottom:2rem;
    border:1px solid rgba(255, 255, 255, 0.3);
}

.contact-formulaire textarea {
    width: 100%;
}

textarea:focus, input:focus {
    outline: none;
}

#captcha {
    margin-bottom: 0;
}

.captcha {
    width:100%;
    display: flex;
    align-content: space-around;
    justify-content: space-between;
}
.captcha > div {
    display: flex;
    align-content: space-around;
}

.captcha > input[type=submit] {
    justify-self: flex-end;
}

.twoInOne {
    display: flex;
}
.twoInOne > div:first-child, .captcha > div > input:first-child {
    margin-right: 3rem;
}



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

    #openmenu {
        display: block;
    }

    #logo {
        visibility: hidden;
    }

    .courant {
        font-family: 'Aller Regular';
        color: white;
        margin-bottom: 3rem;
        font-size:1.2rem;
    }

    .screen {
        width: 100vw;
    }
    #veil {
        width: 100vw;
    }
    .section {
        width: 100vw;
    }

    #pres-screen1 > p {
        display: flex;

    }

    #pres-screen1 > p > img {
        min-width: 30px;
        max-width: 30px;
        margin-right: 15px;

    }

    #pres-blockquote {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: unset;
    }
    .pres-blockquote-cita {
        max-width: unset;
        width: 100%;
        font-size: 1.2rem;
        padding:0;
        margin:0;
        text-align: left;
    }
    .pres-blockquote-portrait > img {
        max-height: 150px;
    }
    .pres-blockquote-portrait > img {
        margin-top: -30px;
    }

    .pres-blockquote-cita-before {
        width: 25px;
        height: 25px;
        margin-bottom: 10px;
    }
    .pres-blockquote-cita-after {
        width: 20px;
        height: 20px;
        margin-top: 20px;;

    }

}