/* ================= FONT FACES ================= */

@font-face {
    font-family: 'nimbus_sans_lbold';
    src: url('fonts/nimbussans-bol.woff2') format('woff2'),
         url('fonts/nimbussans-bol.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'nimbus_sans_lbold_italic';
    src: url('fonts/nimbussans-bolita.woff2') format('woff2'),
         url('fonts/nimbussans-bolita.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'nimbus_sans_d_otlight';
    src: url('fonts/nimbussans-light.woff2') format('woff2'),
         url('fonts/nimbussans-light.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'nimbus_sans_lregular';
    src: url('fonts/nimbussans-reg.woff2') format('woff2'),
         url('fonts/nimbussans-reg.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'nimbus_sans_lregular_italic';
    src: url('fonts/nimbussans-regita.woff2') format('woff2'),
         url('fonts/nimbussans-regita.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'nimbus_sans_d_otultra_light';
    src: url('fonts/nimbussans-ultralight.woff2') format('woff2'),
         url('fonts/nimbussans-ultralight.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* ================================================ RESET */
* {
    padding: 0;
    margin: 0;
    font-family: 'nimbus_sans_d_otlight';
}

button:focus {
    outline: 0;
}

li {
    list-style: none;
}

a {
    cursor: none;
    color: inherit;
    text-decoration: none;
    display: inline-block;
}

img {
    opacity: 0;
    transition: opacity .3s;
}

button {
    background-color: transparent;
    border: none;
    padding: 0;
    margin: 0;
    font-size: inherit;
}
button:hover {
    text-decoration: none;
    cursor: none;
}

h1 {
    font-size: 1.7rem;
    font-weight: 500;
}

figcaption {
    font-size: .9rem;
    font-weight: 100;
    text-align: left;
    padding-top: .2rem;
    margin-top: .2rem;
}

.o-options {
    display: flex;
    justify-content: space-between;
    margin: 4.6rem 0 1rem 0;
}

.m-options__toggleViewBtn {
    display: flex;
    justify-content: space-between;
    margin-right: 2vw;
}

.a-options__toggleView {
    margin-left: 1rem;
    text-transform: capitalize;
    border-bottom: 1px solid rgba(0, 0, 0, 0);
    transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
}

.a-options__toggleView:hover {
    border-bottom: 1px solid rgba(0, 0, 0, 1);
}

.a-filters__item {
    border-bottom: 1px solid rgba(0, 0, 0, 0);
    background-color: transparent;
    font-size: 1rem;
    display: inline-block;
    margin-right: 1rem;

    font-family: 'nimbus_sans_d_otlight';
    font-weight: 100;
    text-transform: capitalize;

    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -o-transition: all .3s ease;
}

.a-filters__item:hover {
    border-bottom: 1px solid rgba(0, 0, 0, 1);
}

.a-filters__item:focus {
    border-bottom: 1px solid #000;
}

#main {
    height: auto;
    /* overflow: scroll; */
    position: relative;
    z-index: 4;
    background-color: #fff;
    margin: 0 5% 0 5%;
}

/* ================================================ MODIFICATEURS GÉNÉRAUX */

.hide {
    opacity: 0 !important;
}

.display-none {
    display: none !important;
}

.show {
    opacity: 1 !important;
}

figure {
    opacity: 0;
    transition: all .3s;
}

.active {
    border-bottom: 1px solid #000;
    transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
}

/* ================================================ HEADER DESK & FOOTER DESK */
.header {
    top: 0;
    position: -webkit-sticky;
    position: fixed;
    z-index: 5;
    transition: all .5s;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 4.4rem;
    background-color: #fff;
    transition: all .5s;
}

.about {
  width: 100%;
  height: 0vh;
  overflow: auto;
  position: fixed;
  z-index: 5;
  background-color: #FFF;
  transition: all 1s ease-in-out;
  transform: translateY(-5px);
}

.about__contact {
    margin-bottom: 4rem;
}

.about__section {
    display: flex;
}
.about__section:last-child {
    margin-bottom: 8rem;
}

.about__section-paragraphe {
    margin: 0 0 4rem 8rem;
    width: 45%;
}

.about__link {
    text-decoration: underline;
}

.header {
    padding: 0 2vw 0 2vw;
    width: 96vw;
}

.header__container {
    width: 100%;
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.header__title h1,
.header__title span {
  transition: all .8s ease-in-out;
  font-weight: 300 !important;
}

.header__title-part {
  color: #000;
  max-width: 1rem;
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  transition: all .8s ease-in-out;
}

.header__title-transition {
  transition: all .8s ease-in-out;
  color: #000;
}

.header__title-part--deploy {
  max-width: 10rem !important;
}

#header__pages h1,
.header--burger__menu h1 {
    font-size: 1.1rem;
    margin-left: 2rem;
}

.header--burger {
    display: none;
}

#blank-bottom {
    height: 70.4px;
    position: relative;
    background-color: #fff;
    z-index: 4;
}

#blank-top {
    display: none;
    background-color: #fff;
    z-index: 4;
    height: 70.4px;
}

/* ================= FOOTER DESK ================= */
footer {
    margin: 0 2vw 0 2vw;
    width: 100;
    padding-bottom: 2rem;
}

.footer {
    display: flex;
    width: 100%;
    justify-content: left;
}
.footer p {
    font-size: .9rem !important;
    line-height: 1.3rem;
}

.projet__footer {
    position: relative;
    margin: 0;
}

.footer__line {
    margin: 3rem 0 2rem 0;
}

.footer__block {
    width: 20%;
}

.footer__contact-account {
    border-bottom: 1px solid #000;
}

/* ================================================ CURSOR */

.cursorContainer {
  pointer-events: none;

  width: 4rem;
  height: 4rem;

  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;

  display: none;
  justify-content: center;
  align-items: center;
}

.cursor__firstBar {
  position: absolute;
  width: 1.5rem;
  height: 4px;
  background-color: #000;
  display: inline-block;
  transition: all .3s;
}

.cursor__secondBar {
  background-color: #000;
  width: 1.5rem;
  height: 4px;

  position: absolute;

  display: inline-block;
  transform: rotate(90deg);
  transition: all .3s;
}

/* ================================================ PARALLAX */

/* .parallax-window {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#img-en-tete {
    width: 300px;
    position: fixed;
    z-index: 1;
}

#titre-en-tete {
    position: fixed;
    z-index: 1;
    text-align: center;
} */

.m-parallax {
    width: 100%;
    height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 3.7rem;
}

.a-parallax__image {
    width: 100%;
}

/* ================================================ LINE */
.line {
    display: flex;
    justify-content: space-between;
    margin: 0 2% 0 2%;
}

.line__container {
    width: 30%;
    min-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 1s;
}

.line:first-child.line__container:first-child {
    margin-top: 0;
}



.wrapper h1 {
    font-weight: 700;
}

.line__container--reveal {
    opacity: 1; 
    transform: translateY(-3%) scale(1.02);
}

.line__container--reveal-visible {
    opacity: 1;
    transform: translateY(0);
    transition: all .8s;
}

.line__container--reveal-invisible {
    opacity: 0;
    transform: translateY(3%);
    transition: all .8s;
}

.line__container img {
    display: block;
    width: 100%;
    transition: all 1s;
}

.wrapper {
    overflow: hidden;
}

#plus {
    opacity: 0;
}

/* ================================================ LIGHTBOX */
#fond-back,
#fond,
#fond-next,
#fond-prev {
    -webkit-animation: apparition .3s;
            animation: apparition .3s;
    transition: all .3s;
    position: fixed;
    display: flex;
    background-color: white;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}

#fond-back,
#fond-prev,
#fond-next,
#fond,
#close {
    z-index: 5;
}

#fond {
    cursor: url('/rythme/assets/png/moins.png'), pointer;
    opacity: 1;
}

#fond-prev {
    opacity: 0;
}

#fond-next {
    opacity: 0;
}

#btn-nav-next {
    cursor: url(/rythme/assets/png/next.png), pointer;
}

#btn-nav-prev {
    cursor: url(/rythme/assets/png/prev.png), pointer;
}

#lightbox-nav-container {
    position: fixed;
    height: 100%;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, auto);
}

.line__container h1,
.line__container p {
    font-weight: 100;
}

.line__container h1 {
    font-size: .875rem;
}

.line__container p {
    font-size: .6rem;
}

.line__container h3,
.line__container h2 {
    -webkit-animation: apparition .3s;
            animation: apparition .3s;
    -webkit-animation-delay: .5s;
            animation-delay: .5s;
}

.imgLight,
#imgLight {
    -webkit-animation: zoom .5s;
            animation: zoom .5s;
    top: 0px;
    margin: auto;
    height: 90%;
    transition: .3s;
    opacity: 1;
}

#close {
    width: 10rem;
    height: 10rem;
    position: fixed;
    top: 0;
    right: 30px;
    background: url('/rythme/assets/svg/croix.svg') center center / 3rem 3rem no-repeat;
    cursor: pointer;
}

/* ================= ACCUEIL B+D HOME B+D ================= */

.o-list,
.o-list--mobile,
.o-grid {
    margin-top: 3rem !important;
}
.o-list--mobile {
    display: none;
}

.o-list {
    max-width: 1385px;
}

.m-list__project {
    height: 2.1rem;
    overflow: hidden;

    margin-bottom: 1rem;
    
    border-bottom: 1px solid rgba(0, 0, 0, 0);

    transition: border .3s ease, height .8s ease;
    -webkit-transition: border .3s ease, height .8s ease;
    -moz-transition: border .3s ease, height .8s ease;
    -o-transition: border .3s ease, height .8s ease;
}

.m-list__project:hover {
    border-bottom: 1px solid rgba(0, 0, 0, 1);
}

.m-list__project-summary {
    box-sizing: border-box;
    display: inline-grid;
    grid-template-columns: 2fr 1fr 2fr 2fr 1fr;
    width: 100%;
}

.m-list__project-summary p {
    font-size: .9rem !important;
}

.m-list__project-preview {
    display: flex;
    justify-content: space-between;  

    padding: 2rem 0 2rem 0;
}

.m-list__project-details-program {
    width: 30%;
}

.a-list__project-details-program-text {
    width: 100% !important;
}

.a-list__project-details-program-link {
    width: 100% !important;
}

.a-list__project-details-program-link a {
    text-decoration: underline;
}

.m-list__project-preview img {
    width: 30%;
    height: intrinsic;
}

/* ================================================ PROJET B+D IRREGULIER BD */
.m-recap__header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.a-recap__header-title {
    font-size: 5rem !important;
    margin: .5rem 0 4rem 0;
}

.m-recap__header-infos {
    display: flex;
    justify-content: center;

    margin: 2rem 0 2rem 0;
}

.a-recap__header-item {
    display: inline;
    text-transform: uppercase;
    font-weight: 300;
    font-size: .8rem !important;
}

.a-recap__header-item:nth-child(2) {
    margin: 0 1rem 0 1rem;
}

.m-recap__details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.a-recap__details-description {
    flex-basis: 35%;
}

.m-recap__details-list {
    flex-basis: 45%;
}

.m-recap__details-list__line {
    display: flex;
    justify-content: space-between;
}

.m-recap__details-list p {
    font-size: .9rem !important;
}

.m-recap__details-list__line-itemValue {
    width: 70%;
}

.closeProject {
    display: none;
    position: fixed;
    width: 100%;
    height: 4rem;
    background-color: #fff;
    bottom: 0;
    left: 0;
    z-index: 1;
    text-decoration: underline;
    transition: bottom 2s ease;
    -webkit-transition: bottom .5s ease;
    -moz-transition: bottom .5s ease;
    -o-transition: bottom .5s ease;
    font-size: 1.5rem;
    font-weight: 300;
}

/* ================================================RÉGULIER */

.m-grid__block {
    position: relative;
    height: fit-content;
    height: -moz-fit-content;
    height: -o-fit-content;
    height: -webkit-fit-content;
    transition: all .5s ease-in-out;
}

.m-grid__block-hoverCaptionContainer {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #fff;
    opacity: 0;

    font-size: 1.7rem;
    transition: all .3s;
}

.a-grid__block-hoverCaption {
    width: 100%;
    margin: .5rem 0 0 .5rem;
    pointer-events: none;
}

.a-grid__block-mobileCaption {
    margin: .5rem 0 0 .5rem;
    font-weight: 300;
    display: none;
}

.o-grid--col-1 {
    grid-template-columns: repeat(1, 1fr);
}

.o-grid--col-2 {
    grid-template-columns: repeat(2, 1fr);
}

.o-grid--col-3 {
    grid-template-columns: repeat(3, 1fr);
}

.o-grid--col-4 {
    grid-template-columns: repeat(4, 1fr);
}

.o-grid--col-5 {
    grid-template-columns: repeat(5, 1fr);
}

.o-grid--col-6 {
    grid-template-columns: repeat(6, 1fr);
}

.o-grid--col-7 {
    grid-template-columns: repeat(7, 1fr);
}

.o-grid--col-8 {
    grid-template-columns: repeat(8, 1fr);
}

.o-grid--gap-0 {
    grid-gap: 0rem 0rem;
}

.o-grid--gap-1 {
    grid-gap: 1rem 1rem;
}

.o-grid--gap-2 {
    grid-gap: 2rem 2rem;
}

.o-grid--gap-3 {
    grid-gap: 3rem 3rem;
}

.o-grid--gap-4 {
    grid-gap: 4rem 4rem;
}

.o-grid--gap-5 {
    grid-gap: 5rem 5rem;
}

.o-grid {
    margin: 0 2vw 0 2vw;
    display: grid;
    transition: all .3s;
}

.a-grid__block-image {
    width: 100%;
    display: block;
    transition: all 1s;
}

.a-grid__block {
    overflow: hidden;
}

.m-grid__block-imageContainer {
    display: block;
    overflow: hidden;
}

.click-img {
    cursor: url(/rythme/assets/png/plus.png), pointer;
    overflow: hidden;
}

/* ================================================ PAGE BLOC / PAGE PROJET */

.main__text {
  width: 45%;
}

#main p {
  margin: 0 0 1rem 0;
}

.main__gallery img {
  width: 100%;
}

.main__gallery img {
  margin: 2rem 0 2rem 0;
}


/* ================================================ SPLASH SCREEN */
.splash-anim {
    -webkit-animation: apparition 2s;
            animation: apparition 2s;
    -webkit-animation: slideup .5s;
            animation: slideup .5s;
    transition: all 1s;
    opacity: 1;
}

.splash-fond {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    background-color: white;
    opacity: 1;
    display: flex;
    z-index: 3;
    justify-content: center;
    align-items: center;
    transition: all 1s;
    z-index: 5;
}

.splash-fond h1 {
    font-size: 3rem;
}

.splash-fond-contenu img {
    width: 300px;
    z-index: 6;
    transition: all .3s;
}

.splash-fond-contenu {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    opacity: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    z-index: 6;
}

#splash-bg-img {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    opacity: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    -webkit-animation: zoomslow 20s;
            animation: zoomslow 20s;
    -webkit-animation: apparition .5s;
            animation: apparition .5s;
    background-size: cover;
    transition: all .5s;
}

/* PAGE PROJET */

.projectContainer{
  opacity: 0;
  transition: all .5s;
}

.projectBackground {
  position: fixed;
  overflow: hidden;
  background-color: #FFF;
  top: 100vh;
  bottom: 0vh;
  left: 0;
  right: 0;
  transition: all 1s ease-in-out;
}

/* ================================================ KEYFRAMES */

@-webkit-keyframes apparition {
    from {
        opacity: 0;
    }

    to {
        opacity: 1
    }
}

@keyframes apparition {
    from {
        opacity: 0;
    }

    to {
        opacity: 1
    }
}

@-webkit-keyframes zoom {
    from {
        height: 88%;
    }

    to {
        height: 90%;
    }
}

@keyframes zoom {
    from {
        height: 88%;
    }

    to {
        height: 90%;
    }
}

@-webkit-keyframes slideup {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes slideup {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@-webkit-keyframes zoomslow {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.2)
    }
}

@keyframes zoomslow {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.2)
    }
}

/* ================================================ MEDIA QUERIES */

/* Au-dessus de 13" */
@media screen and (min-width: 1385px) {
    .o-list {
        margin: auto !important;
    }
}

/* Mobile */
@media screen and (max-width: 800px) {

    .cursorContainer {
        visibility: hidden;
    }

    /* ================================================ MENU MOB */
    #blank-top {
        display: block;
    }

    .header__title-part {
        max-width: .7rem;
    }

    .is-open {
        background-color: transparent !important;
    }

    .is-open::before {
        transform: translateY(0) rotate(45deg) !important;
    }

    .is-open::after {
        transform: translateY(0) rotate(-45deg) !important;
    }

    .header__container {
        justify-content: center;
    }

    .line {
        margin: 2% 2% 2% 2%;
    }

    .o-options {
        flex-direction: column-reverse;
        align-items: center;
    }
    .a-options__toggleView {
        font-weight: 400;
        font-size: 1.25rem;
    }
    .a-options__toggleView:first-child {
        margin-left: 0;
    }
    .m-filters {
        text-align: center;
    }
    .m-options__toggleViewBtn {
        margin: 0 0 1rem 0;
    }

    .a-filters__item {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    /* ================================================  RÉGULIER MOBILE */

    .o-grid,
    .o-list {
        margin: 0 5vw 0 5vw;
    }

    .m-grid__block {
        /* overflow: hidden; */
        margin-bottom: 2rem;
        display: block;
    }

    .a-grid__block-mobileCaption {
        display: none;
    }

    .m-list__project {
        height: 7.5rem;
        border-bottom: 1px solid rgb(0, 0, 0);
    }

    /* ================================================ IRRÉGULIER */
    .line__container {
        width: 100%;
        margin: 2% 0 2% 0;
        min-height: 0;
    }


    /* ================= PAGE BLOC / PAGE PROJET ================= */
    .main__text {
      width: 100%;
    }

    .a-recap__header-title {
        font-size: 2.5rem !important;
    }

    /* ================= ACCUEIL B+D ================= */

    #header__secondpart {
        display: none;
    }

    /* ================= PAGE PROJET B+D ================= */

    .a-parallax__image {
        width: auto;
        height: 100%;
    }

    .m-recap__details {
        flex-direction: column;
    }

    .closeProject {
        display: block;
    }

    .line {
        display: block;
    }

    .line__container {
        width: 90% !important;
        padding-bottom: 4rem;
        margin: auto !important;
    }

    /* ================= MOB VUE LISTE ================= */
    .o-list {
        display: none;
    }
    .o-list--mobile {
        display: block;
    }
    
    .m-list__project-summary--mobile {
        display: flex;
        justify-content: space-between;
    }
    
    .m-list__project-preview {
        flex-direction: column-reverse;
    }

    .m-list__project-details-program,
    .m-list__project-preview img {
        width: 100% !important;
    }

    .m-list__project-preview img {
        margin-bottom: 2rem;
    }

    /* ================= MOB FOOTER ================= */
    footer {
        margin: 0 5vw 0 5vw;
    }

    .footer__line {
        margin: 3rem 0 2rem 0;
    }

    .projet__footer {
        position: relative;
        margin: 0 0 4rem 0;
    }

    .footer {
        display: block;
    }

    .footer__block {
        width: 100%;
    }

    .footer__adress {
        margin-top: 2rem;
    }

    .footer__block p {
        margin-bottom: 0 !important;
    }
}
