/* --- GLOBAL --- */
body {
    margin: 0;
    padding: 0;
    text-align: left;
    overflow-x: hidden;

    background-image: url(https://pod143.neocities.org/img/back.png);
	font-family: monospace;
	font-size: 16px;
	color: #4e4c42; 
	
}

img {
    display: block;
    margin-left: auto;

    
    
}



/* --- Interieur du body --- */

body > * {
    margin-left: auto;
    margin-right: auto;
    display: block;
}




div {
    margin: 0;
}
p {
    margin: 0.3px;
}




/*layoute*/

.layoute{

  display:flex;
  justify-content: center;
  align-content: flex-start;
  gap: 20px
  max-width: 1200px;
  
}



.centere {
    
    max-width: 100%;
    
    border-left: 1px solid #4e4c42;
    border-bottom: 1px solid #4e4c42;
    border-radius: 25px;
    padding: 20px;
    margin: 10px;
    color: #dad4bb;
    
  
}

/* ---------------------------------- */
/*              LAYOUT 3              */
/* ---------------------------------- */
.layout {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

.left, .center, .centerleft, .right {
    padding: 20px;
    margin: 10px;

    border-radius: 6px;

    color: #dad4bb;
}

.center {
    flex: 2;
    max-width: 600px;
    border: 1px solid #4e4c42;
	border-radius: 25px;
    text-align: center;
	background-color: rgba(29, 26, 27, 0.5); /* noir à 40% */
}
.centerleft {
    flex: 2;
    max-width: 600px;
    border: 1px solid #4e4c42;
	border-radius: 25px;
    text-align: left;
	background-color: rgba(29, 26, 27, 0.5); /* noir à 40% */
}



.right {
    flex: 1;
    max-width: 250px;
	border: 1px solid #636154;
	border-radius: 155px;
		background-color: rgba(29, 26, 27, 0.5);
		    text-align: center;
}

.left {
    flex: 1;
    max-width: 250px;
	border: 1px solid #636154;
	border-radius: 155px;
		background-color: rgba(29, 26, 27, 0.5);
		    text-align: center;
}


/* ---------------------------------- */
/*              LAYOUT B              */
/* ---------------------------------- */
.layoutb {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    max-width: 100%;
    margin: 0 auto;
    padding: 10px;
}

.leftb, .centerb, .rightb {
    padding: 20px;
    margin: 10px;

    border-radius: 6px;
    text-align: center;
    color: #dad4bb;
}

.centerb {
    flex: 2;
    max-width: 80%;
    border: 1px solid #4e4c42;
	border-radius: 25px;

	background-color: rgba(29, 26, 27, 0.5); /* noir à 40% */
}



.rightb {
    flex: 1;
    max-width: 10%;
	border: 1px solid #636154;
	border-radius: 75px;
		background-color: rgba(29, 26, 27, 0.5);
}

.leftb {
    flex: 1;
    max-width: 10%;
	border: 1px solid #636154;
	border-radius: 75px;
		background-color: rgba(29, 26, 27, 0.5);
}


/* ---------------------------------- */
/*              LAYOUT C              */
/* ---------------------------------- */
.layoutc {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    max-width: 100%;
    margin: 0 auto;
    padding: 10px;
}

.leftc, .centerc, .rightc {
    padding: 20px;
    margin: 10px;

    border-radius: 6px;
    text-align: center;
    color: #dad4bb;
}

.centerc {
    flex: 2;
    max-width: 60%;
    border: 1px solid #4e4c42;
	border-radius: 25px;

	background-color: rgba(29, 26, 27, 0.5); /* noir à 40% */
}



.rightc {
    flex: 1;
    max-width: 15%;
	border: 1px solid #636154;
	border-radius: 75px;
		background-color: rgba(29, 26, 27, 0.5);
}

.leftc {
    flex: 1;
    max-width: 15%;
	border: 1px solid #636154;
	border-radius: 75px;
		background-color: rgba(29, 26, 27, 0.5);
}


/* ---------------------------------- */
/*              Responsive            */
/* ---------------------------------- */

@media (max-width: 700px) {
    .layout {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .left, .center, .right {
        max-width: 100%;
        margin: 0;
    }

    .footer {
        padding: 15px;
        font-size: 13px;

    }
}

@media (max-width: 600px) {
    body {
        font-size: 14px;
    }

    .container {
        padding: 5px;
    }

    .widget {
        max-width: 100%;
    }

    .rssdog {
        height: 600px;
    }
}

/* Mobile : texte plus petit */
@media (max-width: 600px) {
    table th, table td {
        padding: 8px;
        font-size: 13px;
    }
}

/* ---------------------------------- */
/*        MENU EN HAUT CENTRÉ         */
/* ---------------------------------- */


.menu {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%); /* centre parfaitement */
    display: flex;
    gap: 12px;
    z-index: 9999;

}

.menu a {
    text-decoration: none;

    padding: 8px 14px;
    border-radius: 6px;
    font-size: 16px;
    backdrop-filter: blur(4px);
    transition: 0.2s;
    text-align: center;
}

.menu a:hover {
    background: #4e4c42;
}


.menu a img {
    display: block;
    margin: 0 auto;
}
.layout {
    margin-top: 80px; /* espace sous le menu */
}

/* ---------------------------------- */
/*        ICO ET IMAGES               */
/* ---------------------------------- */


.imgcenter {
    display: flex;
    flex-wrap: wrap;   /* pour rester responsive */
    gap: 3px;          /* espace entre les images */
    justify-content: center; /* ou center si tu veux centrer */
}

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


.icon32 {
    width: 32px;
    height: 32px;
    object-fit: contain;
  text-align:right;
}
	 


.icon33 {
    width: 36px;
    height: 36px;
    object-fit: contain;
      text-align:left;
	
	 
}

.icon34 {
    width: 20px;
    height: 20px;
    object-fit: contain;
	display: block;
    margin-left: 0;
    margin-right: auto;
	float: left;
	
	 
}
.icon35 {
    width: 50px;
    height: 60px;
    object-fit: contain;
	display: block;
	margin-left: auto;
    margin-right: auto;
	float: center;

	 
}

.icon36 {
    width: 2px;
    height: 2px;
    object-fit: contain;
	display: block;

	 
}

.icon40 {
    width: 80px;
    height: 80px;
    object-fit: contain;
	display: block;
	 margin: 0 auto;


	 
}


.icon50 {
    width: 100%;
    height: 100%;
    object-fit: contain;
	display: block;
	 margin: 0 auto;


	 
}


.icon10 {
    width: 15px;
    height: 15px;
    object-fit: contain;
	display: block;
    margin-left: 0;
    margin-right: auto;
	float: left;
	


	 
}



.buttgif {
    display: block;
    margin: 0 auto;

	 
}


/* ---------------------------------- */
/*        TABLEAU                     */
/* ---------------------------------- */
.table-wrapper {
    width: 100%;
    overflow-x: auto; /* permet le scroll horizontal si nécessaire */
}

table {
    width: 100%;
    border-collapse: collapse;

    border-radius: 8px;
    overflow: hidden;
}

table th, table td {
    padding: 10px;

    text-align: center;
    font-size: 15px;
}

table th {
    
    font-weight: bold;
}


/* ---------------------------------- */
/*        EFFECT TEXT                 */
/* ---------------------------------- */


.fadingtext {
	  text-align: left;
	  filter: drop-shadow(0px 1px black) drop-shadow(0 -1px black) drop-shadow(1px 0 black) drop-shadow(-1px 0 black);
	}
	
.text-shadow2 {
text-shadow: -0.5px 0 black, 0 0.5px black, 0.5px 0 black, 0 -0.5px black, 0 0, 1px 1px 4px black;
	}

.text-shadow {
text-shadow: -1px 0 #black, 0 1px #black, 1px 0 #black, 0 -1px #black, 0 0;
	}

.fade-vertical {
  position: relative;
  display: inline-block;
  background: linear-gradient(to bottom, rgba(218,212,187,1), rgba(0,0,0,0));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.writing-vertical {
writing-mode: vertical-rl;
text-orientation: downwards;
}

/* --- latest additions --- */
.latest-additions {
	  text-align: left;
	  
	}
	

/* --- meteo --- */
#meteo-widget {
	text-align: center;
	font-size: 100%;
	
	}

/* --- moon --- */
#moon-box {
	text-align: center;
	
	
	}
	
#moon-sign {
  font-size: 200%;
}
.info2 {
  font-size:12px;
}
	
#moon-emoji {
font-size: 200%;

}
	

/* --- hour --- */
#myClock {
	text-align: center;
	}
.internetTime {
	text-align: center;
	font-family: monospace;
	font-size: 16px;

	}
	
	




/* --- pulse --- */

.pulse-text {
  font-size: 1rem;
  color: #dad4bb;
  text-shadow: 0 0 8px #4e4c42;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.7;
  }
}


/* --- pulse 1 --- */

.pulse-text2 {
  font-size: 1rem;
  color: #dad4bb;
  text-shadow: 0 0 25px #4e4c42;
  animation: pulse 3s ease-in-out;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.7;
  }
}
/* --- blink --- */

.blink {
  color: #dad4bb;
  animation: blink0 4.4s infinite;
}

@keyframes blink0 {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.1; }

}



/* --- blinblack --- */

.blinblack {
  color: #b4af9b;
  animation: blink2 2.2s infinite;
}

@keyframes blink2 {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.1; }
}


/* --- blinkcod --- */

.blinkcod {
  color: #b4af9b;
  animation: blink3 4.4s infinite;
}

@keyframes blink3 {
  0%, 100% { opacity: 1; }

  50% { opacity: 0.6; }
}


.pod::after {
    content: " █";
    animation: blink 4.4s infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* --- dvd --- */

	.dvd {
  position: fixed;
  width: 50px; /* adapte si tu veux */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none; /* ne bloque pas les clics */
}

	.orbit {
  position: fixed;
  width: 100px; /* adapte si tu veux */
  pointer-events: none;
}


.glitch {
  position: relative;
  font-size: 16px;
  font-weight: 700;
  color: #dad4bb;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: glitch-skew 1.5s infinite linear alternate-reverse;
}

/* Couches glitch */
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  clip: rect(0, 900px, 0, 0);
}

.glitch::before {
  left: 2px;
  text-shadow: -2px 0 #b4af9b;
  animation: glitch-anim 2s infinite linear alternate-reverse;
}

.glitch::after {
  left: -2px;
  text-shadow: -2px 0 #636154;
  animation: glitch-anim2 1.5s infinite linear alternate-reverse;
}

/* Animations */
@keyframes glitch-anim {
  0% { clip: rect(10px, 9999px, 40px, 0); }
  20% { clip: rect(50px, 9999px, 80px, 0); }
  40% { clip: rect(20px, 9999px, 60px, 0); }
  60% { clip: rect(70px, 9999px, 100px, 0); }
  80% { clip: rect(30px, 9999px, 50px, 0); }
  100% { clip: rect(0px, 9999px, 30px, 0); }
}

@keyframes glitch-anim2 {
  0% { clip: rect(60px, 9999px, 90px, 0); }
  25% { clip: rect(10px, 9999px, 40px, 0); }
  50% { clip: rect(40px, 9999px, 70px, 0); }
  75% { clip: rect(20px, 9999px, 50px, 0); }
  100% { clip: rect(50px, 9999px, 80px, 0); }
}

@keyframes glitch-skew {
  0% { transform: skew(0deg); }
  20% { transform: skew(2deg); }
  40% { transform: skew(-2deg); }
  60% { transform: skew(1deg); }
  80% { transform: skew(-1deg); }
  100% { transform: skew(0deg); }
}





/* ---------------------------------- */
/*        LINK   TEXT                 */
/* ---------------------------------- */


a, a:visited {
    color: #b4af9b;
	text-decoration: none;
	
}

.border-right {
  border-left-width:1px;
  
}


a:active {
    color: #b4af9b;
}





.texte {
    text-align: left;
       color: #dad4bb;
	   
}

.texteleft {
    text-align: left;
       color: #b4af9b;

}

.texteleftdark {
    text-align: left;
       color: #636154;

}

.texteleft2 {
	    float: left;
    text-align: left;
       color: #b4af9b;
}

.textenoformat {

    text-align: left;
       color: #dad4bb;
}


.texteright2 {
	    float: right;
    text-align: left;
       color: #b4af9b;
}

.texte2 {
    text-align: right;
	color: #b4af9b;
}

.texte3 {
    text-align: right;
	color: #b4af9b;
	 line-height: 1;

}

.texteclair {
    text-align: left;
	color: #b4af9b;
	 line-height: 1;

}


.bold {
  font-weight: bold;
}

.italic {
  font-style: italic;
}

.underline {
  text-decoration: underline;
}

.strike {
  text-decoration: line-through;
}



/* ---------------------------------- */
/*        HR LIGNE V horizontal       */
/* ---------------------------------- */

.ligne-verticale {
    width: 5px;
    height: 100px;
    background-color: #636154;
    margin: auto;
}

.img-line {
  width: 100%;
  height: 16px; /* hauteur de ton image */
  background-image: url("https://pod143.neocities.org/img/ico/pen.png");
  background-repeat: repeat-x;
  background-size: contain; /* ou 16px si tu veux strict */
  margin: 10px 0;
  
}

.broider {
    position: relative;
    padding-bottom: 20px; /* espace pour la bordure */
}

.broider::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 28px; /* hauteur de ta bordure */
    background: url("https://pod143.neocities.org/broider.png") repeat-x;
    background-size: auto 24px; /* adapte la hauteur */
}






/* ---------------------------------- */
/*        GALLERIE PHOTO              */
/* ---------------------------------- */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 15px;
    padding: 10px;
}

.gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

/* Effet zoom au survol */
.gallery img:hover {
    transform: scale(1.5);
}


/* ---------------------------------- */
/*        FOOTER                      */
/* ---------------------------------- */
.footer {
    margin-top: 60px;
    padding: 20px;
    text-align: center;

		background-color: rgba(29, 26, 27, 0.5);  

    font-size: 14px;
 
	


}


.bloc {
    text-align: right;
	margin: 0; 
	padding: 0;
}





/* ---------------------------------- */
/*        CUSID                       */
/* ---------------------------------- */

/* Inverser l'ordre : commentaires en haut, formulaire en bas */
#cusdis_thread > div {
  display: flex !important;
  flex-direction: column-reverse !important;
  font-size: 8px;
  
}

/* Fond général du widget */
#cusdis_thread {
    background-image: url(https://pod143.neocities.org/img/backlight.png);

  padding: 20px;
  border: 1px solid #dad4bb;
  border-radius: 10px;
  

}

/* Commentaires */
#cusdis_thread .cds-comment {
  background: #111;
  border: 1px solid #444;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 8px;
  color: #dad4bb;
}

/* Nom de l'auteur */
#cusdis_thread .cds-comment .cds-comment-header {
  color: #dad4bb;
  font-weight: bold;
}

/* Texte du commentaire */
#cusdis_thread .cds-comment .cds-comment-content {
  color: #eee;
}

/* Formulaire */
#cusdis_thread input,
#cusdis_thread textarea {
  background: #000;
  border: 1px solid #555;
  color: #4e4c42;
  padding: 8px;
  border-radius: 5px;
}

#cusdis_thread button {
  background: #dad4bb;
  border: none;
  padding: 10px 15px;
  color: #dad4bb;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}

#cusdis_thread button:hover {
  background: #dad4bb;
}
/* Supprimer la barre de défilement et laisser le bloc s'étendre */
#cusdis_thread iframe {
  height: auto !important;
  min-height: 600px !important; /* tu peux augmenter si besoin */
  overflow: visible !important;
}




/* ---------------------------------- */
/*        CODE   BOX                  */
/* ---------------------------------- */

  .copy-box pre {
  max-width: 100%;
  max-height: 100px; /* hauteur du bloc */
  overflow: auto;    /* scroll interne */
  white-space: pre-wrap; /* coupe les lignes si nécessaire */
  word-wrap: break-word;
  text-align: left;

}

.copy-box button {
  background: #6a685c;   /* couleur du bouton */
  color: #dad4bb;        /* couleur du texte */
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.copy-box button:hover {
  background: #6a685c;   /* couleur au survol */
}





/* ---------------------------------- */
/*        FOOTER                      */
/* ---------------------------------- */


	
.fixed-bottom-image {
  position: fixed;
  bottom: 16px;           /* distance depuis le bas */
  right: 16px;            /* changez en left:16px pour coller à gauche */
  z-index: 9999;          /* au-dessus du contenu */
  max-width: 500px;       /* taille maximale (ajustez) */
  width: auto;
  height: auto;
  object-fit: contain;


  background: transparent;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Variante centrée en bas */
.fixed-bottom-image.center {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}

/* Variante gauche */
.fixed-bottom-image.left {
  left: 16px;
  right: auto;
}

/* Si l'image est purement décorative et ne doit pas capter les clics */
.fixed-bottom-image.decorative {
  pointer-events: none;
}

/* Responsive : réduire sur petits écrans */
@media (max-width: 480px) {
  .fixed-bottom-image {
    max-width: 80px;
    bottom: 12px;
    left: 12px;
    right: 12px;
  }
}


/* ---------------------------------- */
/*        Image en bas                */
/* ---------------------------------- */
     /* Base position fixe */
.fixed-bottom-wrapper {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 9999;
  display: inline-block;
  pointer-events: auto;
}

/* Si vous voulez centrer en bas */
.fixed-bottom-wrapper.center {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}

/* Image */
.fixed-bottom-image {
  display: block;
  max-width: 180px;
  width: auto;
  height: auto;

  transform-origin: center center;
  transition: transform 200ms ease, opacity 200ms ease;
}

/* Pulse keyframes (légère mise à l'échelle) */
@keyframes pulse-scale {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* Float keyframes (translation verticale pour effet "planer") */
@keyframes float-up {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

/* Classe combinée : on applique les deux animations en alternance.
   On utilise animation-fill-mode: both pour garder transitions propres. */
.pulse-and-float {
  animation:
    pulse-scale 2.2s ease-in-out infinite,
    float-up 3.6s ease-in-out infinite;
}

/* Si vous voulez uniquement pulse ou uniquement float */
.pulse { animation: pulse-scale 2.2s ease-in-out infinite; }
.float { animation: float-up 3.6s ease-in-out infinite; }

/* Pause l'animation au survol pour éviter gêne UX */
.fixed-bottom-wrapper:hover .fixed-bottom-image,
.fixed-bottom-wrapper:focus-within .fixed-bottom-image {
  animation-play-state: paused;
  transform: translateY(0) scale(1);
}

/* Respecter la préférence de réduction des animations */
@media (prefers-reduced-motion: reduce) {
  .pulse-and-float,
  .pulse,
  .float {
    animation: none !important;
    transition: none !important;
  }
}

/* Responsive : réduire la taille sur petits écrans */
@media (max-width: 580px) {
  .fixed-bottom-wrapper {
    bottom: 12px;
    right: 12px;
  }
  .fixed-bottom-image {
    max-width: 100px;
  }
}

/* Utilitaire pour cacher visuellement mais garder accessible */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}