/* Déclaration des variables */
:root {
--primary-color: #CC0000;
--secondary-color: #CCCCCC;
--background-color: #000000;
--text-color: #999999;
--border-color: #202020;
--border-radius: 16px;
--font-family: 'Oxygen', Roboto, Arial, sans-serif;
--link-color: #0066EE;
}

html, body {
	max-width: 600px;
    height: 100%;
	margin: 0 auto;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 596px;
    margin-left: -300px;
    border-left: 2px solid var(--primary-color);
    border-right: 2px solid var(--primary-color);
    pointer-events: none; /* Permet de cliquer à travers le pseudo-élément */
    z-index: -1;
}

/* Réglages généraux */
body {
    display: flex;
    flex-direction: column;
	background-color: var(--background-color);
	color: var(--text-color);
	font-family: var(--font-family);
    position: relative;
	padding: 0 8px 64px;
	border: 2px solid var(--primary-color);
	border-top: none;
	border-bottom: none;
	border-left-style: solid;
	border-right-style: solid;
	box-sizing: border-box;
}

.site-brand {
	text-align: left;
}

.site-name {
	text-align: left;
	font-size: 1em;
}

.site-name a {
	font-size: 1em;
}

.site-tagline {
	font-size: 0.9em;
}

.fr-note {
  color: var(--link-color);
	font-weight: bold;
}

h1 {
	font-size: 1.4em;
  margin-left: 16px;
  text-align: left;
  color: var(--primary-color);
  font-weight: bold;
}

h2, h3, h4, h5, h6 {
  text-align: center;
}

main, header, footer {
  text-align: center;
}

main {
    flex: 1 0 auto;
    padding-bottom: 42px; /* Espace pour éviter le chevauchement avec le footer */
}

header {
	border: 1px solid var(--border-color);
	height: auto;
	padding: 4px 8px;
}

footer {
	max-width: 580px;
    position: fixed;
    width: inherit;
    flex-shrink: 0; /* Empêche le footer de rétrécir */
    bottom: 0;
    z-index: 10;
    box-sizing: border-box;
    padding: 16px 0 8px;
	margin: 4px 0 0;
}

header, footer {
	border-top: none;
	border-bottom: none;
}

p {
	text-align: justify;
	margin: 16px 8px;
	line-height: 1.32;
}

/* Styles des liens */
a {
  color: var(--secondary-color);
  text-decoration: none;
  font-size: 1.6em;
  font-weight: bold;
}

/* Styles des liens au survol */
a:hover {
  color: var(--link-color);
  text-decoration: underline;
}

img {
	width: 100%;
	height: auto;
	object-fit: cover;
	margin: 32px auto;
}

hr {
	width: 80%;
	border: 1px solid var(--primary-color);
	margin: 32px auto;
}

nav {
	margin: 0px;
	padding: 0px;
}

nav ul {
	background-color: rgba(128, 0, 0, 0.8);
	border: 2px solid var(--primary-color);
  	border-radius: var(--border-radius);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 6px 0;
    margin: 0;
}

nav ul li {
    font-size: 0.6em;
    list-style-type: none;
    flex: 1 1 24%;
}

nav ul li a {
    display: block;
    padding: 2px;
    text-decoration: none;
	color: var(--secondary-color);
    text-align: center;
	text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.4);
	transition: background-color 0.4s;
}

nav ul li a:hover {
    background-color: var(--border-color);
}

.music iframe {
	width: 560px;
	height: 315px;
	border: 0;
	margin-bottom: -4px;
	filter: saturate(0);
}

.first, .karma, .intro, .jff, .sff, .t4f, .twitter, .bluesky, .recon, .music, .pinterest, .tariss, .last {
	margin: 0 auto 60px; /* marge en bas pour ne pas être recouvert par le menu */
	border: 1px solid var(--border-color);
	padding: 4px 8px 24px;
	align-content: center;
	min-height: 80vh;
}

.first, .last {
  text-align: center;
}

/* Styles des titres */
.intro h2 {
  color: var(--primary-color);
  text-align: left;
  margin-left: 8px;
}

.music p {
	font-size: 0.9em;
}

.enjoy {
  font-weight: bold;
  margin: auto;
  color: var(--primary-color);
  text-align: center;
  padding: 16px;
  font-size: 1.6em;
}

.karma {
  font-size: 1.1em;
  margin: 32px auto;
  width: 96%;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  background-color: #101010;
}

.karma div p {
  margin: 32px 16px;
}

.karma-exemple {
  margin: 8px 64px;
  color: #FFFFFF;
  font-style: italic;
}

.karma a {
  font-size: 1em;
  color: var(--link-color);
}

h2, .love, .promo {
	color: var(--primary-color);
	font-weight: bolder;
	text-align: center;
}

.promo {
  font-size: 1em;
}

.center a {
  font-size: 0.9em;
	text-align: center;
  color: var(--primary-color);
}

.right {
  color: var(--secondary-color);
  text-align: right;
  margin: 8px;
}

.end {
	text-align: center;
  font-size: 1.6em;
  padding: 16px 0;
}

.redframe, .qrcode {
	height: auto;
	border: 2px solid var(--primary-color) ;
  	border-radius: var(--border-radius);
	overflow: hidden;
}

.qrcode_container {
  position: relative;
  display: inline-block;
}

.qrcode_container img {
  filter: grayscale(100%); /* Convertit l'image en noir et blanc */
}

.qrcode_container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--primary-color); /* Couleur de la teinte */
  mix-blend-mode: multiply; /* Mode de fusion pour appliquer la teinte */
  opacity: 1; /* Ajustez l'opacité pour contrôler l'intensité de la teinte */
}

.logo {
	width: 64%;
	height: auto;
	object-fit: cover;
	margin: 64px 0;
}

.largesize {
	width: 98%;
	height: auto;
	object-fit: cover;
}

.smallsize {
	width: 64%;
	height: auto;
	object-fit: cover;
}

.discount {
	width: 50%;
	height: auto;
	object-fit: cover;
}

.warning {
	color: var(--link-color);
	text-align: center;
	font-weight: bold;
	font-size: 1.4rem;
}

@media only screen and (max-width: 600px) {
html, body {
	max-width: 98%;
    height: auto;
	margin: 0 auto;
}	

h1 {
	font-size: 0.9em;
}

h1 a {
	font-size: 0.9em;
}
	
main {
    padding-bottom: 2px;
}

p {
	font-size: 0.9em;
	margin: 8px 8px;
}
	
a {
	font-size: 1.2em;
}

footer {
	position: static;
	max-width: 91.4%;
    width: 100%;
	margin: 0 auto;
}
	
nav ul li {
    font-size: 0.6em;
}

nav ul li a {
    padding: 8px 2px;
}

img {
	margin: 8px auto;
}
	
.first, .karma, .intro, .jff, .sff, .twitter, .bluesky, .recon, .music, .pinterest, .tariss, .last {
	margin: 0 auto 60px;
	padding: 4px 2px;
}

.music iframe {
	width: 90%;
	height: auto;
	object-fit: contain;
}
	
.logo, .largesize, .smallsize, .discount {
	width: 90%;
}
	
.enjoy {
	padding: 20px;
}

.warning {
	font-size: 0.9em;
}
.end {
  	font-size: 1em;
}
}

@media only screen and (max-width: 380px) {
.end {
  	font-size: 0.8em;
}
}
.center {
	text-align: center;
}
