@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Merriweather+Sans:wght@700&display=swap');
@font-face{
    font-family : "PixelatedPusab";
    src: url("./font/PixelatedPusab.ttf");

    font-family : "DTM-Mono";
    src: url("./font/DTM-Mono.otf");

    font-family: "DTM-Sans";
    src: url("./font/DTM-Sans.otf");
}
html{
    scroll-behavior: smooth;
}
:root {
    --white: #FFFFFF;
    --blue: #9EC0FF;
    --red: #FF9E9E; 
    --black: #0c090f;
    --txt: #494E5F;
    --purple: #180a24;
    --silver: #969cc1
}
body{
    margin: 0;
    width: 100vw;
    background-color: (var(--purple));
    /*background-color: var(--black);*/
}
ul{
    list-style: none;
}


/* mobile first */
.fren{
    z-index: 9999;

    position:absolute;
    left: 0;
    margin: 10px;
    background-image: url(img/fren.jpg);
    background-position: center;
    background-size: cover;
    width: 37px;
    height: 25px;
    font-size: 1.5rem;
    background-repeat: no-repeat;
    color: #FF9E9E;
    font-family: 'Lato', sans-serif;
}
/*header*/

.header{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items:center;
    justify-content: space-between;
    min-height: 100vh;
    width: 100%;
}

.parallaxContainer{
    position: relative;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    height: 100vh;
    z-index: -1;
}
.imgFond{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit:cover;
}

.header__front{
    z-index: 999;
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items:center;
    width: 100%;
    height: 100%;
}
.header__front__menu{
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items:center;
    justify-content: center;
    
    width: 100%;
    height: auto;
}
.header__front__menu__box{
    aspect-ratio: 300 / 356;
    background-image: url(img/dialogue_box_mobile.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 65vw;
    display: flex;
    flex-direction: column;  
    align-items: center;
    margin: 3vh;
    /*margin-top: 15vh;*/
}
.header__pre{
    height: 12%;
}
.header__p{
    width: 75%;
    height: 76%;
    font-family: 'DTM-Sans', sans-serif;
    color: aliceblue;
    text-align: justify;
    font-size: larger;
    font-size:3vw ;
    letter-spacing: .2em;
    line-height: 1.2;
    padding: 0 .5em 0 .5em;
}
.header__post{
    height: 12%;
}

.header__front__menu__linksbar{
    display: flex;
    flex-direction: column;
    width: 60vw;
    justify-content: space-between;
    align-items: center;
}
.mailbox{
    aspect-ratio: 220 / 90;
    background-image: url(img/mailicone.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 50vw;
    margin: 5px 0;
}
.linkedinbox{
    aspect-ratio: 220 / 90;
    background-image: url(img/linkedinicone.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 50vw;
    margin: 5px 0;
}
.cvbox{
    aspect-ratio: 220 / 90;
    background-image: url(img/cvicone.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 50vw;
    margin: 5px 0;
}
.twitterbox{
    aspect-ratio: 220 / 90;
    background-image: url(img/twittericone.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 50vw;
    margin: 5px 0;
}

/* arrow  */
.arrowdwn{
    z-index: 0;
    padding: 10px;
    animation: 1s ease-out infinite alternate rise; 
    position: absolute;
    top: 90%;
}
@keyframes rise {
    from {
        transform: translateY(0);
        transform: scale(0.8);
    }
  
    to {
        transform: translateY(-2vh);
        
        
    }
}
.da{
    display: flex;
    justify-content: center;
}

/*  main  */
main{
    padding-top: 80px;
    position: absolute;
    top: 99.9%;
    background-color: var(--purple) ;
}

/*  study  */
.studypath, .prod{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 2em 0;
}
.studypath__h2, .prod__h2{
    color: var(--white);
    font-family: 'DTM-Sans', sans-serif;
    text-align: center;
    font-size: 1.3em;
    padding: .3em 0em;
    border-top: solid 10px var(--silver);
    border-right: solid 10px var(--white);    
    border-bottom: solid 10px var(--silver);    
    border-left: solid 10px var(--white);    
    background-color: var(--black);
    min-width: 80%;
}
.prod__h3{
    margin-top: 50px;
    color: var(--white);
    font-family: 'DTM-Sans', sans-serif;
    text-align: center;
    font-size: 1em;
    padding: .3em 0em;
    border-top: solid 5px var(--silver);
    border-right: solid 5px var(--white);    
    border-bottom: solid 5px var(--silver);    
    border-left: solid 5px var(--white);    
    background-color: var(--black);
    min-width: 40%;
}
.studies{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
}
.study{
    font-family: 'Lato';
    display: flex;
    flex-direction: column;
    background-color: aliceblue;

    width: 100%;
    margin: 2em 0 0 0;
    padding: .7em 0;
    font-size: .9em;

    box-shadow: 0px 6px 5px 0px rgba(12, 17, 36, 0.3);
}
.study__title{
    color: var(--black);
    font-weight: bold;
    padding: 0 5px;
}
.study__est{
    color: var(--txt);
    font-style: italic;
    margin: 5px 0;
    padding: 0 5px;
}

/*  productions  */
.prod__container{
    display: flex;

}
.productions{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    flex-wrap: wrap;

}
.production{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: aliceblue;
    cursor: pointer;
    padding: 0.8em;
    margin: 2em 0 0 0;
    box-shadow: 0px 6px 5px 0px rgba(12, 17, 36, 0.3);
}
.titleandimg{
    display: flex;
    flex-direction: column;

}
p.title{
    color: var(--black);;
    font-family: 'Merriweather Sans', sans-serif;
    font-weight: bold;
    font-size: 1.3em;
    text-align: center;
    width: 40vw;
}
.img, .blur-load{
    width: 40vw;
    margin: .7em 0em;
}
.blur-load{
    background-size: cover;
}
.blur-load.loaded > img{
    opacity: 1;
}
.blur-load > img{
    opacity: 0;
    transition: opacity 200ms ease-in-out;
}
.desc{
    color: var(--txt);
    font-family: 'Lato', sans-serif;
    font-size: 1em;
    text-align: justify;
    width: 40vw;


}

.prodlink {
    color: #b945d6;
    font-weight: bold;
    transition: color 0.1s ease-out;
}

.prodlink:hover {
    color: #3cb9b9;
}

/*domaines*/

.bodycoldom{
    display: flex;
    flex-direction:column;
    align-items: center;
    margin-bottom: 30px;
}

/*footer*/
footer{

    display: flex;
    flex-direction: column;

    padding-top: 30px;
    padding-bottom: 30px;
}
.arrowup{
    display: flex;
    justify-content: center;
}







@media (min-width: 768px) {  /*                    --------------- VERSION TABLET ---------------                      */

.fren{
    z-index: 9999;

    position:absolute;
    left: 0;
    margin: 10px;
    background-image: url(img/fren.jpg);
    background-position: center;
    background-size: cover;
    width: 75px;
    height: 50px;
    font-size: 1.5rem;
    background-repeat: no-repeat;
    color: #FF9E9E;
    font-family: 'Lato', sans-serif;
}


.header{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items:center;
    justify-content: space-between;
    min-height: 100vh;
    width: 100%;
}

.parallaxContainer{
    position: relative;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    height: 100vh;
    z-index: -1;
}
/* .imgFond n'est pas present ici car pas besoin d'etre chgange*/
.header__front{
    z-index: 999;
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items:center;
    width: 100%;
    height: 100%;
}
.header__front__menu{
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items:center;
    justify-content: center;
    
    width: 100%;
    height: auto;
}
.header__front__menu__box{
    aspect-ratio: 1084 / 326;
    background-image: url(img/dialogue_box.gif);
    background-size: contain;
    background-repeat: no-repeat;
    width: 65vw;
    display: flex;    
    flex-direction: row;  
    align-items: center;
    margin: 3vh;
    /*margin-top: 15vh;*/
}

.header__pre{
    width: 26%;
    height: 0%;
}
.header__p{
    width: 70%;
    height: 50%;
    font-family: 'DTM-Sans', sans-serif;
    color: aliceblue;
    text-align: justify;
    font-size: larger;
    font-size:1.2vw ;
    letter-spacing: .2em;
    line-height: 1.2;
    padding: 4.5% .5em 0 .5em;
}
.header__post{
    width: 4%;
    height: 0%;

}

.header__front__menu__linksbar{
    display: flex;
    flex-direction: row;

    width: 60vw;
    justify-content: space-between;
}
.mailbox{
    aspect-ratio: 220 / 90;
    background-image: url(img/mailicone.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 13vw;
}
.linkedinbox{
    aspect-ratio: 220 / 90;
    background-image: url(img/linkedinicone.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 13vw;
}
.cvbox{
    aspect-ratio: 220 / 90;
    background-image: url(img/cvicone.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 13vw;
}
.twitterbox{
    aspect-ratio: 220 / 90;
    background-image: url(img/twittericone.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 13vw;
}

/* arrow  */
.arrowdwn{
    z-index: 0;
    padding: 10px;
    animation: 1s ease-out infinite alternate rise; 
    position: absolute;
    top: 90%;
}
@keyframes rise {
    from {
        transform: translateY(0);
        transform: scale(1.2);
    }
  
    to {
        transform: translateY(-3vh);
        
        
    }
}
.da{
    display: flex;
    justify-content: center;
}


/*header*/
.header__pres{
    display: flex;
    flex-direction: column;
    align-items: center;
    
    margin: 3em;
    padding: 1.7em 0;
    border-top: solid 10px #FCAE38;
    border-right: solid 10px #FFDB96;    
    border-bottom: solid 10px #FCAE38;    
    border-left: solid 10px #FFDB96;    
    width: 50%;
}
.header__h1{
    font-size: 2.5em;
    margin-bottom: 0.75em;
}


/*  fields  */
.header__fields__ul{

    width: calc(250px * 18);
    animation: scroll 35s linear infinite;
}
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
  
    100% {
        transform: translateX(calc(-250px * 9));
    }
}

/*  links  */
.header__links{
    margin: 3em;
    padding: 1.5em 0;
    border-top: solid 10px #FCAE38;     
    border-right: solid 10px #FFDB96;    
    border-bottom: solid 10px #FCAE38;
    border-left: solid 10px #FFDB96;
    width: 50%;
}

/* arrow down */
.arrowdwn{
    margin-bottom: 1em;
    padding: 10px;
}

/*  study  */
.prod, .studypath{
    margin: 5em 0;
}
.studypath__h2, .prod__h2{
    padding: 1em 0;

    min-width: 0%;
    width: 40%;
    font-size: 2em;
}
.prod__h3{
    padding: 1em 0;

    min-width: 0%;
    width: 20%;
    font-size: 2em;
    border-top: solid 5px var(--silver);
    border-right: solid 5px var(--white);    
    border-bottom: solid 5px var(--silver);    
    border-left: solid 5px var(--white);    
    font-size: 1.3em;
}
.study{
   margin-top: 3em;
   padding: 1em;
}
.study__title{
    color: var(--black);
    font-size: 1em;
    font-weight: bold;
}
.study__est{
    color: var(--txt);
    font-size: 1.1em;
    font-style: italic;
    margin: 5px 0;
}

/*  productions  */
.productions{
    margin : 3em 4em 0 4em
}
.production{
    margin: 0 0 2.5em 0;
    padding: 1em;
}

p.title{
    width: 18vw;
}
.img, .blur-load{
    max-width: 18vw;
    max-height: 28vh;
    object-fit: contain;
    
    margin: 1em 0em;
}
.desc{
    width: 18vw;
    font-size: 1em;
}
}
.production:hover{
    transform: scale(1.7);
    transition: .3s;

}




@media (min-width: 1024px) {  /*                    --------------- VERSION PC ---------------                      */



.imgFond{

    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit:fill;
    
}


}