
/**********************************************************
****************************TOOLS**************************
***********************************************************/

*{
	box-sizing: border-box; 
}

:root {
    --main-color-text: #262626;
    --color-orange: #eb8b05;
    --color-blue: #4966f8;
    --color-white: #FFFFFF;
    --main-police: 'Arial Rounded MT Bold', sans-serif;
    --second-police: 'Montserrat Alternates', sans-serif;
    /* --main-font-size: 1.8rem; */
}

html{
	font-size: 62.5%; 
}

body{
	font-size: 1.8rem;
}


/**********************************************************
***********************GENERALITES**************************
***********************************************************/


body{
    min-height: 100vh;   
    font-family: var(--main-police);
    color: var(--main-color-text);
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    /*background:url(../img/images/fond.jpg) no-repeat center center fixed;*/
    background-image: url('../img/images/fond_light_tel.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.body_contact, .body_about {
    background-image: url('../img/images/fonds_light_degrade_tel.jpg');
}

img, video{
	max-width:100%;
	height:auto;
}

main{
    flex-grow:1;
    max-width: 1600px;
	margin: 0 auto;
}

a{
  text-decoration: none; 
  color: var(--main-color-text);
}

section{
    margin-bottom: 10rem;
}

h1{
    color: var(--color-orange);
    text-align: center;
    font-size: 3rem;
    font-weight: bold;
    margin: 0;
}

h2{
    color: var(--color-blue);
    text-align: center;
    font-weight: bold;
    font-size: 2.5rem;
}

h3{
    font-weight: bold;
    font-size: 2.2rem;
}

.var_message{
    margin-left: 1rem;
}

form
{
  border-radius:0.5rem;
  background-color:#f2f2f2;
  opacity: 85%;
  padding:2rem;
  padding-top: 5rem;
}

.message{
    padding: 1rem;
}




/**********************************************************
***************************HEADER**************************
***********************************************************/

header{
    display: flex;
    position:relative;
    z-index: 1;
}

/***************logo****************/


#bloc_logo {
    display: flex;
    align-items: center;
    padding: 2rem;
    width: auto; /* ne prend plus toute la largeur */
}

#logo a {
    display: inline-flex;   /* permet de contenir logo + texte sans s'étendre */
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
}


#logo {
    display: flex;
    align-items: center; 
    gap: 0.5rem; 
}



#logo img {
    width: 20%; /* Ajuste cette taille selon tes besoins */
    height: auto; /* Conserve les proportions de l'image */
    max-width: 100%; /* Empêche l'image de dépasser la largeur de son conteneur */
}

.text-container {
    display: flex;
    flex-direction: column; 
    justify-content: center;
    transform: translate(-1.7rem, -0.5rem); /* Ajustement horizontal et vertical */
    margin-top: -0.5rem; /* Ajuste selon le besoin */
}

.text-container {
    color: var(--color-white);  
}

#myName {
    display: none;
}

#myName_mobile{
    font-size: 2.8rem;
    font-family: var(--second-police);
    margin: 0;
    line-height: 1.1;
    transform: scaleY(0.7);  
}

.job2_mobile {
    font-size: 1.2rem;
    margin: 0;
    padding-left: 2rem;
}

.job2{
    display: none;
}




/*************Menu burger****************/
.list li{
    list-style: none;
}

.list li:first-child{
    padding-top: 50px;
}

#contact a{
    color: var(--color-orange);
}

.bloc_menu{     
     right:0;
     width:100%;
     text-align:center;
     z-index:1;
     position: fixed;
}

.menu .list
{
  overflow: hidden;
  margin:0;
  height:100%;
  clear: both;
  max-height: 0;
  transition: max-height .2s ease-out;
  background-color: #f7f7f7;
}

.menu ul a
{
  display: block;
  padding: 2rem;
  font-weight: bold;
}

.menu .menu-icon
{
  padding: 4rem 1.5rem;
  position: absolute;
  right:0;
  cursor: pointer;
}

.menu .menu-icon .nav-icon
{
  background: #000000;
  display: block;
  height: 0.4rem;
  width: 3rem;
  position: relative;
  transition: background .2s ease-out;
}

.menu .menu-icon .nav-icon:before
{
  background: #000000;
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  width: 100%;
  top: 0.8rem;
  transition: all .2s ease-out;
}

.menu .menu-icon .nav-icon:after
{
  background: #000000;
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  width: 100%;
  top: -0.8rem;
  transition: all .2s ease-out;
}

.menu .menu-btn
{
  display: none;
}

.menu .menu-btn:checked ~ .list
{
  max-height: 50rem;
}

.menu .menu-btn:checked ~ .menu-icon .nav-icon
{
  background: transparent;
}

.menu .menu-btn:checked ~ .menu-icon .nav-icon:before
{
  transform: rotate(-45deg);
  top: 0;
}

.menu .menu-btn:checked ~ .menu-icon .nav-icon:after
{
  transform: rotate(45deg);
  top: 0;
}



/**********************************************************
**************************ACCUEIL**************************
***********************************************************/
#page_accueil{
    /*background-image:url(../img/images/fond.jpg);*/
    background-image: url('../img/images/fond_accueil_tel.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    justify-content: flex-end; 
    min-height: 100vh; 
    min-height: 100svh;
    box-sizing: border-box;
    overflow-x: hidden;
}

.text_homepage {
    text-align: center; 
}

.text_homepage .title{
    line-height: 1.2;
}

.text_homepage a{
    color: var(--color-orange);
    text-transform: uppercase; 
    font-weight: bold;   
}


.last-word {
  display: inline-block;        /* permet scale/rotation */
  transform-origin: center;     /* pivot au centre */
}







/**********************************************************
**************************PORTFOLIO************************
***********************************************************/

.image_accueil img { 
    vertical-align: top;
    width: 80%;
    height: auto;
}

.image_accueil {
    display: inline-block;
    margin: 2rem 1rem;
    text-align: center;
}

.image_accueil a {
    text-decoration: none;
    color: #333;
}

.image_accueil figcaption {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 1rem;
    text-align: center;
    margin-left: 2rem;
    color: var(--color-white)
}


/**********************Gallerie portfolio*****************/

.back_home {
    margin: 2rem 2rem;
}

.back_home a {
    color: var(--color-orange);
    text-decoration: none;
    font-weight: bold;
}

.back_home a:hover {
    text-decoration: underline;
}


.image_grid{
margin-bottom :15px;
}

.image_gallery {
    grid-template-columns: 1fr;
    gap: 1rem;
}

.image_grid img {
    width: 100%;
    height: 20rem;
    object-fit: cover;
    display: block;  
}



/* .portfolioImmo .image_grid img, .portfolioInterieur .image_grid img,
.portfolioDesign .image_grid img, .portfolioDivers .image_grid img
{
    box-shadow: rgba(0, 0, 0, 0.5) 0rem 0.5rem 1.2rem;
} */

.portfolio{
    margin: 1.5rem 1.5rem 10rem 1.5rem;
}

.video{
    text-align: center;
}

/*animation du titre*/
.title{
    opacity: 0;
}

.title_portfolio {
    opacity: 0;                     /* invisible au départ */
    transform: translateY(-20px) scale(0.95) rotateZ(-5deg);
    transform-origin: top center;
}


.text_portfolio{
    text-align: left;
}

.text_portfolio {
    opacity: 0;          /* invisible au départ */
    transform: translateY(20px) scale(0.98) rotateX(2deg);
    transform-origin: top center;
}


.title span{
    display: inline-block;
    overflow: hidden;
}

.title span span{
    display: block;
    animation: titleReveal .7s both;/*animation de 700 milisecondes qui garde au début la position initiale et à la fin garde les valeurs de fin d'animation*/
}

@keyframes titleReveal {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

video{
    padding: 2rem;;
}

.video_wrapper {
    display: block;           /* pour centrer facilement */
    margin: 2rem auto;        /* centré horizontalement avec espacement vertical */
    overflow: hidden;
    width: fit-content;       /* largeur adaptée au contenu */
    border-radius: 0.5rem;
}

.image_video {
    width: 100%;               /* prend 60% du wrapper */
    height: auto;
    display: block;
    transform-style: preserve-3d;
    cursor: pointer;
    margin: 0 auto;           /* centré dans le wrapper */
}








/*************************lightbox**************************/
/*utilisation de !important necessaire pour faire des modification du pluggin Simple Ligthbox*/

.sl-wrapper .sl-navigation button, 
.sl-wrapper .sl-close
 
{
   color: #FFFFFF ;
   font-size: 5rem !important;
}

.sl-wrapper .sl-image .sl-caption {
    color: #FFFFFF ;
    background: none;
    padding: 0;
}

.sl-counter
{
	color: #FFFFFF !important;
    font-size: 1.5rem !important;
}

.sl-wrapper{
    background-color: rgba(0, 0, 0, 0.8);
}
.sl-caption.pos-bottom {
    position: static !important; 
    bottom: auto !important; 
    margin-top: 0.5rem; 
}





/**********************************************************
*****************************ABOUT*************************
***********************************************************/
.titre_aPropos{
    margin-bottom: 50px;
}

.about {
    text-align: start;
    padding: 0 2rem;
}

.title_about{
    display: flex;
    align-items: center;
    align-self:flex-start;
  
}

.about .paragraphe1, .about .paragraphe2{
    margin-bottom: 6rem;
}

.logo_partner{
    padding: 1rem;
    text-align: center;
}

.paragraphe .text p, .services li{
    font-size: 2rem;
    color: #333333;
    text-align: left; 
    line-height: 1.6; 
    max-width: 1000px; 
    margin: 0 auto 1em; /* Centre le texte et ajoute un espace entre les paragraphes */
  }

.gras
{
  color: #000000;
}

.about i{
    font-size: 4rem;
    color: var(--color-orange);
} 



/**********************************************************
***************************CONTACT*************************
***********************************************************/

.text_contact span
{
    font-weight: bold;
}

.titre_contact{
    margin-bottom: 3rem;
}

.name_coordonnee
{
    text-align: left;
}

.text_contact 
{
    margin: 5rem 1rem;
    font-size: 2rem;
}

.container_contact{
    margin-bottom: 2rem 5rem;
}

.contact_details .info{
    font-size: 1.5rem;
}

.contact_details 
{
    margin: 2rem 0;
}

.icone{
    display: flex;
    padding: 1rem;
    color: var(--color-orange);
    margin: 0;
}

.far, .fas{
    margin-right: 2rem;
    color: var(--color-orange);
    font-size: 2.2rem;
}

.container_form{
    margin: 0 1rem;
}

/* ne cible que les inputs texte/email/tel/etc. et le textarea */
#form_contact input[type="text"],
#form_contact input[type="email"],
#form_contact input[type="tel"],
#form_contact input[type="url"],
#form_contact input[type="search"],
#form_contact textarea {
  width: 90%;
  margin-bottom: 1.6rem;
  padding: 1.2rem;
  border: 0.1rem solid #ccc;
  border-radius: 0.4rem;
}

.bloc_consent {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* espace entre la checkbox et le texte */
    margin-bottom: 1rem;
}

.bloc_consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0; /* empêche la checkbox de rétrécir */
}

.bloc_consent label {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.3;
    display: flex;
}

#consent-error {
    display: none;
    color: #c00;
    font-size: .9rem;
    margin-top: .3rem;
}



.submit 
{
    text-align: center;
    margin-bottom: 2rem;
}

.submit button
{
    background: #B9DFFF;
    color: #fff;
    border: 0.1rem solid #eee;
    padding: 0.7rem;
    border-radius: 2rem;
    box-shadow: 0.5rem 0.5rem 0.5rem #eee;
    text-shadow:none;
}



/*Style sur les messages d'erreur et de succès des demandes envoyées via le formulaire*/

.successMessage{
    background-color: #7acc7d;
    border: #2b5a2d 0.1rem solid;
    padding: 0.5rem 0.9rem;
    color: #262b26;
    border-radius: 0.4rem;
    cursor: pointer;
    font-size: 0.9em;
}
.errorMessage{
    background-color: #e64141;
    border: #da1414 0.1rem solid;
    padding: 0.5rem 1rem;
    color: #fdf7f7;
    border-radius: 0.4rem;
}
.info{
    font-size: 0.9rem;
    color: var(--color-orange);
    letter-spacing: 0.2rem;
    padding-left: 0.5rem;
}



/**********************************************************
***************************ADMIN***************************
***********************************************************/

/*home admin et edit Image*/
.dashbord{
    text-align: center;
} 

.dashboard_button{
    background-color:  #FFFFFF;
    text-align: center;
    justify-content: center;
}

.add_modif{
    margin-top: 8rem;    
}

.add_modif a, .ancre{
   padding: 0.5rem 2rem; 
   color: #FFFFFF;
   border-radius: 1rem;
   background: var(--color-orange);
}

#bloc_ancre{
    display:flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    margin-top: 5rem;
}

.ancre{
    margin:0.5rem;
    font-size: 1.5rem;
    width:50%
}

.display{
    max-width: 100%;
}

.haut_de_page{
    color: var(--color-blue);
    border: 0.2rem solid var(--color-blue);
    border-radius: 1rem;;
    background: rgba(255, 255, 255, 0.8);
    padding: 5px;
}

.container_display p{
    margin-bottom: 10rem;
}

.container_display .table{
    margin-bottom: 2.5rem;
}

.container_display{
    text-align: center;
    margin-top: 20rem;
}

.th_vignette, .td_vignette{
    display: none;
}


/*********formulaire_admin***********/
/*formuliare de modification et de suppression des images et vidéo*/
.form_admin{
    width:90%;
    margin: 0 auto;
}

.form-control, .form-control-file{
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.valider .btn{
    font-size: 1.5rem;
}  

.titre_form{
    padding-bottom: 3rem;
}

.form-group{
    margin-bottom: 5rem;
}



/**********************************************************
***************************FOOTER**************************
***********************************************************/

footer{  
    text-align: center;
    margin-top: 50px;
}

.artisan{
    font-family: var(--second-police);
    margin: 0;
    width: auto;  
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer .medias{  
    padding: 1rem;
    display: flex;
} 

.icon-white {
    display: none;
}

.medias img
{
    width: 4.5rem;
    height: auto;
}

.medias 
{
    display:flex;
    justify-content: center;
}

.dashboard_button
{
   padding: 0.5rem 2rem; 
   color: var(--color-orange); 
   border-radius: 5rem;
   border: 0.2rem solid var(--color-orange);
   background: rgba(255, 255, 255, 0.8);
} 

.copyright, .legal-footer{
    font-size: 0.95rem;
    padding: 0.5rem;
}

.copyright::before{
	/*content: "\f1f9";*/
    font-family: "Font Awesome 5 Free";
    padding-right: 0.6rem;
}

.manuella_maya:hover {
    color: var(--color-blue);
}

.admin .fa-users-cog{
    color: var(--main-color-text);
    font-size: 1.5rem;
}

.mentions_legales{
    margin-left: 2rem;
    margin-right: 1rem;
}

.mentions_legales h1{
    text-align: left;
    margin-bottom: 2rem;
}

.mentions_legales h2{
    text-align: left;
    color: var(--main-color-text);
    font-size: 2.5rem;
}

.mentions_legales article{
    margin-bottom: 2rem;
}


/**********************************************************
*************************loader****************************
***********************************************************/

/*force l'image de chargement (loader.svg) à se placer au centre de l'écran. */
/*.loader {
    position : fixed;
    z-index: 9999;
    background : url(../img/images/loader.svg) 50% 50% no-repeat;
    top : 0px;
    left : 0px;
    height : 100%;
    width : 100%;
    cursor : wait;
}*/
/* Loader full screen */
.loader {
  position: fixed;
  inset: 0;
  background: rgba(13, 13, 13, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Conteneur des cubes */
.loader-cubes {
  display: flex;
  gap: 15px;
}

/* Style des cubes */
.cube {
  width: 40px;
  height: 40px;
  background: #4fc3f7; /* bleu lumineux */
  transform: translateY(0);
  border-radius: 4px;
}











/**********************************************************
*******************MEDIAS QUERIES**************************
***********************************************************/

@media screen and (min-width: 768px){

    h1{
        font-size: 4rem;
        font-weight: bold;
        margin-left: 10vw;
    }
    
    /****************HEADER****************/
   
     #logo img{
        width: 15%;
    }

    .job2_mobile {
        display: none;
    }

    #bloc_logo .job2{
        display: block;
        font-size: 2.5rem;
        margin: 0;
        padding-left: 2rem;
    }

    #myName_mobile{
        display: none;
    }

    #bloc_logo #logo div #myName{
        display: block;
        font-size: 4rem;
        font-family: var(--second-police);
        margin: 0;
        line-height: 1.1;
        transform: scaleY(0.8);
    }

    #bloc_logo #logo div .job2{
        font-size: 2rem; 
    }
    
    .menu .list li{
        font-size: 2.5rem;    
    } 

   /* #bloc_logo #myName, #bloc_logo .job2  {
        line-height: 1.2;
    }*/

    /****************ACCUEIL****************/

    .text_homepage {
        position: absolute;
        right: 1rem;
        width: auto;
        max-width: 100%; 
        text-align: left; 
    }

    .text_homepage .title {
        font-size: 1.5rem;
        line-height: 1.4;
    }
    
    

    /****************PORTFOLIO****************/
        
    .portfolioAccueil{
        text-align: center;
        margin-bottom: 0;
    }

    .container{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .image_accueil{       
        width:45%;
    }


    .image_gallery{
        margin:0 auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        width:90%;
        gap: 2rem;
    }
    

    .image_grid{
     margin-bottom :0;
    }

    
    figure{
        margin:1rem;
    } 

    .image_immo, .image_inte, .image_maquette, .image_design, .image_divers
    {
        width: 100%;
        height: 20rem;
        display: block;
        margin: 0;
        object-fit: cover;
    }

    .text_portfolio{
        width: 80%;
        margin: 0 auto;
        margin-bottom: 5rem;
    }

    .sl-caption
    {
        font-size: 2rem !important;
    }


    .image_video {
        width: 80%;
    }

    
    /****************ABOUT****************/
    .about{
        padding-left: 5rem;
    }

    

    /****************CONTACT****************/
    #page_contact .container{
        display: flex;
    }

    .text_contact{
       text-align: center;
    }

    .button_contact
    {
        padding: 0.7rem 3rem; 
        font-size: 2em;
    } 

    .bloc_consent label {
        font-size: 1.5rem;
    }

    /****************FOOTER****************/

    #page_accueil footer, #page_accueil footer .copyright a{
        color:  var(--color-white);
    }
    #page_accueil .icon-black{
        display: none;
    }

    #page_accueil .icon-white {
        display: inline;
    }

    footer{
        margin-top: 0;
    }

    .copyright, .legal-footer{
        font-size: 1.5rem;
    } 

    
    /****************ADMIN****************/

    .page_admin h1{
        margin-left: 0;
    }
}

@media only screen and (max-width: 768px) and (orientation: landscape) {
    #logo img{
        width: 12%;
    }

    .container{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 700px;
    }

    .image_accueil{       
        width:45%;
    }

    .image_gallery{
        margin:0 auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        width:90%;
        gap: 2rem;
    }

    .image_grid{
        margin-bottom :0;
    }
    
    figure{
        margin:1rem;
    } 

    .sl-wrapper .sl-image img {
        width: 95%;
        height: auto;
    }
    
}


@media screen and (min-width: 1024px){

   body{
        background-image: url('../img/images/fond.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }

    .body_contact, .body_about {
        background-image: url('../img/images/fonds_light_degrade.jpg');
    }


    h1{
        font-size: 5rem;
        margin: 0;
        margin-left: 50vw;
        margin-top: -7rem;
    }

    .body_contact, .body_about, .body_accueil{
        
    }

    /****************HEADER****************/

    #bloc_logo{
        padding: 0;
        padding-left: 6rem;
        padding-top: 1rem;
    }
    
    #logo{
        padding-bottom: 0;
    }

    #logo img{
        width: 10%;
    }

    #bloc_logo #logo div #myName{
        font-size: 5rem;
        top:19%;
        left: 9%;  
    }

    #bloc_logo #logo div .job2{
        font-size: 2.5rem;
        top:52%;  
        left: 10.7%;
    }

    .menu .menu-icon
    {
        display: none;
    }

    .list li:first-child{
        padding-top: 0;
    }
    
    .menu .list
    {
        clear: none;
        max-height: none;
        padding:0;
        width: 100%;
        height: 5rem; 
        display: flex;
        align-items: center;
        display: flex;
        justify-content: flex-end;
        background-color: transparent;
        background: linear-gradient(to left, rgb(255,255,255) 15%, rgba(0,0,0,0));
        z-index:1;
    }

    .list li a{
        font-size: 1.8rem;
    }

    .list li a:hover, #contact a:hover
    {
        color: var(--color-blue); 
        transition: 0.5s;
    }

    /****************ACCUEIL****************/
    #page_accueil{
        /*background-image:url(../img/images/fond_accueil.jpg);*/
        background-image: url('../img/images/fond_accueil.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-attachment: fixed;
        position: relative;
    }

    .text_homepage{
        position: absolute;
        top: 20rem;
        right: 5rem;
    }

    .text_homepage a:hover{
        color: var(--color-blue);
    }

    .text_homepage .title {
        font-size: 2.5rem;
    }

    
    /****************PORTFOLIO****************/
    .container_portfolio{
        margin-top: 10rem;
    }
    .portfolio{
        margin-top: 0;
    }
    
    .image_accueil a {
        position: relative; 
        display: block; 
        width: 100%;
    }

    .image_accueil a img {
        width: 100%;       
        display: block;    
        transition: opacity 0.3s ease, transform 0.6s ease; 
    }
    
    
    .image_accueil a figcaption {
        position: absolute;  
        bottom: -50px;
        left: 0;
        width: 100%;
        padding: 1rem;
        text-align: center;
        color: var(--color-orange);
        opacity: 0;         
        transition: opacity 0.3s ease, transform 0.3s ease; 
    }
    
    
    .image_accueil a:hover figcaption {
        opacity: 1;         
        transform: scale(1.1);  
    }
    
    
    .image_accueil a::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        opacity: 0;  
        transition: opacity 0.3s ease, transform 0.6s ease;
        z-index: 1;  
    }
    
    .image_accueil a:hover img {
        opacity: 0;  
        transform: scale(1.05);
    }
    
    .image_accueil a:hover::after {
        opacity: 1;  
        transform: scale(1.1); 
    }
    
    
    .image_accueil.immobilier a::after {
        background-image: url(../img/portfolio-accueil/immobilier_survol.png);  
    }

    .image_accueil.interieur a::after {
        background-image: url(../img/portfolio-accueil/interieur_survol.png);  
    }

    .image_accueil.maquette a::after {
        background-image: url(../img/portfolio-accueil/maquette_survol.png);  
    }

    .image_accueil.design a::after {
        background-image: url(../img/portfolio-accueil/design_survol.png);  
    }

    .image_accueil.divers a::after {
        background-image: url(../img/portfolio-accueil/divers_survol.png);  
    }

    .image_accueil.animation a::after {
        background-image: url(../img/portfolio-accueil/animation_survol.png);  
    }
  
    
    .portfolioAccueil .container {
        display: grid;
        grid-template-columns: repeat(4, 1fr); 
        grid-template-rows: 200px 100px 100px 200px;
        padding: 1rem;
        max-width: 90%;
    }
      
    .image_accueil {
        text-align: center;
        width: 90%;
    }

    /* Positionnement des images dans les cases spécifiées */
    .image_accueil:nth-child(1) {
        grid-row: 1 / 3; 
        grid-column: 1;
        display: flex;  
        align-items: flex-end; 
        justify-content: center; 
    }
    
    .image_accueil:nth-child(3) {
        grid-row: 1 / 3; 
        grid-column: 3;
        display: flex;  
        align-items: flex-end; 
        justify-content: center; 
    }
    
    .image_accueil:nth-child(2) {
        grid-row: 1 / 5; 
        grid-column: 2;
        display: flex;  
        align-items: center; 
        justify-content: center;
    }
    
    .image_accueil:nth-child(6) {
        grid-row: 1 / 5; 
        grid-column: 4;
        display: flex;  
        align-items: center; 
        justify-content: center;
    }
    
    .image_accueil:nth-child(5) {
        grid-row: 3 / 5; 
        grid-column: 3;
    }

    .image_accueil:nth-child(4) {
        grid-row: 3 / 5; 
        grid-column: 1;
    }

    .image_gallery
    {
        grid-template-columns: repeat(4, 1fr);
    }

    .image_grid {
        perspective: 800px;
        overflow: hidden;
    }

    .portfolioAccueil, .contact, .about {
        min-height: 70vh;
        display: flex;
        flex-direction: column;
    }

    .wrapper {
        display: flex;
        flex: 1;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .container, .container_contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

     .image_video {
        width: 60%;
    }


    /****************ABOUT****************/

    .paragraphe{
        display: flex;
    }

    .paragraphe .title_about{
        width: 25%;
    }
    
    .paragraphe .content{
        width: 75%;
    }

    .bloc_logos .title_about{
        padding-top: 1rem;
    }


  
    /****************CONTACT****************/
    .contact{
        margin-bottom: 0;
    }

    #form_contact input[type="text"],
    #form_contact input[type="email"],
    #form_contact input[type="tel"],
    #form_contact input[type="url"],
    #form_contact input[type="search"],
    #form_contact textarea{
        width: 55rem;
    }

    #form_contact input[type="text"],
    #form_contact input[type="email"],
    #form_contact input[type="tel"],
    #form_contact input[type="url"],
    #form_contact input[type="search"],
    #form_contact textarea{
        display:flex;
        flex-direction: column;
    }
    
    .container_contact, .container_form
    {
      margin: 5rem;
    }

    .text_contact{
        font-size: 3rem;
    }

    .submit button:hover {
        background: #016ABC;
        color: #fff;
        border: 0.1rem solid #eee;
        border-radius: 2rem;   
    }

    .contact .container{
        align-items: flex-end;
        flex-direction: row;
    }

    .container_contact{
        margin-bottom: 10rem;
    }

    


    /****************ADMIN****************/

    .add_modif{
        display: flex;
        margin: 0;
    }

    .add_modif p{
        padding: 2rem;
    }

    .add_modif a, .ancre{
        padding: 1rem 2rem; 
     }

    #bloc_ancre{
        flex-direction: row;
    }

    .haut_de_page:hover{
        color: var(--color-orange);
    }

    .th_vignette, .td_vignette{
        display: block;
    }

    .vignette{
        width:35%;
    }
    
    .vignette_video{
        width:25%;
    }
    /*****formulaire_admin*****/

    .form_admin{
        width: 70rem;
    }

    .page_admin h1{
        margin-right: 0;
        margin-top: 10rem;
    }


    /****************FOOTER****************/

    footer{  
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding-left: 3rem;
        width: 100%;
        background: rgba(0, 0, 0, 0.3);
    }

     
    footer .grow1{
        flex-grow: 1 ;
    }
     
    footer .grow2{
        flex-grow: 1;
    }

    .bloc_medias{
        display: flex;
        text-align: center;
    }

    .medias 
    {
        display:flex;
        justify-content: left;   
    }

    .copyright{
        text-align: right;
        padding-right: 3rem;
    }

    .copyright, #page_accueil footer .copyright a, .legal-footer a{
        color: #ffffff;
    }

    .mentions_legales section{
        width: 80%;
        margin-top: 5rem;
        margin-left: 5rem;
    }

    .mentions_legales h1{
        margin-top: 0;
        margin-left: 0;
    }

    .mentions_legales h2{
        text-align: left;
        color: var(--main-color-text);
        font-size: 2.5rem;
    }

    .mentions_legales article{
        margin-bottom: 2rem;
    }
   
    
}


@media only screen and (max-width: 1180px) and (orientation: landscape) {
    #bloc_logo #logo div #myName{
        font-size: 3.5rem;
    }

    #bloc_logo #logo div .job2{
        font-size: 1.6rem;
    }

    #bloc_logo{
        padding: 3rem;
    }
}

@media(max-width:1023px) {
    .image_accueil {
        opacity: 0;              /* départ invisible */
        transform: translateY(20px) scale(0.95);
    }

      .image_grid {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
}



@media screen and (min-width: 1024px) and (max-width: 1366px) {
    #logo img {
        width: 13%;
    }

    #bloc_logo #logo div #myName{
        font-size: 4rem;
    }

    #bloc_logo #logo div .job2{
        font-size: 2rem;
    }

    #bloc_logo{
        padding: 3rem;
    }
}



@media only screen and (min-width: 2560px) {
    main{
        max-width: 2500px;
    }

    .text_homepage{
        right: 20rem;
    }

    .portfolioAccueil .container {
        grid-template-rows: 350px 175px 175px 350px;
    }
}




