@font-face {
    font-family: "futura_m";
    src: url(font/Futura-Med.woff) format("woff");
}

@font-face {
    font-family: "futura_r";
    src: url(font/Futura-Boo.woff) format("woff");
}

/*
@font-face {
    font-family: "futura_b";
    src: url(font/Futura-Bol.woff) format("woff");
}
*/

html{
    -webkit-scroll-snap-type: y proximity;
    -ms-scroll-snap-type: y proximity;
    scroll-snap-type: y proximity;
    overflow-x: hidden
}

body::-webkit-scrollbar {
    display: none;
}
body{
    scroll-behavior: smooth;
    margin: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background-color: rgb(28, 28, 28);
    font-family: 'futura_r','Helvetica Neue','Helvetica','Arial','Avenir','Hiragino Sans', 'Yu Gothic', YuGothic Meiryo,'MS PGothic', sans-serif;
     -ms-overflow-style: none;
/*    background-color: red;*/
}
section{
    min-height: 50vh;
/*    width:100vw;*/
/*    width:100%;*/
    scroll-snap-align: start;
    
    
/*    background-image: url(background_picture_n1.jpg);*/
    background-attachment: fixed;
    background-origin: border-box;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-blend-mode: normal;
   margin: 0;
    padding: 0;
}


section:first-of-type{
    background-image: url(photos/SVG_wave.svg), url(photos/4-min.jpg);
     background-attachment:  scroll, fixed;
    background-position: bottom, center; /*100vh-height(15vh)*/
    background-size: 100vw 15vh, cover;
  height:100vh;
    background-repeat: no-repeat;
}
#section_trois{
    background-image: url(photos/SVG_triangle1.svg),url(photos/SVG_triangle2.svg),url(photos/5-1-min.jpg);
     background-attachment:  scroll,scroll, fixed;
    background-position: top,bottom, center var(--pixelparalax); /*100vh-height(15vh)*/
    background-size: 100vw 15vh,100vw 35vh, cover;
  min-height:100vh;
    background-repeat: no-repeat;
}

section:first-of-type h1{
    font-family: 'futura_m';
    color:white;
    line-height: 1;
    letter-spacing: 0.08em;
    font-size-adjust: auto;
    font-size: 5em;
        text-shadow: -1px 0px 20px black;
    -webkit-animation-name: letterspacing;
    animation-name: letterspacing;
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;  
}



section:first-of-type a.h2{
    font-family: 'futura_r';
    color:lightgray;
    line-height: 1;
    letter-spacing: 0.05em;
    font-size-adjust: auto;
    font-size: 2em;
        text-shadow: -1px 0px 10px black;
    -webkit-animation-name: opacityanim;
    animation-name: opacityanim;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;  
    text-decoration: none;
       
        padding-top: 1.5em;
}

@media screen and (min-width:500px){
    section:first-of-type h1, section:first-of-type a.h2{
    margin-left:15vw;
    }
}
@media screen and (max-width:500px){
    section:first-of-type h1, section:first-of-type a.h2{
  margin-left: auto;
        margin-right: auto;
    }
}


@-webkit-keyframes letterspacing {
  from {letter-spacing: 0em;}
  to {letter-spacing: 0.08em;}
}
@keyframes letterspacing {
  from {letter-spacing: 0em;}
  to {letter-spacing: 0.08em;}
}

@-webkit-keyframes opacityanim {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes opacityanim {
  from {opacity: 0;}
  to {opacity: 1;}
}

.flex{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    
}

@media screen and (min-width:500px){
    .flexondesktop{
            display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    }
}


.flex.vcenter{
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}
.flex.hcenter{
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.flexdirectioncolumn{
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

.flexdirectionrow{
 
    -webkit-box-orient: horizontal;
 
    -webkit-box-direction: normal;
 
    -webkit-flex-direction: row;
 
    -ms-flex-direction: row;
 
    flex-direction: row;
}
.centpourcentheightvh{
    min-height: 100vh;
}
.centpourcentwidthvw{
    width: 100vw;
}

.absolute{position: absolute;}
@media screen and (max-width:450px){
.ajustonmobile{
    -webkit-transform: translateY(-10vh);
    -ms-transform: translateY(-10vh);
    transform: translateY(-10vh);
    }}
@media screen and (max-width:350px){
.ajustonmobile{
    -webkit-transform: translateY(-15vh);
    -ms-transform: translateY(-15vh);
    transform: translateY(-15vh);
    }}

.content h2{
    padding-top: 5vh;
    padding-left: 5vw;
    font-family: 'futura_m';
    color:lightgray;
    line-height: 1;
    letter-spacing: 0em;
    font-size-adjust: auto;
    font-size: 3em;
        text-shadow: -1px 0px 20px black;
    -webkit-animation-name: opacityanim;
    animation-name: opacityanim;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;  
}

.firstletter{
   color: hsla(130, 25%, 40%, 1);
}

.pictureofme{
    max-width: 500px;
     max-height: 500px;
    width: 25vh;
    height: 25vh;
    border-radius: 5px;
    margin-left: 2.5vw;
    -webkit-transform: translateY(var(--pixelparalax));
    -ms-transform: translateY(var(--pixelparalax));
    transform: translateY(var(--pixelparalax));
}

.slideconteneur{
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap
}


a{color:gray}
.textaboutme {
    margin: 1.5vw;color:gray;font-family: futura_r; font-size: 1.2em; text-align: justify
}

.textnameaboutme {
    margin-left: 1.5vw;color:whitesmoke;font-family: futura_r; font-size: 2em
}

.portfoliocreationname{
    margin-left: 1.5vw;color:whitesmoke;font-family: futura_r; font-size: 1.5em
}

@media screen and (max-width:500px){
    .ONMOBILE {
        display: block;   
    }
    .ONDESCKTOP{
        display: none; 
    }
}
@media screen and (min-width:500px){
    .ONMOBILE {
        display: none;    
    }
     .ONDESCKTOP{
        display: block; 
    }
}

     .animation[data-scrollanim="opacityanimation"] {
             opacity: 0;
        }

 [data-scrollanim]:not([data-scrollanim=backgroundparalax]) {
            /*            Gestion de la durée des animations 3s = 3 secondes*/
            -webkit-transition: opacity 2s;
            -o-transition: opacity 2s;
            transition: opacity 2s;
     
        }

.embedresize {
max-width: 560px;
margin: auto;
}

.embedresize div {
position: relative;
height: 0; 
padding-bottom: 56.25%;
}

.embedresize iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

.intro #intro .embedresize iframe,
.exit .quizz .embedresize iframe,
.alreadyplayed #intro .embedresize iframe,
.identityset #intro .embedresize iframe,
#notabene .embedresize iframe,
#message_intro .embedresize iframe,
.fancybox_body .embedresize iframe,
#comments .embedresize iframe,
#description .embedresize iframe,
.alreadyplayed .embedresize iframe,
#adserver .embedresize iframe {
max-width: none !important;
}


.portfolioindication {

    margin: 1.5vw;color:gray;font-family: futura_r; font-size: 1.2em; margin-left: 4vw;

}

.sizereduct {
    font-size: 0.9em!important;
}

.portfoliocreationname::before {
    content: "•"}

  #textrecoliste{
        background-color: rgba(28,28,28,0.9); padding: 5vw;text-align: justify;
    }

#textrecoliste form{
    width:100%;
    height: 100%;
        margin-top: 40px;
}
#textrecoliste form button{
    width: 35%;height:35px; background-color: rgba(28,28,28,0.5); border: 1px solid gray; color:white;
}

@media screen and (max-width:600px){
    #PHOTO_RECOLISTE {
        margin-left: auto;
        margin-right: auto;
    height: auto;width:80vw;
        -webkit-filter: drop-shadow(1px 1px 20px black);
        filter: drop-shadow(1px 1px 20px black);
        -webkit-transform: translateX(var(--pixelparalax));
        -ms-transform: translateX(var(--pixelparalax));
        transform: translateX(var(--pixelparalax));
}
    #PHOTO_RECOLISTE_PARENT{
    width: 100wv;
             -webkit-box-orient: vertical;
             -webkit-box-direction: normal;
             -webkit-flex-direction: column;
             -ms-flex-direction: column;
             flex-direction: column; 
    }
    
    #textrecoliste{
      margin-top: 20px
    }
}


@media screen and (min-width:600px){
    #PHOTO_RECOLISTE {
       margin-top: 15px;
    height: auto;width:40vw;
        -webkit-filter: drop-shadow(1px 1px 20px black);
        filter: drop-shadow(1px 1px 20px black);
        -webkit-transform: translateY(var(--pixelparalax));
        -ms-transform: translateY(var(--pixelparalax));
        transform: translateY(var(--pixelparalax));
}
    #PHOTO_RECOLISTE_PARENT{
    width: 50wv;
        height: 85vh;
        
    }
}

#FORMULAIRE input, #FORMULAIRE textarea{
    height:35px; background-color: rgba(28,28,28,0.9); border: 1px solid gray; color:white;
    
}

#FORMULAIRE input[name=objet], #FORMULAIRE textarea, #FORMULAIRE input[name=antispam]{
      width:calc(80vw + 2px);
    max-width: 800px;
}
@media screen and (min-width:500px){
.INPUTCOTEACOTE{
    width: calc(40vw - 5px);
    max-width: calc(400px - 5px);
}
    #FORMULAIRE .INPUTCOTEACOTE + .INPUTCOTEACOTE{margin-left: 10px}
    #FORMULAIRE br + .INPUTCOTEACOTE{margin-left: 10px}
}

@media screen and (max-width:500px){
.INPUTCOTEACOTE{
      width:calc(80vw + 2px);
    max-width: 800px;
}
}

#FORMULAIRE div{
    margin-top: 20px;
}

#FORMULAIRE textarea{height:175px}

button:hover:not(.mfp-close){
    background-color: hsla(130, 25%, 40%, 0.9)!important;
}

#FORMULAIRE button{
    width: 20vw;height:35px; background-color: rgba(28,28,28,0.9); border: 1px solid gray; color:white;
}


#buttonspacer{
     width:calc(80vw - 20vw + 9px);
    max-width: calc(800px - 20vw + 9px);
}

#LEGAL {
    margin-top: 5vh;
}

#SIMPLEMESSAGE{
    position: fixed;
    bottom: 60px;
    width: 100%;
    z-index: 200;
    height: 35px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    display: flex;
    pointer-events: none;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-transition: opacity 0.5s;
    -o-transition: opacity 0.5s;
    transition: opacity 0.5s;
/*    animation-name: opacitysimplemessage;*/
  -webkit-animation-duration: 5s;
  animation-duration: 5s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    color:whitesmoke;
}

@media screen and (min-width:550px){
    #SIMPLEMESSAGE{
        bottom: 20px;
    }
}

#SIMPLEMESSAGE_CONTENT{
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    padding: 10px;
    padding-left: 25px;
    padding-right: 25px;
    display: block;
    white-space: nowrap;
    border-radius: 35px;
    background: rgba(10,10,10,0.7);
}
 

@-webkit-keyframes opacitysimplemessage {
  0%   {opacity: 0;}
  10%  {opacity: 1;}
  90%  {opacity: 1;}
  100% {opacity: 0;}
}


@keyframes opacitysimplemessage {
  0%   {opacity: 0;}
  10%  {opacity: 1;}
  90%  {opacity: 1;}
  100% {opacity: 0;}
}



#section_quatre {
    background-image: url(photos/SVG_triangle1.svg),url(photos/1-1-min.jpg);
    background-attachment: scroll, fixed;
    background-position: top, center var(--pixelparalax);
    background-size: 100vw 35vh, cover; 
    background-repeat: no-repeat;
    min-height:100vh;
}
#section_quatre .portfolioindication {
    color:lightgray;
}

hr {
    width:20vw;opacity: 0.3;margin-top: 35px;margin-bottom: 35px;
}


.fa {
  padding: 20px;
  font-size: 30px;
  width: 50px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
}
.fa:hover {
    opacity: 0.7;
}
.fa-twitter {
  background: #55ACEE;
  color: white;
}
.fa-linkedin {
  background: #007bb5;
  color: white;
}

.fa-youtube {
  background: #bb0000;
  color: white;
}

.galeryphotocolone img{
        margin-top: 5px;
    vertical-align: middle;
    height: auto;
    width: 100%;
    border-radius: 2.5px;
}

@media screen and (min-width:550px){
.galeryphotocolone{
        -webkit-box-flex: 45%;
    -webkit-flex: 45%;
    -ms-flex: 45%;
    flex: 45%;
    padding: 0 2.5px;
}
}
@media screen and (max-width:550px){
    .galeryphotocolone{ 
    padding: 0 2.5px;
        -webkit-box-flex: 100%;
        -webkit-flex: 100%;
        -ms-flex: 100%;
        flex: 100%;
}
}
.galeryphotoligne{
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 0 4px;
}  
 
.SKILL{
    
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color:white;
    -webkit-filter: drop-shadow(0px 0px 10px black);
    filter: drop-shadow(0px 0px 15px black);
}
.SKILL:before{
    content: attr(data-skill);
    line-height: 2;
    font-family: futura_m;
    text-shadow: 0 0 15px black;
}
.SKILL_BACKGROUND_PROGRESS {
    background-color: rgba(50,50,50,0.8);
   width: 100vw;
    max-width: 500px;
}

.SKILL_MAIN_PROGRESS {
     height: 35px;
/*    background-color: hsla(130, 25%, 50%, 1);*/
    background-color: rgb(96, 159, 106);
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-transition: width 2s;
    -o-transition: width 2s;
    transition: width 2s;
    -webkit-transition-delay: 0.5s;
    -o-transition-delay: 0.5s;
    transition-delay: 0.5s;
}

.SKILLIMAGE {
    background-attachment: scroll;/* background-color: red; */width: 100%;margin-top: 5px;height: 25px;background-repeat: no-repeat;background-position: 5px center;background-size: contain;position: absolute;
}

#section_undemi.animation .SKILL_MAIN_PROGRESS{
    width:0!important;
} 

#section_undemi {
    background-image: url(photos/SVG_wave3.svg),url(photos/SVG_wave2.svg),url(photos/6-1-min.jpg);
     background-attachment:  scroll, scroll, fixed;
    background-position: top, bottom, center var(--pixelparalax); /*100vh-height(15vh)*/
    background-size: 100vw 15vh,100vw 15vh, cover;
  min-height:100vh;
    background-repeat: no-repeat;
}



/*
.DIVPORTFOLIOCENTER {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;-webkit-box-pack: center;-webkit-justify-content: center;-ms-flex-pack: center;justify-content: center;-webkit-box-orient: vertical;-webkit-box-direction: normal;-webkit-flex-direction: column;-ms-flex-direction: column;flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;margin-left: auto;margin-right: auto;min-width: 400px;
}
*/


/*

.cartportfolio a{
        font-size: 1.5em;
    font-family: futura_r;
    color: white;
    margin: 5px;
    position: absolute;
    text-align: center;
*/
    /* height: 100%; */
    /* transform: translateY(-50%); */
    /* z-index: 999; */
/*    background: blue;*/
    /* display: flex; */
    /* justify-content: center; */
/*
 visibility: hidden;
}
.cartportfolio img{
    -webkit-transition: filter 0.3s;
    -o-transition: filter 0.3s;
    -webkit-transition: -webkit-filter 0.3s;
    transition: -webkit-filter 0.3s;
    transition: filter 0.3s;
    transition: filter 0.3s, -webkit-filter 0.3s;
    border-radius: 20px; 
}

.cartportfolio:hover img{
    -webkit-filter: brightness(0.3);
    filter: brightness(0.3);
}

.cartportfolio:hover a{
   visibility: visible;
}

@media screen and (max-width:820px){
    .DIVPORTFOLIOCENTER img{
        width:90vw;
    }
    .DIVPORTFOLIOCENTER{
        min-width: 90%;
    }
}
*/

/*
.SKILL_BACKGROUND_PROGRESS{
    width : 97vw;
}
*/

/*
.cartportfolio{
    position: relative;
    margin-bottom: 0;
    margin-top: 0;
}

.cartportfolio:hover:before{
    opacity: 0;
}
*/

 
/*
.cartportfolio:before{
    content: attr(data-categorie);
    position: absolute;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    top: 1vw;
    left: 1vw;
    font-family: futura_r;
    font-weight: normal;
    border-radius: 15px;
       
        -webkit-transition: opacity 0.2s;
       
        -o-transition: opacity 0.2s;
       
        transition: opacity 0.2s;
    color: white;
    background-color: rgba(28,28,28,0.7);
    background-color: hsla(130, 125%, 10%, 0.7);
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 2px;
} 
*/



/*
 
* {-webkit-box-sizing: border-box;box-sizing: border-box}
.mySlides1, .mySlides2 {display: none}
img {vertical-align: middle;}
*/

/* Slideshow container */
/*
.slideshow-container div img{
     width: 100%;
    max-height: 98vh;
    max-width: 98vw; 
}
*/
/*
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}
*/
  
/* Next & previous buttons */
/*
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  -webkit-transition: 0.6s ease;
  -o-transition: 0.6s ease;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
     background-color: rgba(28, 28, 28, 0.5);
}
*/

/* Position the "next button" to the right */
/*
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
*/

/* On hover, add a grey background color */
/*
.prev:hover, .next:hover {
  background-color: rgba(241, 241, 241, 1);
  color: black;
}
*/








.DIVPORTFOLIOCENTER {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;-webkit-box-pack: center;-webkit-justify-content: center;-ms-flex-pack: center;justify-content: center;-webkit-box-orient: vertical;-webkit-box-direction: normal;-webkit-flex-direction: column;-ms-flex-direction: column;flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;margin-left: auto;margin-right: auto;min-width: 400px;
}




/*
.cartportfolio img{
    -webkit-transition: filter 0.3s;
    -o-transition: filter 0.3s;
    -webkit-transition: -webkit-filter 0.3s;
    transition: -webkit-filter 0.3s;
    transition: filter 0.3s;
    transition: filter 0.3s, -webkit-filter 0.3s;
}

.cartportfolio:hover img{
    -webkit-filter: brightness(0.3);
    filter: brightness(0.3);
}

.cartportfolio:hover a{
   visibility: visible;
}
*/

@media screen and (max-width:820px){
    .DIVPORTFOLIOCENTER img{
        width:90vw;
    }
    .DIVPORTFOLIOCENTER{
        min-width: 90%;
    }
    
/*
    #section_deux .galeryphotoligne{
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -webkit-flex-direction: column-reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
    } 
*/
}

.SKILL_BACKGROUND_PROGRESS{
    width : 97vw;
}

#section_deux h3{
    color: whitesmoke;
    font-size: 1.35em;
}

.white-popup {
  position: relative;
  background: #FFF;
  padding: 25px;
  width:auto;
  max-width: 600px;
  margin: 0 auto; 
    text-align: justify;
}


h3.cartportfolio:before {
    content: "→ "
}
.cartportfolio, .cartportfolio a {
    background-color: rgba(96, 159, 106,1);
    padding: 15px;
    padding-top: 5px;
    color: white;
    padding-bottom: 5px;
    width: 95%;
    text-decoration: none;
/*    max-width: 700px;*/ 
/*    text-align: center;*/
        
}

.titlepopup {
    font-size: 1.5em;
    background-color: hsl(130, 25%, 25%);
    padding: 15px;
    color: white;
        font-weight: bold;
}

.mfp-fade.mfp-bg {
	opacity: 0;
	-webkit-transition: all 0.15s ease-out; 
	-o-transition: all 0.15s ease-out; 
	transition: all 0.15s ease-out;
}
.mfp-fade.mfp-bg.mfp-ready {
	opacity: 0.8;
}
.mfp-fade.mfp-bg.mfp-removing {
	opacity: 0;
}

.mfp-fade.mfp-wrap .mfp-content {
	opacity: 0;
	-webkit-transition: all 0.15s ease-out; 
	-o-transition: all 0.15s ease-out; 
	transition: all 0.15s ease-out;
}
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
	opacity: 1;
}
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
	opacity: 0;
}

.mfp-zoom-in .mfp-with-anim {
  opacity: 0;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  -webkit-transform: scale(0.8);
  -ms-transform: scale(0.8);
  transform: scale(0.8);
}
.mfp-zoom-in.mfp-bg {
  opacity: 0;
  -webkit-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.mfp-zoom-in.mfp-ready .mfp-with-anim {
  opacity: 1;
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}
.mfp-zoom-in.mfp-ready.mfp-bg {
  opacity: 0.8;
}
.mfp-zoom-in.mfp-removing .mfp-with-anim {
  -webkit-transform: scale(0.8);
  -ms-transform: scale(0.8);
  transform: scale(0.8);
  opacity: 0;
}
.mfp-zoom-in.mfp-removing.mfp-bg {
  opacity: 0;
}

h5{font-size: 1.1em;    margin: 5px;}


@media screen and (min-width:800px){
.THEGALERYZ {
    max-width: 90%     
}
}

@media screen and (min-width:1100px){
.THEGALERYZ {
    max-width: 80%     
}
}
.THEGALERYZ {
    display: block;
         margin-left: auto; 
     margin-right: auto;
}
.white-popup img{
       max-width: 100%;
    height: auto!important;
}










/*---------------------------------------------------------*/


 :root {
            --portfolio_creation_left-size: 300px;
        }

        * {
            /*            outline: 1px solid red*/
        }

        .portfolio_creation_div_main * {
            -webkit-box-sizing: border-box;
            box-sizing: border-box;
        }

        .portfolio_creation_div_main+.portfolio_creation_div_main {
                margin-top: 100px; 
}
        .portfolio_creation_div_main {
            display: -webkit-box;
            display: -webkit-flex;
            display: -ms-flexbox;
            display: flex;
            max-height: 100vh;
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
            -webkit-flex-direction: column;
            -ms-flex-direction: column;
            flex-direction: column;
            -webkit-box-pack: center;
            -webkit-justify-content: center;
            -ms-flex-pack: center;
            justify-content: center;
            max-width: 1250px;
            margin-left: auto;
            margin-right: auto;
            background-color: rgba(0, 0, 0, 0.2);
            border-radius: 5px;
/*                padding-bottom: 5px;*/
        }
        
        .portfolio_creation_media video{
            width:100%;height:auto;
        }

        .portfolio_creation_left_migniatures{
            padding: 5px;
        }
            
        @media screen and (max-width:1255px) {
            .portfolio_creation_div_main {
                margin-left: 5px;
                margin-right: 5px;
            }
        }

        .portfolio_creation_div_main h3 {
            margin-left: auto;
            margin-right: auto;
            margin-bottom: 0;
            margin-top: 5px;
            width: 99%;
        }


        .portfolio_creation_left {
            height: 100%;
            display: -webkit-box;
            display: -webkit-flex;
            display: -ms-flexbox;
            display: flex;
            overflow: auto;
            max-height: 100vh;
            /*            justify-content: space-evenly;*/
        }

        .portfolio_creation_right {
/*            height: 100%;*/
                display: -webkit-box;
                display: -webkit-flex;
                display: -ms-flexbox;
                display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 100%;
    width: 100%;
            /*            width: 100%;*/
        }

        .portfolio_creation_media {
            margin-right: auto;
            margin-left: auto;
            /*            max-width: 700px;*/
            position: relative;
            display: -webkit-box;
            display: -webkit-flex;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-pack: center;
            -webkit-justify-content: center;
            -ms-flex-pack: center;
            justify-content: center;
        }

        .portfolio_creation_media img {
            width: 100%;
            height: auto;
            max-height: 100%;
        }

        .portfolio_creation_div_main_slice {
            display: -webkit-box;
            display: -webkit-flex;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-pack: center;
            -webkit-justify-content: center;
            -ms-flex-pack: center;
            justify-content: center;
        }

        .portfolio_creation_left img:hover, .portfolio_creation_left video:hover {
            opacity: 0.5;
        }
        .portfolio_creation_left img, .portfolio_creation_left video {
/*            padding: 5px;*/
/*                margin: 5px;*/
            -webkit-transition: opacity 100ms;
            -o-transition: opacity 100ms;
            transition: opacity 100ms;
            cursor: pointer;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
        
        }

        @media screen and (min-width:851px) {
            .portfolio_creation_media {
                min-width: 500px;
                padding-left: 10px;
                padding-right: 10px;
                max-height: 80vh;
            }

            .portfolio_creation_left {
                -webkit-box-orient: vertical;
                -webkit-box-direction: normal;
                -webkit-flex-direction: column;
                -ms-flex-direction: column;
                flex-direction: column;
                width: 300px;
                margin-left: 5px;
                margin-right: 5px;
                margin-top: 5px;
            }

            .portfolio_creation_left img:first-of-type, .portfolio_creation_left video:first-of-type {
                padding-top: 0;
                    margin-top: 0;
            }
            

            .portfolio_creation_left img, .portfolio_creation_left video  {
                width: 100%;
                padding-bottom: 0;
                margin-bottom: 0;
                height: auto;
            }

            .portfolio_creation_left *+* {
                padding-top: 0!important;
            }

            /*
            .portfolio_creation_right {
                width: calc(100vw - 300px);
            }
*/
            .portfolio_creation_left_migniatures {
                white-space: wrap;
            }

            .portfolio_creation_right {
                max-width: calc(100% - 300px);
                margin-top: 5px;
                width: 100%;
            }
        }

        /*
        @media screen and (min-width:850px) {
          
        }
*/

        /*
        @media screen and (max-width:850px){
             .portfolio_creation_right {
                width: 100%;
            }
        }
*/

        @media screen and (max-width:850px) {
            .portfolio_creation_left_migniatures {
                white-space: nowrap;
            }

            .portfolio_creation_div_main_slice {
                -webkit-flex-wrap: wrap;
                -ms-flex-wrap: wrap;
                flex-wrap: wrap;
                -webkit-box-orient: vertical;
                -webkit-box-direction: reverse;
                -webkit-flex-direction: column-reverse;
                -ms-flex-direction: column-reverse;
                flex-direction: column-reverse;
            }

            .portfolio_creation_media {
                padding: 5px;
                max-width: 700px;
            }

            .portfolio_creation_media img, .portfolio_creation_media video{
                max-width: 530px;
            }

            .portfolio_creation_left {
                -webkit-box-orient: horizontal;
                -webkit-box-direction: normal;
                -webkit-flex-direction: row;
                -ms-flex-direction: row;
                flex-direction: row;
                width: 100%;

            }

            .portfolio_creation_left img, .portfolio_creation_left video {
                width: auto;
                max-height: 10vh;
                min-height: 110px;
            }

            .portfolio_creation_left *+* {
                padding-left: 0!important;
                margin-left: 0!important;
            }

        }

        .portfolio_creation_media_moreinfo button:hover {
            background-color: hsla(130, 25%, 40%, 0.9);
        }

        .portfolio_creation_media_moreinfo button {
            width: 35%;
            height: 35px;
            background-color: rgba(28, 28, 28, 0.5);
            border: 1px solid gray;
            color: white;
            pointer-events: all;
        }
 
        .portfolio_creation_media_moreinfo {
            position: absolute; 
            display: -webkit-box;
            display: -webkit-flex;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-orient: vertical;
            -webkit-box-direction: reverse;
            -webkit-flex-direction: column-reverse;
            -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
            -webkit-box-align: center;
            -webkit-align-items: center;
            -ms-flex-align: center;
            align-items: center;
            width: 100%;
            height: 100%;
            padding: 15px;
            pointer-events: none;
        }
        .portfolio_creation_left_migniatures .portfolio_creation_mediaonview{
            border: 3px solid #4d8055;
            opacity: 0.5;
        }
        
        .portfolio_creation_media_content{
            display: -webkit-box;
            display: -webkit-flex;
            display: -ms-flexbox;
            display: flex;
    width: 100%;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
            background-position: center center;
    background-repeat: no-repeat;
    background-origin: border-box;
    background-size: cover;
            
        }