﻿@import url('https://fonts.googleapis.com/css2?family=Damion&family=Kodchasan:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
    --co1: #FEB568; /* Abricot doré */
    --co2: #68FCFE; /* Cyan clair */
    --co3: #7F5A34; /* Terre cuite */
    --co4: #FEC88E; /* Pêche */
   
    --co1d: #20170d; /* Abricot doré foncé */
   	--co2d: #0D2020; /* Cyan foncé */
    --co3d: #100b07; /* Terre cuite foncé */
    --co4d: #201912; /* Pêche foncé */
    
    --co1l: #fff6ec; /* Abricot doré clair */
    --co2l: #ecffff; /* Cyan clair +*/
    --co3l: #efeae6; /* Terre cuite clair */
    --co4l: #fff8f1; /* Pêche clair */

}

* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
	font-family: "Open Sans", sans-serif;
	font-optical-sizing: auto; border-style: none;
	margin: 0;
	font-size: large;
	color: black;
	background-color: snow;
}

a:link, a:visited {
    color: var(--co3);
    text-decoration:none;
}

a:hover {
    text-decoration:none;
    color: var(--co1);
}

/* Définition de l'animation de rebond */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}

img {
	vertical-align:middle;
}

dt {
	color: var(--co1);
	font-weight:bold;
}

dd {
font-style:italic;
	color: var(--co3);
}

h1, h2, h3, h4, h5, h6 {
	font-family: "Kodchasan", sans-serif;
	text-align:left;
    color: var(--co3);
}

h1 {
	text-align:center;
	font-size: 3em; 
	font-family: "Damion", cursive;
	font-weight: 400;
	color: var(--co3);
	animation: bounce 2s;
}

blockquote {
	padding: 16px;
	margin: auto;
	border-left: thick var(--co3d) outset;
	border-radius: 0 12px;
}

blockquote.big {
    font-size:x-large;
    color: var(--co1);
    text-align:center;
    font-weight:800;
}

.long-caravane {
  width: 200px;
  height: 100px;
  background: #777;
  border-radius: 20px 50px 50px 20px;
  position: relative;
  margin: 50px auto;
}

.long-caravane::before {
  content: "";
  position: absolute;
  bottom: -25px;
  left: 30px;
  width: 30px;
  height: 30px;
  background: #444;
  border-radius: 50%;
  box-shadow: 110px 0 #444;
}

.long-caravane::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 140px;
  width: 40px;
  height: 30px;
  background: #eee;
  border: 2px solid #ccc;
  border-radius: 4px;
}

.forlan-eng {
	font-style:italic;
}

.header-container {
    width: 100%;
	text-overflow: ellipsis;
    padding:0;
    font-size:x-large;
    text-align:center;
    background-color:var(--co1);
    box-shadow: 0 2px 8px 1px rgba(0, 0, 0, 0.1);
    top:0; 
    position: sticky;
    z-index: 1;
}

header {
    background-color:var(--co1);
    width: 100%;
    padding:8px;
    font-size:x-large;
    text-align:center;
}

header a:link, header a:visited {
    color: var(--co3);
    font-variant:small-caps;
    font-weight:bold;
}

header a:hover {
    color: var(--co3d);
}

.topic, .link-menu {
    width: 80%;
    max-width: 800px;
    padding: 8px;
    margin:auto;
 }
 
.link-menu {
	width:80%;
	padding: 0;
	margin: 4px auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: stretch;
}
 
.topic:first-of-type {
    box-shadow: none;
 }
 
 .topic:last-of-type::after {
    content: "";
}
 
.topic:nth-of-type(even) {
   background-color: var(--co3l);
 }
 
 .topic > .link-menu {
	width:100%;
}

.sub-menu {
    display:block;
    width: 100%;
    padding: 0 8px;
    background-color:var(--co4);
    background-image: url('/bgnd_menu.png');
    background-repeat:repeat;
    font-size:large;
    text-align:center;
   	overflow-x: visible;
  	overflow-y: clip;
}

.sub-menu a:link, .sub-menu a:visited {
	display:inline-block;
	padding: 4px;
	margin: 0 2px 0 2px;
    font-variant:small-caps;
    font-weight:bold;
    border:medium transparent solid;
}

.sub-menu a:hover {
	color: var(--co3d);
    border-color: var(--co3);
}

.menu-item-selected {
	background-color: var(--co4l);
	border-radius: 0 16px 16px 0;
	border: none;
}

.menu-item-selected::before {
  content: "◼ ";
}
.title-container {
    display:inline-block;
    width: 100%;
    color: snow;
    background-color:var(--co4);
   text-align:center;
}

.logo, .sub-menu_title {
	font-family: "Kodchasan", sans-serif;

    font-weight:bold;
}

.sub-menu_title {
	display:inline-block;
 	font-variant:small-caps;
 	font-weight:bold;
	padding: 4px;
	margin:0;
	background-color:var(--co3); 
    color: var(--co1l);
    border: medium var(--co3) solid;
}

.logosub {
	font-family: "Damion", cursive;
	font-weight: 400;
	font-size:x-large;
}

.enhanced {
    font-weight:bold;
    color: var(--co3d);
}

.dsbld {
    filter: grayscale(100%);
    background-image:url('/images/archived.png')
}

hr {
    height: 4px;
	width: 100%;
    margin: 20px auto;
    opacity: 0.25;   
}

#here {
	position: fixed;
	padding: 2px;
	margin:0;
	z-index:9;
	display:block;
	opacity:1.0;
	width: 50%;
	border-radius: 100% 0 100% 0;
	box-shadow: 0 -2px 8px 1px rgba(0, 0, 0, 0.1);
	left: 25%;
	bottom:-2px;
	background-color: var(--co1);
	font-family: "Damion", cursive;
	font-weight: 200;
	font-style: normal;
	font-size: 1.5em;
	text-transform: none;
	color: var(--co1d);
	text-align:center;
	text-overflow: ellipsis;
}

#up {
    margin:6px; 
    cursor: pointer;
    position: fixed;
    top:40%; 
    right: 8px;
    z-index:99;
}

#dwn {
    margin:6px; 
    cursor: pointer;
    position: fixed;
    top:calc(40% + 36px); 
    right: 8px;
    z-index:99;
}
img#mainlogo {
    width: auto;
    height: auto;
}

img.img_maker-logo {
    width: 30%;
    height: auto;
    margin: auto 8px auto auto;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.1);
}

img#hdr {
    width: 100%;
    height: auto;
}

img.img100 {
    width:100%;
    height:auto;
}

img.clrd3 {
	background-color: var(--co3);
 	mix-blend-mode: color;
}

.float-right {
	float:right;
	display:inline-block;
	margin-left: 4px;
}

.float-left {
	float:left;
	display:inline-block;
	margin-right: 4px;
}

.centered {
	text-align:center;
}

.peach {
    background-color: var(--co1);
}

.peach a:link, .peach a:visited  {
    color:var(--co3);
}

.peach a:hover {
    color:var(--co3d);
}

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

.flex-container {
	display: flex;
	flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: stretch;
}

.flex-container > div {
    margin: 10px;
    padding: 8px;
	background: repeating-linear-gradient(
    -60deg, 
    var(--co1l),      /* Première couleur */
   var(--co1l)  24px,  /* Largeur de la première couleur */
    var(--co2l) 12px,  /* Deuxième couleur */
    var(--co2l) 36px   /* Largeur totale (4px pour chaque couleur) */
	);
	box-shadow: 0 -2px 8px 1px rgba(0, 0, 0, 0.1);
    border-radius: 8px 32px 8px 4px 
}

.flex-container.type2 > div {
    width: 100%;
    background-color: transparent;
    background: none;
    border: none;
    box-shadow: none;
}

.grow2 {
	flex-grow:2;
}

footer {
    display: block;
    position: absolute;
    width: 100%; 
    min-height:100px;
    padding: 20px 20% 20px 20%;
    background-color: var(--co3);
    color:lightgray;
    box-shadow: 0 -2px 8px 1px rgba(0, 0, 0, 0.1);
    font-size:large;
    text-align:center;
    z-index: 1;
}

li.allLinksItem {
	list-style-type:circle;
	list-style-position: outside;
	text-align:left;
	cursor:help;
}

#footer-rgpd,  #allLinks-container { /* Spécifique RGPD + allLinks */
    display: none;
    position: fixed;
    z-index: 8;
	width: 100%;
    bottom:0;
    background-color: var(--co4d);
    font-size:medium;
    color:var(--co4);
    padding: 20px;
    box-shadow: 0 -2px 8px 1px rgba(0, 0, 0, 0.2);
}

#allLinks-container {
	background-color: var(--co3d);
	width:100%;
	margin: auto;
	height: auto;
	max-height:45%;
	text-align: left;
}

#allExtLinks {
	width: 100%;
	height:100%;
	overflow: auto;

}

footer a:link, footer a:visited, #footer-rgpd a:link, #footer-rgpd a:visited {
    color: var(--co2);
    text-decoration:none;
}

footer a:hover, #footer-rgpd a:hover {
    color: var(--co2);
    text-decoration:none;
}

#closeBtn {
    float:right;
}

.btn1,
.btn2 {
    color:var(--co3);
    background-color:transparent;
    display:inline-block;
    padding:8px;
    margin: 4px;
    flex-basis:30%;
    border-radius: 6px 20px 6px 6px;
    border:thin var(--co1) solid;
    cursor: pointer;
    box-shadow:2px 2px 8px 1px rgba(0, 0, 0, 0.1);
}

.btn2 {
	background-color:var(--co3);
	color:snow;
}

.btn1.small,
.btn2.small {
    padding:6px;
    margin: 4px;
    font-size:small;
}

.btn1.long,
.btn2.long {
	width:100%;
	text-align:center;
}

.btn1:hover,
.btn2:hover {
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2) inset;
}

#js-error {
	display: block;
	position: fixed;
	z-index:999;
	font-size:large;
	background-color: var(--co1d);
	color: snow;
	width:100%;	height:100%;
	margin: auto;
	padding: 10% 20%;
	opacity: 0.99;
}

#js-error > * {
	color:snow;
}

/* RESPONSIVE >>> */

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

header {
    background-color:var(--co1);
    padding:8px;
    font-size:large;
}

	h1 {
		font-size: 2em; 
	}
    .topic, .menu-link {
       padding: 8px 16px 8px 16px;
       width: 100%;
    }
    
    img#mainlogo {
    width: 50px;
    height: 50px;
}
	.flex-container {
	    display: row;
	    flex-direction: row;
	}
	
	.flex-container > div {
	    width: 100%;
	}
	
	    #up, #dwn {
	    width:20px; height:auto;
	}
	
	#here {
		width: 100%;
		right: 0;
		border-radius: 100% 0 0 0;
		
		}
		
	#js-error {
		padding: 5%;
	}

} /* Fin Responsive */

