p {
	color: black;
	font-style: italic;
	font-size: 150%;
	/* From https://css.glass */
	background: rgba(255, 255, 255, 0.26);
	border-radius: 16px;
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(10.5px);
	-webkit-backdrop-filter: blur(10.5px);

}
h1, h2 {
	color: white;
	-webkit-text-stroke-width: 0.5px;
    -webkit-text-stroke-color: black;
	/* From https://css.glass */
	background: rgba(255, 255, 255, 0.26);
	border-radius: 16px;
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(10.5px);
	-webkit-backdrop-filter: blur(10.5px);
}
h3 {
	color: #BE27F5;
	background: white;
	border-radius: 16px;
}

body {
    background-image: url("Images/Testimage2.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    text-align: center;
    max-width: 700px;
    min-width: 320px;
    box-sizing: border-box;
    margin: 0 auto; /* <-- Cela centre le bloc body horizontalement */
    padding: 0 20px; /* Optionnel : pour éviter que le contenu ne touche les bords sur mobile */
}


img {
 	max-width: 100%;
	max-height: 100%;
	display: flex;
    flex-direction: column; 
    align-items: center;  
    text-align: center;    
    gap: 10px;            
    width: 150px;       
    height: 150px;      
    object-fit: contain;
    display: block;
}
.imagemlp {
 height: 200px;
 width: 200px;
    display: flex;
    flex-direction: column; 
    align-items: center;  
    text-align: center;    
    gap: 10px;            
    width: 150px;       
    height: 150px;      
    object-fit: contain;
    display: block;
}
object {

	/* From https://css.glass */
background: rgba(255, 255, 255, 0.26);
border-radius: 16px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(10.5px);
-webkit-backdrop-filter: blur(10.5px);
}
.personnage {
    display: flex;
    flex-direction: column; 
    align-items: center;  
    text-align: center;    
    gap: 10px;            
}

.personnage img {
    width: 150px;       
    height: 150px;      
    object-fit: contain;
    display: block;
}

.nav-box {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 10px;
    width: auto;
    margin: 20px auto;
	display: inline-flex;
		/* From https://css.glass */
background: rgba(255, 255, 255, 0.26);
border-radius: 16px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(10.5px);
-webkit-backdrop-filter: blur(10.5px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
	width: 100%; 
}

.nav-brand {
    font-size: 20px;
    font-weight: bold;
}

.nav-buttons {
    display: flex;
    gap: 10px;
}

.nav-btn {
    padding: 8px 15px;
    background: #007bff;
    color: white;
    border-radius: 5px;
    text-decoration: none;
		/* From https://css.glass */
background: rgba(255, 255, 255, 0.26);
border-radius: 16px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(10.5px);
-webkit-backdrop-filter: blur(10.5px);
}

.nav-btn:hover {
    background: #005fcc;
}#intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.8s ease;
}

/* Logo animé */
#intro-logo {
    width: 150px;
    margin-bottom: 30px;
    animation: logoAnim 2.5s ease forwards;
}

@keyframes logoAnim {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    40% {
        transform: scale(1.6) rotate(0deg);
    }
    70% {
        transform: scale(1.6) rotate(360deg);
    }
    100% {
        transform: scale(1) rotate(360deg);
    }
}

.loading-bar {
    width: 60%;
    max-width: 400px;
    height: 14px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    overflow: hidden;
}

.loading-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #ff00e1, #6a00ff);
    border-radius: 8px;
    transition: width 0.2s linear;
}

combomlp {
			/* From https://css.glass */
background: rgba(255, 255, 255, 0.26);
border-radius: 16px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(10.5px);
-webkit-backdrop-filter: blur(10.5px);
}
#scroll-arrow {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #BE27F5; 
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1000;
    transform: scale(1);
}

#scroll-arrow:hover {
    background-color: #9a1fb1;
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

#scroll-arrow.down::after {
    content: "↓";
    font-size: 24px;
    transition: transform 0.4s ease, opacity 0.2s ease;
}

#scroll-arrow.up::after {
    content: "↑";
    font-size: 24px;
    transition: transform 0.4s ease, opacity 0.2s ease;
}

#scroll-arrow.down {
    transform: rotate(0deg);
}
#scroll-arrow.up {
    transform: rotate(0deg);
}

@keyframes spinAndFade {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: rotate(180deg) scale(1.2);
        opacity: 0.5;
    }
    100% {
        transform: rotate(360deg) scale(1);
        opacity: 1;
    }
}

#scroll-arrow.changing {
    animation: spinAndFade 0.6s ease forwards;
}

footix {
	background-color: white;
	border-radius: 16px;
}

/* Galerie */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Modale pour l'image agrandie */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
    margin-top: 5vh;
}

.modal img {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    margin: auto;
    border-radius: 8px;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close:hover {
    color: #BE27F5;
}

