/**
 * Feuille de Style par Yoann sans H 
 * Crée en 2016
 */
 
 
 /**
 ************************ Appel de la typographie Web
 */
 
 @font-face {
    font-family: 'riseregular';
    src: url('rise-webfont.eot');
    src: url('rise-webfont.eot?#iefix') format('embedded-opentype'),
         url('rise-webfont.woff2') format('woff2'),
         url('rise-webfont.woff') format('woff'),
         url('rise-webfont.ttf') format('truetype'),
         url('rise-webfont.svg#riseregular') format('svg');
    font-weight: normal;
    font-style: normal;

}


@font-face {

	font-family: 'dk_suco_de_laranjaregular';

	src: url('dk_suco_de_laranja-webfont.eot');

	src: url('dk_suco_de_laranja-webfont.eot?#iefix') format('embedded-opentype'), url('dk_suco_de_laranja-webfont.woff2') format('woff2'), url('dk_suco_de_laranja-webfont.woff') format('woff'), url('dk_suco_de_laranja-webfont.ttf') format('truetype'), url('dk_suco_de_laranja-webfont.svg#dk_suco_de_laranjaregular') format("svg");

	font-weight: normal;

	font-style: normal;

}



#preferences-popup h1 {
    font-family: riseregular;
}

#preferences-popup p {
    font-family: dk_suco_de_laranjaregular;
    font-size: 28px;
}


 /**
 ***********************************************Style de la Home Page
 */
 
 @keyframes bounce {
  0%   { transform: rotate (80deg) translateY(0); }
  30%  { transform: rotate (80deg)translateY(-40px); }
  60%  { transform: rotate (80deg)translateY(0); }
  80%  { transform: rotate (80deg) translateY(-25px); }
  100% { transform: rotate (80deg) translateY(0); }
  
}
.bounce {
  animation: bounce 0.6s ease;
}

 /*Elément de décor*/

/* Bouton fixe en haut à droite */
#preferences-button {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  z-index: 9999;
}

#preferences-button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Style de la popup */
#preferences-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9998;
}

#preferences-popup .popup-content {
  background: rgba(256,256,256,0.89);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

#preferences-popup button {
  margin: 10px;
  padding: 10px 20px;
  cursor: pointer;
}


#preferences-popup button[data-color] {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #fff; /* petit contour blanc pour ressortir */
  margin: 5px;
  cursor: pointer;
}

#preferences-popup button[data-color]:hover {
  transform: scale(1.1);
}



/* --- Portfolio --- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin: 40px auto;
  max-width: 1200px;
  padding: 0 20px;
}

.portfolio-grid img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0px 8px 20px rgba(0,0,0,0.2);
}


.logoyoyo {
    width: 100px;
    position: relative;
    top: 20px;
    margin: auto;
}

.logoyoyo img  {
  width:100%;
}
  /*Couleur du fond*/
 body{
	background-color:rgba(255,105,95,1)
	}

.out {
	height:150px;
}
#citron {
	height:50px;
}
/*Elément de décor*/
.img_montagne {
    width: 200px;
    height: 300px;
    position: fixed;
 top:0px;
    left: 0px;
}

.img_montagne_mobile {
	
	display:none;
}

.img_montagne  img{
	height:1000px;
	width:200px;

}

.img_fond .img_fond1{
    position: fixed;
    bottom: -410px;
    width: 100%;
    z-index: -2;
}.img_fond .img_fond2{
    position: fixed;
    bottom: -350px;
    width: 100%;
    z-index: -2;
}

.img_noel {
    position: fixed;
    -ms-transform: rotate(80deg);
    -webkit-transform: rotate(80deg);
    transform: rotate(80deg);
    width: 250px;
   top:0px;
left: 1px;
transition: transform 0.3s ease;
}

.img_noel_mobile {
display:none
}

.info{

    position: absolute;
    top: 200px;
    width: 217px;
    left: 200px;

}

.info2 {
    position: absolute;
    width: 174px;
    top: 350px;
    right: 240px; 
}
/*Menu Principal*/
.menu {
	
    text-align: center;
    width: 100%;
    height: 550px;
    margin-top: 10px;

}
.menu  ul {
 padding:0;
 list-style-type:none;

 }
.menu li  a{
	
    font-size: 105px;
    font-family: riseregular;
    color: white;
	text-decoration:none;
}
/*Effet dynamique menu principal*/
.lien_1,.lien_2,.lien_3,.lien_4 {
	
		margin-left: 0px;
	   -webkit-transition-duration: 1s;
	   -moz-transition-duration: 1s;
    transition-duration: 1s;
}
.lien_1:hover {
	margin-left: 20px;
	   -webkit-transition-duration: 2s;
	   -moz-transition-duration: 2s;
    transition-duration: 2s;
}

.lien_2:hover {
	margin-left: -20px;
	   -webkit-transition-duration: 2s;
	   -moz-transition-duration: 2s;
    transition-duration: 2s;
}

.lien_3:hover {
	margin-left: 20px;
	   -webkit-transition-duration: 2s;
	   -moz-transition-duration: 2s;
    transition-duration: 2s;
}
.lien_4:hover {
	margin-left: -20px;
	   -webkit-transition-duration: 2s;
	   -moz-transition-duration: 2s;
    transition-duration: 2s;
}
/*Footer Credits*/
.credits {
    font-family: dk_suco_de_laranjaregular;
    font-size: 20px;
    text-align: center;
    color: white;
    font-weight: bold;
    text-shadow: 0.5px 0.5px;
	margin-top: 65px;
}

.credits  a{
  color:white;
  text-decoration:none;
}
.credits_page {
    font-family: dk_suco_de_laranjaregular;
    font-size: 20px;
    text-align: center;
    color: white;
    font-weight: bold;
    text-shadow: 0.5px 0.5px;
	margin-top: 65px;
}

.credits_page  a{
  color:white;
  text-decoration:none;
}
 /**
 ***********************************************Style de la Page Bonjour
 */

#avatar_img {
    text-align: center;
    position: relative;
    margin: auto;
    height: 250px;
    width: 250px;
}
#avatar_img img {
  width:100%
}
/* Style de base commun à toutes les pages */
.page {
    margin: auto;
    width: 60%;
    max-width: 900px;
    padding: 2rem 1rem;
}

/* Titres */
.page h1 {
    font-family: riseregular;
    font-size: 46px;
    line-height: 1.3;
    text-align: center;
    color: white;
    margin-bottom: 1rem;
}

.page h3 {
    font-family: riseregular;
    font-size: 28px;
    line-height: 1.4;
    text-align: center;
    color: white;
    margin-bottom: 1.5rem;
}

/* Paragraphes */
.page p {
    font-family: dk_suco_de_laranjaregular;
    font-size: 30px;
    line-height: 1.6;
    text-align: center;
    color: rgba(0,0,0,0.7);
    font-weight: bold;
    text-shadow: 0.5px 0.5px rgba(255,255,255,0.3);
    margin-bottom: 1.5rem;
}

/* Gras */
.page b {
    color: rgba(0,0,0,1);
}

/* Liens */
.page a {
    color: rgba(0,0,0,0.85);
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid rgba(0,0,0,0.2);
    transition: border-color 0.3s ease;
}
.page a:hover {
    border-color: rgba(0,0,0,0.8);
}

 /**
 ***********************************************Style de la Page Credits
 */
.page_credits {
	
	margin-top:100px;
	width:100%;
	height: 1075px;
}
.page_credits h1 {
    font-family: riseregular;
    font-size: 35px;
    text-align: center;
    color: white;
}
.page_credits h3 {
    font-family: riseregular;
    font-size: 25px;
    text-align: center;
    color: white;
}
.page_credits  p  {
 font-family: dk_suco_de_laranjaregular;
    font-size: 25px;
    text-align: center;
    color: rgba(0,0,0,0.4);
    font-weight: bold;
    text-shadow: 0.5px 0.5px;
}

.page_credits  a{
  color: rgba(0,0,0,0.8);
  text-decoration:none;

}

/* ===============================
   PORTFOLIO WEB DESIGNER
   =============================== */

/* Section Portfolio Webdesigner uniquement */
/* N'applique Raleway que dans les "cases" */
.portfolio-webdesigner .portfolio-item {
  font-family: 'Raleway', sans-serif;
}

/* Optionnel : tu peux ajuster le style à l'intérieur */
.portfolio-webdesigner .portfolio-item h2 {
  font-weight: 600; /* Semi-bold pour les titres */
}

.portfolio-webdesigner .portfolio-item p {
  font-weight: 300; /* Texte fin */
}

.portfolio-webdesigner .portfolio-item a.btn {
  font-weight: 400; /* Texte du bouton lisible */
}


.portfolio-webdesigner .portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* desktop = 3 colonnes */
  gap: 2rem;
}

.portfolio-webdesigner .portfolio-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.portfolio-webdesigner .portfolio-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.portfolio-webdesigner .portfolio-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.portfolio-webdesigner .portfolio-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.portfolio-webdesigner .portfolio-content h2 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.portfolio-webdesigner .portfolio-content p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.portfolio-webdesigner .portfolio-content .btn {
  align-self: start;
  padding: 0.6rem 1.2rem;
  background: #0077ff;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: bold;
  transition: background 0.3s ease;
}

.portfolio-webdesigner .portfolio-content .btn:hover {
  background: #005ec2;
}


/* ===============================
   PORTFOLIO GRAPHISTE
   =============================== */
.portfolio-graphiste {
  padding: 4rem 2rem;
  max-width: 1400px;
  margin: auto;
  font-family: Arial, sans-serif;
  color: #333;
}

.portfolio-graphiste h1 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.portfolio-graphiste .intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem auto;
  font-size: 1.1rem;
  color: #555;
}

.portfolio-graphiste .portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* desktop = 4 colonnes */
  gap: 1.5rem;
}

.portfolio-graphiste .portfolio-item {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-graphiste .portfolio-item:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.portfolio-graphiste .portfolio-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
}


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

/* Webdesigner responsive */
@media (max-width: 900px) {
  .portfolio-webdesigner .portfolio-grid {
    grid-template-columns: repeat(2, 1fr); /* tablette = 2 colonnes */
  }
}

@media (max-width: 600px) {
  .portfolio-webdesigner .portfolio-grid {
    grid-template-columns: 1fr; /* mobile = 1 colonne */
  }
}

/* Graphiste responsive */
@media (max-width: 1200px) {
  .portfolio-graphiste .portfolio-grid {
    grid-template-columns: repeat(3, 1fr); /* laptop = 3 colonnes */
  }
}

@media (max-width: 900px) {
  .portfolio-graphiste .portfolio-grid {
    grid-template-columns: repeat(2, 1fr); /* tablette = 2 colonnes */
  }
}

@media (max-width: 600px) {
  .portfolio-graphiste .portfolio-grid {
    grid-template-columns: 1fr; /* mobile = 1 colonne */
  }
}

 
  /**
 ***********************************************Style de la Page Contact
 */
.page_contact {
   
    margin: auto;
    width: 55%;
    padding: 20px;

	 margin-top: 150px;
	
}
 
.img_contact {
    width: 367px;
    margin: auto;
}

.page_contact h1 {
    font-family: riseregular;
    font-size: 30px;
    text-align: center;
    color: white;
}

.page_contact p  {
 font-family: dk_suco_de_laranjaregular;
    font-size: 25px;
    text-align: center;
    color: rgba(0,0,0,0.4);
    font-weight: bold;
    text-shadow: 0.5px 0.5px;
}

.page_contact  a{
    font-size: 25px;
    text-align: center;
    color: rgba(0,0,0,0.8);
    font-weight: bold;
    text-shadow: 0.5px 0.5px;
  text-decoration:none;
}

.img_contact img:hover {
	
	    -ms-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
	margin-left:300px;
	
	   -webkit-transition-duration: 3s;
	   -moz-transition-duration: 3s;
    transition-duration: 3s;
	
	
	
}

.img_contact img{
	

	   -webkit-transition-duration: 1s;
	   -moz-transition-duration: 1s;
    transition-duration: 1s;
	
}

}
  /**
 *************************************************************************************************** Tailles écrans media quieries
 */
 

 @media screen and (min-width: 1600px) {
	 
	 
/**
 *********************Style de la Home Page
 */
 
 /*Elément de décor*/
 
.img_montagne  img{
	height:1200px;
	width:200px;
}
}

  @media screen and (max-width: 1380px) {
	  
/**
 *****************Style de la Page Graphiste
 */
.click_img {
    width: 86px;
    height: 100px;
    position: absolute;
    left: 72px;
    top: 730px;
    z-index: -22;
}  


.body_graphiste p  {
 font-family: dk_suco_de_laranjaregular;
    font-size: 28px;
    text-align: center;
    color: rgba(0,0,0,0.4);
    font-weight: bold;
    text-shadow: 0.5px 0.5px;
}

.portfolio {
    width: 1018px;
height: 1782px;
    margin-top: 150px;
    background-color: white;
    margin-left: 15%;
}	  
  }
 
  @media screen and (max-width: 1280px) {
	 
/**
 *********************Style de la Home Page
 */
 
 /*Elément de décor*/	 
.info {
    position: absolute;
    top: 200px;
    width: 202px;
    left: 100px;
}

 
 .info2 {
    position: absolute;
    width: 159px;
    top: 350px;
    right: 80px;
}
.portfolio {
    width: 1018px;
height: 1782px;
    margin-top: 150px;
    background-color: white;
    margin-left: 10%;
} }


  @media screen and (max-width: 1024px) {
	 
/**
 *********************Style de la Home Page
 */
 
 /*Elément de décor*/	 

.portfolio {
    width: 1018px;
height: 1782px;
    margin-top: 150px;
    background-color: white;
    margin-left: 0%;
} 

/**
 ****************Style de la Page Webdesigner
 */
 
 .block_chaboti {
width: 63%;
height: 600px;
margin: auto;
margin-top: 50px;
 }
 
  .block_clowns {
width: 63%;
height: 600px;
margin: auto;
margin-top: 50px;
 }
 
  .block_djp {
width: 63%;
height: 600px;
margin: auto;
margin-top: 50px;
 }
 .block_img {
	 width:650px;
	
 }
  .block_img  img {
	 width:100%;

 }
.block_txt {
    width: 100%;
}

}


 @media screen and (max-width: 980px) {
	 
/**
 *********************Style de la Home Page
 */
 
	.logoyoyo {

    margin-top: 150px; 
}
 


.img_noel {
    position: fixed;
    -ms-transform: rotate(-10deg);
    -webkit-transform: rotate(-10deg);
	   transform: rotate(-10deg);
    width: 188px;
    bottom: 100px;
  
  
}
.img_montagne {
	
	display:none;
}

.img_montagne_mobile {
	
	display:block;
	
	  width: 100%px;
    height: 150px;
    position: fixed;
    bottom: 0px;
    left: 0px;
}
.img_noel {
display:none
}
.img_noel_mobile {
	
	display:block;
    position: fixed;
    -ms-transform: rotate(-7deg);
    -webkit-transform: rotate(-7deg);
    transform: rotate(-7deg);
    width: 150px;
    bottom: 0px;
	left:0px
	
}


.info {
    position: absolute;
    top: 41px;
    width: 189px;
    left: -14px;
}

.img_fond img {
    position: fixed;
    bottom: 0px;
    width: 130%;
    z-index: -2;
    left: -40px;
}

.credits {

    margin-top: 100px;
}

.img_fond .img_fond1{
  
    bottom: -130px;
	width: 115%;

}.img_fond .img_fond2{
   
    bottom: -70px;
	width: 115%;
 
}
 
  /**
 *****************Style de la Page Bonjour
 */
 .page_bonjour {
    margin: auto;
    width: 80%;
}
 /**
 *****************Style de la Page Graphiste
 */
.portfolio {
    width: 100%;
height: 2411px;
    margin-top: 150px;
    background-color: white;
    margin-left: 0px;
}

.image_portfolio img {
  width:100%;
}

.click_img {
    width: 86px;
    height: 100px;
    position: absolute;
    left: 72px;
    top: 919px;
    z-index: -22;
}

.image_portfolio {
    float: left;
    width: 237px;
    height: 237px;
    padding: 2px;
}

.credits_page{
    margin-top: 100px;
    height: 151px;
}

.page_contact {
    margin: auto;
    width: 80%;
    padding: 20px;
	margin-top: 150px;

}

.img_contact img:hover {
	
	    -ms-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
	margin-left:100px;
	
	   -webkit-transition-duration: 3s;
	   -moz-transition-duration: 3s;
    transition-duration: 3s;
	
	
	
}

 }


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

	
.image_portfolio {
    float: left;
    width: 190px;
    height: 190px;
    padding: 3px;
}

.portfolio {
    width: 100%;
height: 1871px;
    margin-top: 150px;
    background-color: white;
    margin-left: 0px;
}

.block_img {
    width: 506px;
}

.block_chaboti {
   
    height: 520px;

}
.block_clowns{
   
    height: 520px;

}

}

@media screen and (max-width: 768px) {
.image_portfolio {
    float: left;
    width: 181px;
    height: 181px;
    padding: 3px;
}
.portfolio {
    width: 100%;
height: 1871px;
    margin-top: 150px;
    background-color: white;
    margin-left: 0px;
}

.competences_img {
    width: 100%;
	margin:none;
}

.competences_img img {
    width: 100%;
}
}

@media screen and (max-width: 640px) {
.menu li a {
    font-size: 80px;
    font-family: riseregular;
    color: white;
    text-decoration: none;
}

.menu {
    text-align: center;
    width: 100%;
    height: 448px;
   
}

.image_portfolio {
    float: left;
    width: 150px;
    height: 150px;
    padding: 3px;
}
.portfolio {
    width: 100%;
height: 1563px;
    margin-top: 150px;
    background-color: white;
    margin-left: 0px;
}

.block_img {
    width: 538px;
    margin-left: -13%;
}

}

  @media screen and (max-width: 480px) {
 .menu li a {
    font-size: 68px;

}

.menu {
    text-align: center;
    width: 100%;
    height: 340px;
  
}

.info {
  display:none;
}

.image_portfolio {
    float: left;
    width: 110px;
    height: 110px;
    padding: 3px;
}

.portfolio {
    width: 100%;
  height: 1161px;
    margin-top: 50px;
    background-color: white;
    margin-left: 0px;
}

.img_contact img {

    width: 220px;
    margin-left: 17%;
}

.block_chaboti {
    width: 100%;
	margin-top: 0px;
	height: 535px;
}

.block_clowns {
    width: 100%;
	margin-top: 0px;
height: 585px;
}

.block_djp {
    width: 100%;
	margin-top: 0px;
	height: 535px;
}

.block_img {
    width: 100%;
	margin-left:0px
	
}


  }
  
    @media screen and (max-width: 360px) {

	/**
 *********************Style de la Home Page
 */
 		
		
/*Menu Principal*/
 .menu li a {
    font-size: 44px;

}

.menu {
    text-align: center;
    width: 100%;
    height: 270px;
    
}
.credits {
  
    font-size: 16px;

}


.image_portfolio {
    float: left;
    width: 100%;
    padding: 3px;
    height: 300px;
}

.portfolio {
    width: 100%;
    height: 1967px;
    margin-top: 50px;
    background-color: white;
    margin-left: 0px;
}

.img_contact img {

    width: 220px;
    margin-left: 5%;
}

.page_credits {
    margin-top: 100px;
    width: 100%;
    height: 1162px;
}
  }
  

    @media screen and (max-width: 320px) {
		
/**
 *********************Style de la Home Page
 */
 
 		
/*Menu Principal*/
 .menu li a {
    font-size: 35px;

}

.menu {
    text-align: center;
    width: 100%;
    height: 231px;
    
}



.page_credits {
    margin-top: 100px;
    width: 100%;
    height: 1162px;
}


  }
  



