body{
    margin: 0;

    font-size: 18px;
    font-family: 'Instrument Sans';
    line-height: 140%;
    font-style: normal;
    font-weight: 400;
}

p{
    font-weight: 400;
    line-height: 170%;
    max-width: 57ch;
    text-align: center;
    margin: 0;
}

@media(min-width: 840px){
    body{
        font-size: 20px;
    }

    p{
        max-width: 72ch;
    }
}

/* HEADER */
.header{
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;

    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 2;
}

.header__content{
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    padding: 0 24px;
}

.header__logo{
    font-family: 'Instrument Sans';
    font-size: 20px;
    text-decoration: none;
    color: #000;

    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    border-radius: 162px;
    padding: 0 16px;
    height: 44px;

    display: flex;
    align-items: center;
}

.header__btn{
    width: 44px;
    height: 44px;
    border-radius: 48px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    border: none;
    cursor: pointer;

    display: flex;
    flex-direction: column;    
    justify-content: center;  
    align-items: center;       
    gap: 6.5px;

    position: relative;
    z-index: 3;
}

.header__btn span{
    display: block;
    width: 16px;
    height: 1.5px;
    background: #000;

    transition: transform 0.35s ease-in-out;
}

.header__menu{
    display: flex;
    align-items: center; 
    position: absolute;
    right: 24px;
    top: 0; 
    flex-direction: column;
    width: 100%;
      
    pointer-events: none;   /*important pour pas n'avoir de pointer quand pas encore apparu*/
    
    opacity: 0;
    transition: opacity 0.2s ease; 
}

@media(min-width: 1200px){
    .header__menu{
        right: 0;
    }
}

.header__menu--container{
    width: 100%;
    max-width: 1200px; 
    display: flex;
    justify-content: flex-end; 
    padding-top: 70px;
}

.header__card{
    background: #fff;
    border-radius: 24px 8px 24px 24px;
    padding: 50px;
}

.header__list{
    list-style: none;
    padding: 0;
    margin: 0;

    transform: translateX(-20px);
    transition: transform 0.4s ease-in-out;
}

.header__el{
    width: 220px;
    margin-bottom: 24px;
}

.header__el:last-child{
    margin-bottom: 0;
}

.header__el a{
    text-decoration: none;
    color: #000;
    font-family: 'Instrument Sans';
    font-size: 18px;
}

.menu--open .header__menu{
    opacity: 1;
    pointer-events: visible;
}

.menu--open .header__list{
    transform: translateX(0);
}

.menu--open .header__rod:first-child{
    transform: translateY(4px) rotate(45deg);
}

.menu--open .header__rod:last-child{
    transform: translateY(-4px) rotate(-45deg);
}

@media(min-width: 840px){
    .header__el a{
        font-size: 20px;
    }
}

/* FOOTER */
.footer{
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100vh;
    z-index: 0;

    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    padding: 0 24px 0 24px;

    background-color: rgb(23, 23, 23);
    color: white;

    opacity: 0;
    transition: 2.5s ease-out;
}

.footer__btn{
    margin-top: 12px;
}

.footer__bottom{
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    max-width: 1200px;
    margin: auto;

    color: #6E6E6E;
}

@media(min-width: 600px){
    .footer__bottom{
        justify-content: space-between;
    }
}


.footer__svg{
    width: 23px; 
    height: 23px;
    filter: invert(1); 
}

.footer__name{
    font-family: 'Instrument Serif';
    font-size: 16px;
    font-style: italic;
}

.footer__links{
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

.footer__links *{ 
    color: #6E6E6E;
    font-size: 16px;
    padding: 4px 8px;
    white-space: nowrap;
}

.footer__btn:hover{
    background: #2a2a2a;
}

/* Anim */
.load{
    opacity: 0;
    transform: translateY(-20px);
    transition: 0.2s ease-out;
}

.is--loaded{
    opacity: 1;
    transform: translateY(0);
}

.is--visible{
    opacity: 1;
}

/* MAIN */
.content{
    position: relative;
    padding: 0 24px 0 24px;
    min-height: 200vh;
    margin-bottom: 100vh;
    z-index: 1;
    background: #f1e9e9; 

    display: flex;
    position: relative;
    flex-flow: column;
    align-items: center;
}


.title{
    font-family: 'Instrument Serif';
    font-size: 53px;
    line-height: 140%;
    text-align: center;
    font-weight: normal;
    max-width: 21ch;

    margin: 0 0 24px 0;
}

.gris{
    color: #6E6E6E;
}

.italic{
    font-style: italic;
    letter-spacing: -0.03em;
}

.text{
    color: #2a2a2a;
    margin: 0 0 40px 0;
}

.black{
    color: black;
    font-weight: 450;
}

.case{
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-flow: column;
    align-items: center;
    padding-top: 16px;
}

.link{
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 32px;

    text-decoration: none;
    color: #000;

    transition: 0.5s ease-in-out;
}

.link:hover{
    transform: scaleX(90%);
}


@media(min-width: 840px){
    .title{
        font-size: 78px;
    }
}


/* Home Page */
.entry{
    display: flex;
    position: relative;
    flex-flow: column;
    align-items: center;
    overflow: visible;
    
    width: 100%;
    height: min-content;
    padding: 25vh 0 80px;
}

.teach{
    display: flex;
    position: relative;
    flex-flow: column;
    align-items: center;
    overflow: visible;
    
    width: 100%;
    height: min-content;
    padding: 40px 24px 80px;

    background-color: #d5d2d2;
}


.teach__figure{
    width: 100%;
    height: auto;
    max-width: 600px;

    margin: 0;
}

.teach__img{
    border: 5px solid rgba(255, 255, 255, 0.7);
    border-radius: 24px;
    width: 100%;
}

.teach__caption{
    justify-self: right;
}

.teach__link{
    margin-bottom: 24px;
}

.project{
    display: flex;
    position: relative;
    flex-flow: column;
    align-items: center;
  
    width: 100%;
    height: min-content;
}

.project__link{
    width: 100%;
    max-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #000;
}

.project__link p{
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: #fff;
}

.project__btn{
    cursor: pointer;
    
    width: 100%;
    max-width: 300px; 
    gap: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    
    background-color: #000;
    border-radius: 154px;
    border: 4px solid rgba(255, 255, 255, 0.7);
    height: min-content;
    padding: 12px 20px 12px 24px;

    transition: 0.3s ease-in-out;
}

.project__btn:hover{
    background: #6E6E6E;
}

.project__grid{
    padding-top: 40px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.project__card{
    width: 100%;

    text-decoration: none;
    color: #000;
}

.project__image{
    width: 100%;
    aspect-ratio: 16 / 11;
    background-color: #ddd;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.7);

    display: flex;
    align-items: center;
    justify-content: center;
}

.project__image img{
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: 0.35s ease-in-out;
}

.project__card:hover img{
    transform: scale(90%);
}

.project__content{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
}

.project__name{
    margin: 0;
    font-size: 20px;
    font-weight: 500;
}

@media(min-width: 840px){
    .project__name{
        font-size: 24px;
    }

    .project__link p{
        font-size: 27px;
    }
}

.framer{
    display: flex;
    position: relative;
    flex-flow: column;
    align-items: center;
  
    width: 100%;
    height: min-content;
    padding-top: 300px;  /* A faire @ */
    padding-bottom: 300px;
}

.framer__text{
    background: #d5d2d2;
    padding: 24px 48px;
    border-radius: 24px;
    transform: scale(80%);
    opacity: 0.2;
    transition: 2s ease;
}

.framer__text--visible{
    transform: scale(100%);
    opacity: 1;
}

.social{
    display: flex;
    position: relative;
    flex-flow: column;
    align-items: center;
  
    width: 100%;
    height: min-content;

    padding: 80px 0 150px;
}

.social__case{
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-flow: column;
    align-items: center;
    padding-top: 16px;
}

.social__case hr{
    border: 0.5px solid #d5d2d2;
    width: 100%;
    margin: 0;
}

@media(min-width: 840px){
    .project{
        padding: 80px 0;
    }

    .project__grid{
        max-width: 1200px;
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}


/* About page */
.about{
    display: flex;
    position: relative;
    flex-flow: column;
    align-items: center;
    overflow: visible;
    
    width: 100%;
    height: min-content;
    padding: 140px 0 80px;
}

.about__text{
    margin-bottom: 32px;
}

.about__text *{
    text-align: justify;
    margin-bottom: 12px;
}

.about__title{
    width: 100%;
}

.subtitle{
    font-family: 'Instrument Serif';
    font-size: 38px;
    line-height: 140%;
    text-align: center;
    font-weight: normal;
    max-width: 21ch;

    margin: 0 0 12px 0;
}

.about__figure{
    margin-bottom: 48px;
}

.about__video{
    width: 100%;
    margin: 0;
    border-radius: 24px;
    border: 5px solid rgba(255, 255, 255, 0.7);
}

.about__slider{
	width: 100%;
    max-width: 1200px;

    display: flex;
    flex-flow: column;
	align-items: center;
    margin-bottom: 80px;
}

.about__list{
	list-style: none;
	padding: 0;
	margin: 0;
	width: 100%;
	overflow: hidden;
	position: relative;
}

.about__el{
	display: flex;
    flex-flow: column;
	justify-content: center;
	align-items: center;
	width: 100%;
    
	position: absolute;
	top: 0;
	left: 0;
	pointer-events: none;
}

.about__el img{
    display: block;
    max-width: 100%;
    height: auto;
    opacity: 0;
    transition: opacity 0.3s;
    transform: scale(0.5);

    transition: opacity 0.5s, transform 0.7s;
}

.about__el--show{
    position: relative;
	pointer-events: all;
    transform: scale(1);
}

.about__el--show img{
    opacity: 1;
    transform: scale(1);
}

.about__caption{
    display: flex;
    justify-content: right;
    width: 100%;
    max-width: 1200px;
}

.about__btn button{
    cursor: pointer;

	color: #6E6E6E;
    font-family: 'Instrument Sans';
    font-size: 18px;
    padding: 4px 8px;
    border: solid 2px #6E6E6E;
    border-radius: 12px;
    white-space: nowrap;
    transition: ease-in-out 0.2s;
}

.about__btn button:hover{
    background: #ddd;
}

.about__btn{
    list-style: none;
    display: inline;
    align-items: center;
    margin: 5px;
}

.about__control{
    display: flex;
    width: 100%;
    max-width: 600px;
    align-items: center;
	justify-content: space-between;
    padding: 0;
    margin: 0;
}

.about__case hr{
    border: 0.5px solid #d5d2d2;
    width: 100%;
    margin: 0;
}

@media(min-width: 600px){
    .about__text *{
        max-width: 70ch;
    }
}

@media(min-width: 840px){
    .subtitle{
        font-size: 60px;
    }
}
/* Page crtitc */
.header__logo--critic{
    background: #6E6E6E;
    color: #fff;
}

.header__card--critic{
    background: #6E6E6E;
}

.header__el--critic a{
    color: white;
}

.header__btn--critic{
    background: #6E6E6E;
}

.header__btn--critic span{
    background: white;
}

.content--critic{
    background-color: #2a2a2a; 
    min-height: 100vh;
}

.critic{
    display: flex;
    position: relative;
    flex-flow: column;
    align-items: center;
    overflow: visible;
    width: 100%;
    height: min-content;
    padding: 140px 0 80px;

    color: white;
}

.critic__grid{
    width: 100%;
    max-width: 1200px; 
    padding: 0 20px;   
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.critic__info--2, .critic__info--4{
    display: flex;
    justify-content: center;
    width: 100%;
}

.critic__subtitle{
    display: flex;
    justify-content: left;
    width: 100%;
    max-width: 1200px;
    color: white;
}

.critic__text{
    margin-bottom: 32px;
}

.critic__text p{
    width: 100%;
    max-width: 70ch;
    text-align: left;
    margin-bottom: 12px;
}

.footer--critic {
    background-color: #f1e9e9;
    color: black;
}

.critic__img{
    border: none;
    background-color: #6E6E6E;
}

@media(min-width: 840px){
    .critic__grid{
        display: grid;
        grid-template-columns: repeat(7, 1fr); 
        gap: 100px 40px;
        align-items: start;
    }

    .critic__info--1{ 
        grid-column: 1 / 5; 
    }

    .critic__info--2{ 
        grid-column: 5 / 8; 
        align-self: center;
    }

    .critic__info--3{ 
        grid-column: 4 / 8; 
        grid-row: 2; 
    }

    .critic__info--4{ 
        grid-column: 1 / 4; 
        grid-row: 2; 
        align-self: center;
    }

    .critic__info--5{ 
        grid-column: 2 / 7; 
        grid-row: 3;
        text-align: center;
        padding-top: 40px;
    }

    .teach__caption{
        justify-self: left;
    }
}

/* Page PDV */
.header__logo--view{
    font-size: 20px;
    font-family: 'Nunito', sans-serif;
    font-weight: 500;
    background: #000;
    color: #9ABCA7;
}

.header__card--view{
    background: #000;
}

.header__el--view a{
    font-family: 'Nunito', sans-serif;
    font-weight: 500;
    color: #9ABCA7;
}

.header__btn--view{
    background: #000;
}

.header__btn--view span{
    background: #9ABCA7;
}

.content--view{
    background-color: #9ABCA7; 
    min-height: 100vh;
}

.view{
    display: flex;
    position: relative;
    flex-flow: column;
    align-items: center;
    overflow: visible;
    width: 100%;
    height: min-content;
    padding: 140px 0 80px;

    color: black;
}

.view__title{
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
}

.view__subtitle{
    display: flex;
    justify-content: left;
    text-align: left;
    width: 100%;
    max-width: 1200px;

    font-family: 'Supreme', sans-serif;
    font-weight: 500;
    color: black;
}

.view__text{
    margin-bottom: 32px;
}

.view__text p{
    width: 100%;
    max-width: 1200px;
    font-size: 20px;
    font-family: 'Supreme', sans-serif;
    font-weight: 500;
    text-align: left;
    margin-bottom: 12px;
}

.footer--view{
    background-color: #293D31;
    color: white;
}

.footer__title--view{
    font-family: 'Nunito', sans-serif;
}

.footer__btn--view{
    font-family: 'Supreme', sans-serif;
    letter-spacing: 1px;
}

.footer__text--view{
    font-size: 20px;
    font-family: 'Supreme', sans-serif;
    font-weight: 500;
}

.red{
    color: #A3C2AF;
}

@media(min-width: 840px){
    .view__text p{
        font-size: 23px;
    }
}

/* Page Ressource */
.content--source{ 
    min-height: 100vh;
}

.source{
    display: flex;
    position: relative;
    flex-flow: column;
    align-items: center;
    overflow: visible;
    width: 100%;
    height: min-content;
    padding: 140px 0 80px;
}

.source__subtitle{
    display: flex;
    justify-content: left;
    width: 100%;
    max-width: 1200px;
}

.source__text{
    margin-bottom: 32px;
}

.source__list{
    width: 100%;
    max-width: 1200px;
    text-align: left;
    margin-bottom: 12px;
}

.source__el{
    margin-bottom: 12px;
}

.source__el a{
    color: #000;
}

.source__validator{
    margin-bottom: 48px;
}

.source__img{
    border:0;
    width:88px;
    height:31px;
}

.source__credit{
    text-align: center;
}