/* Pour les écrans de téléphone */
@media (max-width: 600px) {
    .container {
        width: 100%;
        padding: 10px;
    }
}

/* Pour les tablettes */
@media (min-width: 601px) and (max-width: 1024px) {
    .container {
        width: 80%;
    }
}

/* Pour les grands écrans */
@media (min-width: 1025px) {
    .container {
        width: 60%;
    }
}

/* Pour les petits écrans */
@media (max-width: 600px) {
    .image {
        width: 100%; /* Remplit 100% de la largeur de son conteneur */
    }
}

/* Pour les écrans moyens */
@media (min-width: 601px) and (max-width: 1024px) {
    .image {
        width: 80%;
    }
}

/* Pour les grands écrans */
@media (min-width: 1025px) {
    .image {
        width: 60%;
    }
}

/* Pour les petits écrans */
@media (max-width: 600px) {
    body {
        font-size: 14px; /* Réduit la taille de base pour les petits écrans */
    }
}

/* Pour les grands écrans */
@media (min-width: 1025px) {
    body {
        font-size: 18px; /* Augmente la taille de base pour les grands écrans */
    }
}

h1 {
    font-size: clamp(1.5rem, 2.5vw, 3rem); /* Taille qui s'adapte entre 1.5rem et 3rem */
}

/* Styles de base pour la liste */
body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #111;
    margin: 0;
}

.rotating-text {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
    perspective: 1000px; /* Permet de donner un effet de profondeur 3D */
}

.rotating-text li {
    font-size: 3rem;
    font-weight: bold;
    color: #ffffff;
    text-transform: uppercase;
    position: relative;
    animation: rotateText 5s infinite linear;
    transform-origin: center;
    text-shadow: 0 0 10px #ffffff, 0 0 20px #00ffff, 0 0 30px #ff00ff;
}

/* Effet de lumière autour du texte */
.rotating-text li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.7), 
                0 0 40px rgba(0, 255, 255, 0.5), 
                0 0 60px rgba(255, 0, 255, 0.5);
    opacity: 0.5;
    z-index: -1;
}

/* Animation de rotation en 3D */
@keyframes rotateText {
    0% {
        transform: rotateY(0deg) translateZ(0px);
    }
    50% {
        transform: rotateY(180deg) translateZ(20px); /* Rotation avec léger déplacement en avant */
    }
    100% {
        transform: rotateY(360deg) translateZ(0px);
    }
}

/* Animation de pulsation des couleurs */
@keyframes lightPulse {
    0%, 100% {
        text-shadow: 0 0 10px #ffffff, 0 0 20px #ff00ff, 0 0 40px #00ffff;
    }
    50% {
        text-shadow: 0 0 20px #ffffff, 0 0 30px #ff00ff, 0 0 50px #00ffff;
    }
}

/* Applique la pulsation aux éléments */
.rotating-text li {
    animation: rotateText 5s infinite linear, lightPulse 3s infinite alternate;
}



body{
    color: #eee;
    font-family: Poppins;
    margin: 0;
    background-image:
    repeating-linear-gradient(
        to right, #2d2a44 0 1px, transparent 2px 200px
    ),
    repeating-linear-gradient(
        to bottom, #2d2a44 0 1px, transparent 2px 200px
    ),
    radial-gradient(
        at 50% 50%, #2d2a44, #1d1b34
    );
}
::-webkit-scrollbar{
    width: 0;
}
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
}
header img{
    width: 30px;
}
header{
    width: min(1200px, 90vw);
    margin: auto;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header nav ul{
    display: flex;
    gap: 30px;
}
main{
}
main .banner{
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    text-align: center;
    margin-top: -70px;
}
h1, h2, h3, h4, h5, h6{
    font-weight: 500;
}
.banner button{
    all: unset;
    border: 1px solid #afaeae55;
    padding: 10px 20px;
    border-radius: 20px;
    background-image: linear-gradient(
        to bottom, #eee1, transparent, #eee1
    );
    cursor: pointer;
    transition: 0.5s;
}
.banner button:hover{
    background-color: #c691e6;
    color: #040018;
    box-shadow: 0 0 50px #c691e6;
    
}
h1{
    --to: left;
    font-size: 4em;
    font-weight: bold;
    background-image: linear-gradient(
        to var(--to), #89a5df, #e46e7f, #e8e191
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    line-height: 1em;

}
h1.right{
    --to: right;
}

.banner{
    position: relative;
}
.banner #dotsCanvas{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

#dotsCanvas {
    position: absolute;
    z-index: -1; /* Le canvas sera derrière les autres éléments */
}
#dotsCanvas {
    pointer-events: none; /* Empêche les événements de souris d'affecter le canvas */
}

/* Style pour que les liens ressemblent à des boutons */
ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    display: inline-block;
    margin-right: 10px;
}

/* Style pour les liens en tant que boutons */
.btn {
    text-decoration: none;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    transition: background-color 0.3s;
    z-index: 10; /* Ajoutez ce z-index */
    position: relative; /* Assurez-vous que le bouton est en position relative */
}


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

.master {
    color: red; /* Choisis la couleur que tu veux pour Master */
}

.kis {
    color: blue; /* Choisis la couleur que tu veux pour Kis */
}
