*{
    margin: 0%;
    padding: 0%;
    box-sizing: border-box;
    user-select: none;
    scroll-behavior: smooth;
    overflow-x: hidden;
}


nav{
display: grid;
align-items: center;
grid-template-columns: 1fr auto 1fr;
justify-content: space-between;
padding: 10px 40px;
position: fixed;
top: 0%;
width: 100%;
background-color: rgb(40, 40, 40);
z-index: 9999;
}

#left form {
display: flex;
align-items: center;
justify-content: center;
margin-left: 0%;
gap: 8px;
border: solid, color(white 3px );
border-radius: 5px;
padding: 5px;

}

#mid ul{
display: flex;
list-style: none;
}

#mid li{
margin: 0 15px;
}

#right h1{
font-size: 28px;
}
#logo{color: rgb(255, 7, 7);}
a{
    text-decoration: none;
    color: rgb(255, 255, 255);
}

#s{
    display: flex;
    color: aliceblue;
}
#se{
    border: none;
    background: none;
    outline: none;
    color: aliceblue;
}


#left {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #1f1f1f;          /* cadre */
    border-radius: 8px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

/* focus effect */
#left:focus-within {
    border: 1px solid white;
    box-shadow: 0 0 5px rgba(255,255,255,0.5);
}

#left input {
    border: none;
    outline: none;
    background: transparent;
    color: white;
}

/* icon */
.material-symbols-outlined {
    color: white;
}

#left {
    justify-self: start;   /* left side */
}

#mid {
    justify-self: center;  /* PERFECT center */
}

#right {
    justify-self: end;     /* right side */
}
#left {
    border: 1px solid #000000;
}
a:hover{
    color: red;
    transition: 0.5s;
}
.logo {
    font-size: 28px;
    font-weight: bold;
    color: white; /* Flix */
}

.logo span {
    color: red; /* Fay */
}
.logo {
    letter-spacing: 1px;
}

#s {
    -webkit-appearance: none;  /* Pour Chrome/Safari */
    -moz-appearance: textfield; /* Pour Firefox */
    appearance: none;           /* Standard */
    
    border: none;
    background: none;
    padding: 3px;
    outline: none;
    caret-color: aliceblue;
    color: aliceblue;
   
}

section{
    width: 100%;
    height: 100vh;
    background-color: rgb(22, 22, 22);

}

.container-btn {
    display: flex;
    justify-content: center; /* Centre le bouton horizontalement */
    margin-top: 100px;       /* Donne de l'espace par rapport au contenu du haut */
}

#r {
    color: aliceblue;
    text-decoration: none;   /* Enlève le souligné du lien */
    background-color: #333;  /* Un fond gris pour qu'il ressemble à un bouton */
    padding: 10px 25px;      /* De l'espace interne */
    border-radius: 8px;      /* Bords arrondis */
    transition: 0.3s;        /* Petit effet fluide au survol */
}

#r:hover {
    background-color: #555;  /* Change de couleur quand on passe la souris */
}

/* On s'assure que la section occupe tout l'écran */
section {
    width: 100%;
    height: 100vh; /* vh = hauteur de la vue utilisateur */
    background-color: rgb(22, 22, 22);
    flex-direction: column; /* Aligne les éléments du haut vers le bas */
    justify-content: center; /* Centre verticalement */
    align-items: center;    /* Centre horizontalement */
    margin: 0;
}

/* Le conteneur du bouton */
.center-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Ton bouton stylisé */
#r {
    color: aliceblue;
    text-decoration: none;
    border-radius: 10px;
    transition: 0.3s;
}

#r:hover {
    background-color: aliceblue;
    color: rgb(22, 22, 22);
}

#iframe{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;

}
iframe{
    position: relative;
    width: 60%;
    height: 400px;
}

#h1{
    color: white;
}
#h2{
    color: rgb(255, 255, 255);
}

/* PHONES */
@media (min-width: 481px) and (max-width: 768px){

}




/* SMALL PHONES */
@media (min-width: 300px) and (max-width: 480px){

    #mid ul {
    display: none;
   }

#iframe{
    width: 150%;
        height: auto;
        position: relative;
        right: 100px;
}

}