.all-screen {
    height: calc(100vh - 200px);
    transition: height 0.5s ease;
}
/* Media Query for Smaller Screens */
@media (max-width: 981px) { 
    .all-screen {
        height: calc(100vh - 100px); 
    }
}

.full-screen {
    height: calc(100vh - 60px);
    transition: height 0.5s ease;
}

.full-screen.reduced {
    height: calc(86vh - 60px);
}

/* Media Query for Smaller Screens */
@media (max-width: 981px) { 
    .full-screen {
        height: calc(100vh - 190px); 
    }
}

.profile {
  display: inline-block;
  max-width: 45px;
  max-height: 45px;
  width: 23%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background-color: #ccc;
  text-align: center;
/*
  line-height: 40px;
*/
  font-size: 18px;
  font-weight: bold;
  color: #fff;
}

.initials {
  text-transform: uppercase;
  margin : auto ;
}

#people-list .initials {
    display: flex;                      /* ← Flexbox pour le centrage */
    align-items: center;                /* ← Centre verticalement */
    justify-content: center;            /* ← Centre horizontalement */
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background-color: #ccc;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
}

/* Scorll */
.scroll-indicator {
    position: fixed; 
    bottom: 20px; 
    left: 50%; 
    transform: translateX(-50%); 
    animation: bounce 1.5s infinite; 
    z-index : 1;
    transition: opacity 0.5s ease-in-out;
}

.arrow {
    border: solid white;
    border-width: 0 4px 4px 0;
    display: inline-block;
    padding: 5px;
    transform: rotate(45deg);

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

.direction-sensitive {
	font-size: 24px;
	color: blue;
}

/* Flip icon horizontally in RTL context */
[dir="rtl"] .direction-sensitive {
	transform: scaleX(-1);
}

/* Inner container to provide white background */
.inner-container {
	background-color: #ffffff; /* White background directly behind the image */
	padding: 10px;
	border-radius: 8px; /* Rounded corners for smoothness */
}

/* Optional styling for the image */
.inner-container img {
	display: block;
	max-width: 100%;
	border-radius: 8px;
}

/* Custom styling for a more modern look */
table {
  border-collapse: collapse;
  width: 100%;
  max-width: 800px;
  margin: 20px auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

th, td {
  text-align: left;
  padding: 12px 16px;
}

th {
  background-color: #f2f2f2;
  font-weight: 600;
}

tbody tr:nth-child(even) {
  background-color: #f8f8f8;
}

tbody tr:hover {
  background-color: #e9ecef;
}

#animated-word {
  display: inline-block; /* Ensures smooth animation */
  transition: opacity 0.5s ease-in-out; /* Adjust duration and easing */
}

#animated-word.fade-out {
  opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.countdown-timer {
    text-align: center;
    color: #fff;
    margin-top: 20px;
}

.timer span {
    font-size: 2rem;
    font-weight: bold;
    margin: 0 5px;
}

#cookie-banner {
	position: fixed; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    background: rgba(0, 0, 0, 0.5); 
    color: white; 
    text-align: center; 
    padding: 10px; 
    z-index: 9999; /* Très haut pour passer devant tout */
    font-family: Arial, sans-serif;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.5);
}

#cookie-banner button {
    background-color: #4CAF50; /* Vert pour Accepter */
    color: white;
    border: none;
    padding: 10px 15px;
    margin: 5px;
    cursor: pointer;
    border-radius: 5px;
}

#cookie-banner button#decline-cookies {
    background-color: #f44336; /* Rouge pour Refuser */
}

#container_r {
	max-width: 600px;
	margin: 50px auto;
	padding: 20px;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.step {
	display: none;
	flex-direction: column;
	align-items: center;
}

.step.active {
	display: flex;
}

.reward-selection img {
	width: 80px;
	/* height: 80px; */
	margin: 10px;
	border: 2px solid transparent;
	border-radius: 10px;
	cursor: pointer;
	transition: transform 0.3s, border-color 0.3s;
}

.reward-selection img.selected {
	border-color: #4CAF50;
	transform: scale(1.1);
}

input[type="number"] {
	width: 100px;
	padding: 5px;
	font-size: 16px;
	text-align: center;
	margin: 10px 0;
	border: 1px solid #ccc;
	border-radius: 5px;
}

/*
button {
	padding: 10px 20px;
	font-size: 16px;
	background: #4CAF50;
	color: white;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	transition: background 0.3s;
}

button:hover {
	background: #45a049;
}
*/

.drag-zone {
	margin-top: 20px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}

.drag-item {
	width: 80px;
	height: 80px;
	border: 2px dashed #ccc;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f9f9f9;
	position: relative;
	transition: border-color 0.3s;
}

.drag-item.completed {
	border-color: #FFD700;
	background-color: #FFFBE6;
}

.star {
	font-size: 40px;
	color: #FFD700;
	cursor: grab;
	touch-action: none; /* Désactive le comportement par défaut du navigateur */
	z-index: 1000;
}
.animated-star {
	position: absolute;
	z-index: 1000; /* Toujours au premier plan */
	font-size: 40px;
	color: #FFD700;
	transition: transform 1.5s ease-in-out;
	pointer-events: none; /* Empêche toute interaction */
}

.draggable {
	position: absolute;
	cursor: grab;
	transition: transform 0.1s ease;
}

.rewardText {
	text-align: center;
	margin-top: 20px;
	font-size: 18px;
	font-weight: bold;
	color: green;
}

#rewardOverlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 30px;
	text-align: center;
	flex-direction: column;
	z-index: 1000;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.5s;
}

#rewardOverlay img {
	width: 200px;
	height: auto;
	margin-bottom: 20px;
	animation: bounce 1s infinite;
}

@keyframes bounce {
	0%, 100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-20px);
	}
}

#rewardOverlay.active {
	opacity: 1;
	pointer-events: all;
}

.reset-button {
	margin-top: 20px;
}

/* Modale de tutoriel */
#tutorialModal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 20px;
	z-index: 2000;
}

#tutorialModal .modal-content {
	background: #fff;
	color: #333;
	padding: 20px;
	border-radius: 10px;
	text-align: center;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

#tutorialModal button {
	margin-top: 20px;
}

/*******************/
.pagination {
/*
    text-align: center;
    margin-top: 20px;
*/
	display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.pagination a {
    display: inline-block;
    padding: 10px 15px;
    margin: 5px;
    border-radius: 5px;
    text-decoration: none;
    background-color: #007bff;
    color: white;
    font-weight: bold;
}

.pagination a:hover {
    background-color: #0056b3;
}

.pagination .prev-btn {
    margin-right: 10px;
}

.pagination .next-btn {
    margin-left: 10px;
}

/******************/

#btnAccessibilite {
    position: fixed;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #088DCD;
    color: white;
    font-size:32px;
    border: none;
    border-radius: 50%;
    padding: 0px 8px;
    cursor: pointer;
    z-index: 1000;
}
#menuAccessibilite {
    display: none;
    position: fixed;
    right: 60px; 
    top: 50%;
    transform: translateY(-50%);
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
}
.text-augmentee { font-size: 1.2em; }
.text-diminuee { font-size: 0.8em; }
.niveaux-de-gris { filter: grayscale(100%); }
.contraste-eleve { filter: contrast(150%); }
.contraste-negatif { filter: invert(100%); }
.arriere-plan-clair { background-color: #ffffff; color: #000000; }
.souligner-liens a { text-decoration: underline; }
.police-lisible { font-family: Arial, sans-serif; }

.honeypot { display: none; }

html body #tarteaucitronRoot #tarteaucitron .tarteaucitronAllow, 
html body #tarteaucitronRoot #tarteaucitronAlertBig .tarteaucitronAllow, 
{
    background: #4CAF50!important;
    color: white!important;
}

html body #tarteaucitronRoot #tarteaucitronAlertBig .tarteaucitronAllow {
    font-size: 0 !important;
}

html body #tarteaucitronRoot #tarteaucitronAlertBig .tarteaucitronAllow:after {
    content: "Accepter";
    font-size: 16px;
}

html body #tarteaucitronRoot #tarteaucitronAlertBig .tarteaucitronCTAButton {
    background-color: #0177B6 !important;  /* Vert */
    color: white !important;
    border: none !important;
}

html body #tarteaucitronRoot #tarteaucitronAlertBig .tarteaucitronCTAButton:hover {
    background-color: #0A8CCB !important;
}
html body #tarteaucitronRoot #tarteaucitron .tarteaucitronDeny,
html body #tarteaucitronRoot #tarteaucitronAlertBig .tarteaucitronDeny, 
{
    background: #f44336!important;
    color: white!important;
}
html body #tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronCloseAlert 
{
    background: rgba(0, 0, 0, 0.4)!important;
    color: white!important;
}
html body #tarteaucitronRoot #tarteaucitronDisclaimerAlert {
        color: white;
}
html body #tarteaucitronRoot #tarteaucitronAlertBig {
        background: rgba(0, 0, 0, 0.4);
        color: white;
        font-size: 12px;
        text-align: center;
        padding: 10px;
}
html body #tarteaucitronRoot #tarteaucitronAlertBig button {
		background: rgba(0, 0, 0, 0.15);
        color: white;
        border: none;
        padding: 10px 15px;
        cursor: pointer;
        margin: 5px;
        border-radius: 5px;
}
html body #tarteaucitronRoot #tarteaucitronAlertBig button:hover {
    -webkit-box-shadow: 0 0 10px #fff;
    -moz-box-shadow: 0 0 10px #fff;
    -ms-box-shadow: 0 0 10px #fff;
    -o-box-shadow: 0 0 10px #fff;
    box-shadow: 0 0 10px #fff;
}

*/
.grecaptcha-badge {
    visibility: visible !important;
    opacity: 1 !important;
    left: auto !important;
    right: 20px !important;
    width: 60px !important;
    height: 60px !important;
    bottom: 50px; 
    transition: all 0.3s ease !important;
}

.grecaptcha-badge:hover {
    width: 256px !important;
}
*/
