/*Début de Base*/
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	height: 100vh;
	scroll-behavior: smooth;
	font-family: 'Asap', sans-serif;
	font-size: clamp(16px, 0.5rem + 0.5vw, 24px);
}

body {
	color: black;
	overflow-y: scroll;
	background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-image: url(../images/Tsukasa-Telephone.jpg);
}

a {
	text-decoration: none;
	color: inherit;
}

h1 {
    margin: 0;
	font-family: 'bangers', cursive;
	letter-spacing: 1px;
	color: #FFA500;
	text-shadow: 3px 3px 5px #C084FC;
}
.titre-image{
	display: flex;
    align-items: center;
    gap: 10px; 
}
img{
	z-index: 1;
	cursor: pointer;
	transition: ease-out 0.2s;}
img:hover{transform: scale(1.2);}
/*Début de Tsukasa-Image Animation*/
@keyframes glowBounce {
    0% { transform: translateY(0); filter: brightness(1); }
    20% { transform: translateY(-20px); filter: brightness(1.3); }
    40% { transform: translateY(5px); filter: brightness(1.2); }
    60% { transform: translateY(-15px); filter: brightness(1.3); }
    80% { transform: translateY(3px); filter: brightness(1.2); }
    100% { transform: translateY(0); filter: brightness(1); }
}
.glow-bounce {animation: glowBounce 1.5s ease-in-out;}
/*Fin de Tsukasa-Image Animation*/

/*Début de Tsukasa-Titre Animation*/
@keyframes bounce {
    0% { transform: translateY(0); }
    30% { transform: translateY(-10px); }
    50% { transform: translateY(0); }
    70% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

/* Début de Tenma-Titre Animation */
@keyframes wave {
    0% { transform: translateY(0); }
    30% { transform: translateY(-10px); }
    60% { transform: translateY(5px); }
    100% { transform: translateY(0); }
}
.titre-image h1 {
    display: inline-block;
    cursor: pointer;
}
.tsukasa span.active {animation: bounce 0.6s ease;}
.tenma span.active {animation: wave 0.6s ease;}
.titre-image h1 span {display: inline-block;}
/*Fin de Tsukasa Animation*/
/*Fin de Tenma Animation*/
/*Fin de Base*/

/*Début de Menu Navigation*/
.barre-haut {
	height: 5rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem;
	position: relative;
}

/*Début de Bouton de Menu pour Telephone*/
.btn-nav-principale {
	cursor: pointer;
	border-radius: 50%;
	position: fixed;
	width: 3rem;
	height: 3rem;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 100;
	transition: background-color 300ms, color 300ms;
}
.btn-nav-principale:hover {
	background-color: #c5ce1b;
	color: #c8dfc7;
}

.icone-burger,
.icone-fermer {
	font-size: 2.5rem;
	position: absolute;
}
.icone-fermer {visibility: hidden;}
.icone-burger {display: inline-block;}
/* États des Éléments du Menu Adaptatif*/

#cc-nav-principale:checked ~ .nav-principale {left: 0;}
#cc-nav-principale:checked ~ .barre-haut .icone-burger {display: none;}
#cc-nav-principale:checked ~ .barre-haut .icone-fermer {visibility: visible;}
#cc-nav-principale {display: none;}
/*Fin de Bouton de Menu pour Telephone*/

/*Début de Navigation pour Ordinateur et Tablette*/
.nav-principale {
	background-color: #e1a121;
	color: rgb(125, 175, 255);
	font-size: 1.5rem;
	text-align: center;
	top: 0;
	position: sticky;
	z-index: 10;
	padding-right: 1rem;
	row-gap: 2vh;
}

/*Liens dans les menu*/
.nav-principale a {
	display: inline-block;
	border: transparent 2px solid;
	border-radius: 0.25rem;
	padding: 0.5rem;
	color: #c8dfc7;
	transition: border 300ms, color 300ms;
	text-align: center;
	gap: 10px;
}
.nav-principale a:hover {
	border-color: #C084FC;
	color: unset;
}
/*Fin de Navigation pour Ordinateur et Tablette*/
/*Fin de Menu Overall*/

/*Début de Section Overall*/
main>section {
	margin-top: 1rem;
	padding: 1rem;
}
main>section h2 {
	margin: 0.5rem 0;
	font-family: 'Roboto Slab', serif;
}
main>section p {
	margin-top: 1rem;
	font-size: 20px;
}
/*Fin de Section Overall*/

/*Début de Bouton Retour Haut*/
.btn-retour-haut {
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	cursor: pointer;
	padding: 0.5rem;
	background-color: #d5d165;
	border-radius: 50%;
	box-shadow: 3px 3px 10px 1px rgba(23, 85, 23, 0.5);
}
/*Fin de Bouton Retour Haut*/

/*Début de Section Réseau*/
.wxs-group {
    font-size: 0.9em;
    color: #000000;
}
.wxs-group p {margin-left: 20px;}
.wxs-group h3 {margin-top: 20px;}

/*Début de Emu*/
#Emu {
	color: rgb(230, 83, 173);
	display: flex;
	align-items: flex-end;
}
#Emu-Image{
	z-index: 1;
	margin-bottom: -9px;
}
@keyframes jumpAndRotate {
    0% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(90deg); }
    50% { transform: translateY(0) rotate(180deg); }
    75% { transform: translateY(-20px) rotate(270deg); }
    100% { transform: translateY(0) rotate(360deg); }
}
.jump-rotate {animation: jumpAndRotate 1s ease-in-out;}

.image-section {
    display: flex;
	justify-content: flex-end;
    flex-wrap: wrap;
    margin-top: 20px;
}

.image-section img {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}
.image-section img:hover {transform: scale(1.05);}

/*Fin de Emu*/

/*Début de Nene*/
#Nene {
	color: rgb(60, 163, 60);
	display: flex;
	align-items: flex-end;
}
#Nene-Image{
	z-index: 1;
	margin-bottom: -9px;
}
@keyframes shyWobble {
    0% { transform: scale(1); opacity: 1; }
    30% { transform: scale(0.98) translateX(-3px); }
    60% { transform: scale(1.02) translateX(3px); }
    100% { transform: scale(1); opacity: 1; }
}
.shy-wobble {animation: shyWobble 1s ease-in-out;}
/*Fin de Nene*/

/*Début de Rui*/
#Rui {
	color: #b682ea;
	display: flex;
	align-items: flex-end;
}
#Rui-Image{
	z-index: 1;
	margin-bottom: -9px;
}
@keyframes vanishAppear {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(0.2); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
.vansih-appear {animation: vanishAppear 1.2s ease-in-out;}
/*Fin de Rui*/

/*Début de Saki*/
#Saki {
	color: rgb(168, 168, 2);
	display: flex;
	align-items: flex-end;
}
#Saki-Image{
	z-index: 1;
	margin-bottom: -9px;
}
@keyframes excitedWiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    50% { transform: rotate(-5deg); }
    75% { transform: rotate(3deg); }
}
.wiggle-effect {animation: excitedWiggle 0.4s ease-in-out infinite;}
/*Fin de Saki*/

/*Début de Other-Cards*/
.Other-Cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	/*Ma soeur m'a montré ce nouveau display */
    gap: 20px;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.Other-Cards img {
    width: 240px;
    height: 150px;
    border-radius: 10px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}
.Other-Cards img:hover {transform: scale(1.05);}
/*Fin de Other-Cards*/
/*Fin de Section Réseau*/

/*Début de Tsukasa-Cards*/
.Cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	place-items: center; 
	/*Ma soeur m'a montré ce nouveau display */
    gap: 30px;
    justify-content: center;
    align-items: center;
    padding: 20px;
	max-width: 100%;
    width: 80vw;
    margin: 0 auto;
}
.Cards img {
    width: 300px;
    border-radius: 10px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
	z-index: 0;
}

/*Fin de Tsukasa-Cards*/

/*Début de Footer*/
footer {
    background-color: #c96c0f;
    color: white;
    padding: 20px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
}
footer .footer-content {
    max-width: 1200px;
    margin: 0 auto;
}
footer .wx-icons a {
    margin: 0 10px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
}
footer .wx-icons a:hover {color: #ffcc00;}
/*Fin de Footer*/

/*Début de Medias*/
/*Écrans qui ont un écran de 576 ou plus*/
/*Écrans qui ont un écran de 768px ou moins*/
@media (max-width: 768px) {
	/*Début de Navigation pour Telephone*/
	.nav-principale{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 50%;
	height: 100vh;
	background-color: #0a1191;
	position: fixed;
	top: 0;
    left: -400px;
	padding-left: 1rem;
	transition: left 0.5s ease-in-out;
	}
	.btn-nav-principale:hover {
		background-color: #1436cd;
		color: #c8dfc7;
	}
	/*Fin de Navigation pour Telephone*/

	/*Début de Titre-Image*/
	h1 {
		margin: 0;
		font-family: 'bangers', cursive;
		letter-spacing: 1px;
		color: #ff831dc8;
		text-shadow: 3px 3px 5px #f4a1ff;
	}
	.titre-image{
	justify-content: flex-end;
	width: 100%;
	}
	/*Fin de Titre-Image*/
	p{color: black;}
	/*Début de Footer*/
	footer {
		background-color: #0a4c97;
		color: white;
		padding: 20px;
		text-align: center;
		font-family: 'Roboto', sans-serif;
	}
	/*Fin de Footer*/
	
	/*Début de Bouton Retour Haut*/
.btn-retour-haut {
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	cursor: pointer;
	padding: 0.5rem;
	background-color: #7d65d5;
	border-radius: 50%;
	box-shadow: 3px 3px 10px 1px rgba(23, 85, 23, 0.5);
}
/*Fin de Bouton Retour Haut*/
body {background-image: url(../Tsukasa-Telephone.jpg);}
}

/*Écrans qui ont un écran de 769px ou plus*/
@media (min-width: 769px) {
    body {background-image: url(../Tsukasa-Tablette.webp);}
	.barre-haut {
		display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
	}
	.btn-nav-principale {display: none;}
	.nav-principale {
		position: sticky;
		width: auto; 
        height: auto;
		transform: none;
		column-gap: 1rem;
		padding: 0.5rem;
		font-size: initial;
		transition: none;
	}
	
	main>section {padding: 1rem 4rem;}
	#cc-nav-principale:checked~.barre-haut {color: #072706;}
}
/*Écrans qui ont un écran de 992 ou plus*/
@media (min-width: 992px) {body {background-image: url(../Tsukasa-Ordi.webp);}}

