
@media screen and (max-width: 600px) {
	body {
		font-size: 0.8rem;
	}
	.bottom-note {
		visibility: hidden;
	}
}


body {
	margin: 0;
	padding: 0;
	font-family: Arial, sans-serif;
	background: #222;
	min-height: 100vh;
	max-width: 100vw;
}
header {
	background: #222;
	color: #fff;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px;
}
header h1 {
	font-size: 1.4rem;
}
h2 {
	font-size: 1.3rem;
	text-decoration: underline;
}
h3 {
	font-size: 1rem;
	text-decoration: underline;
}
ul {
	padding: 0;
	margin: 0;
	list-style-type: none;
}
nav {
	display: flex;
}
nav a {
	color: #fff;
	text-decoration: none;
	margin: 0 15px;
}
main {
	height: 100%;
	flex: 1;
	display: flex;
	text-align: center;
}
.black-side {
	background: #000;
	color: #fff;
	padding: 20px;
	flex: 1;
	flex-direction: column;
}
.black-side a {
	color: white;
	text-shadow: 0px 0px 10px #FFFFFF;
	text-decoration: none;
}
/*.black-side td {
border-color: white;
border-right: 2px solid white;
}*/
.white-side {
	background: #fff;
	padding: 20px;
	flex: 1;
	flex-direction: column;
}
.white-side a {
	color: black;
	text-shadow: 0px 0px 10px #000000;
	text-decoration: none;
}
.bottom-note {
	text-align: right;
	font-size: 8px;
}
table {
	margin: 0 auto;
}  
footer {
	background: #222;
	color: #fff;
	text-align: center;
	padding: 5px;
	margin: 0px;
}
.separator {
	width: 100%;
	height: 0;
	border-top: 1px solid #fff;
	margin: 15px 0;
}

.linkTitle {
	width: 25%;
	padding-bottom: 12px;
}
.linkLegend {
	text-align: justify;
	padding: 12px 20px;
}
.linkRating {
	width: 75px;
}
.linkRequirements {
	width: 60px;
}
th {
	color: grey;
}

#fileContentFetch {
	white-space: pre-wrap;
	overflow-wrap: break-word;
	word-break: break-word;
	max-width: 100%;
	padding: 1em;
	border: 1px solid #ddd;
	font-family: 'Courier New', monospace;
	line-height: 1.5;
}

.links-section ul {
	padding-left: 1.5em;
}

.links-section li {
	margin: 0.4em 0;
}

.links-section strong {
	display: inline-block;
	margin-top: 0.4em;
}


.category-item {
	margin-bottom: 0.8rem;
	border-radius: 6px;
	background-color: rgba(127, 127, 127, 0.1); 
}

.category-item summary {
	font-weight: bold;
	padding: 12px 15px;
	cursor: pointer;
	list-style: none; /* Cache la flèche par défaut */
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-radius: 6px;
	transition: background-color 0.2s ease;
}

.category-item summary::-webkit-details-marker {
	display: none; 
}

.category-item summary:hover {
	background-color: rgba(127, 127, 127, 0.2);
}

.category-item summary::after {
	content: '▼';
	font-size: 0.8em;
	opacity: 0.7;
	transform: rotate(-90deg);
	transition: transform 0.3s ease;
}

.category-item details[open] summary::after {
	transform: rotate(0deg);
}

.link-list {
	list-style: none;
	margin: 0 0 0 20px;
	padding: 5px 15px 15px 15px;
	border-left: 2px solid rgba(127, 127, 127, 0.3);
}

.link-list li {
	margin-bottom: 12px;
	position: relative;
}

.link-list li:last-child {
	margin-bottom: 0;
}

.link-list li::before {
	content: '';
	position: absolute;
	left: -15px;
	top: 10px;
	width: 8px;
	height: 2px;
	background-color: rgba(127, 127, 127, 0.4);
}

.link-list a {
	text-decoration: none;
	color: inherit;
	display: inline-block;
	transition: transform 0.2s ease, opacity 0.2s ease;
	opacity: 0.9;
	line-height: 1.4;
}

.link-list a:hover {
	text-decoration: underline;
	transform: translateX(5px);
	opacity: 1;
}