*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --primary-color: #0A0E27F2;
    --title-color: #fff;
    --sous-title-color: #00FFFF;
    --text-color: #B0B0B0;
    --CS2-color : #FFA500;
    --legent-color : #0096FF;
    --valorant-color : #FF4655;
    --text-btn: #0A0E27;
    --background-Btn: linear-gradient( 135deg , #00FFFF 20% ,  #0099FF );
    --gradient-1: linear-gradient( #0A0E27,#1A1F3A );
    --gradient-2: linear-gradient(120deg,#ff00ff34,#00ffff34 );
    --radial-1: radial-gradient(circle at 2% 10%, #00FFFF -100%  , #00FFFF -100%,transparent 40%);
    --radial-2: radial-gradient(circle at 98% 96%, #FF00FF -100%  , #FF00FF -100% , transparent 40%);
    --gradient-3: linear-gradient(120deg,#fff,#00FFFF);
}

body{
    font-family: sans-serif;
    background-color: #0A0E27;
    display: flex;
    flex-direction: column;

}


/* ----- header -------- */
header{
    height: 80px;
    background-color: var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px 17px 40px;
}
header h1{
    font-weight: bold;
    font-size: 27.5px;
    letter-spacing: -0.5px;
    color: var(--title-color) ;
    margin-left: 20px;
}

span{
    font-weight: bold;
    font-size: 27.5px;
    letter-spacing: -0.5px;
    color: var(--sous-title-color);
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
nav ul{
    display: flex;
    list-style: none;
    gap: 32px;

}

nav ul li a{
    text-decoration: none;
    color: var(--text-color);
}

nav button{
    margin-left: 20px;
}

a{
    text-decoration: none;
    color: var(--primary-color); 
    font-size: 18px;
}

button{
    background-image: var(--background-Btn);
    color: #0A0E27;
    font-weight: bold;
    font-size: 14.6px;
    padding: 12px 30px ;
    border: 1px solid #000000;
    border-radius: 8px;
    cursor: pointer;
}

button a{
    padding: 8px 10px;
}

/* --------- footer -----------  */
footer{
    margin-top: 10rem;
    background-image: linear-gradient(to bottom,#0a0e27ce,#050812);
}
.social_fot{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.imformation_fot{
    width: 254px;
}

.imformation_fot ul{
    list-style: none;
}

.imformation_fot li , .imformation_fot p{
    color: var(--text-color);
    margin: 10px 0;
}

.social_media{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.social_media div{
    width: 40px;
    height: 40px;
    background-color: #00ffff1a;
    border: 1px solid #00ffff4e;
    padding: 1px 1px;
    border-radius: 8px;
    text-align: center;
}

.social_media i{
    margin-top: 10px;
    color: #00FFFF;
}
.addres_fot{
    border-top: 1px solid #0095ff30;
    height: 4rem;
    width: 70%;
    margin: 0 auto;
}

.addres_fot p {
    text-align: center;
    margin-top: 20px;
    color: #B0B0B0;
}


/* ------ home page ------- */
main{
    display: flex;
    justify-content: center;
    align-items: center;

}
section{
    width: 100%;
    display: block;
    margin-bottom: 30px;
}
.container{
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}

.page_home{
    display: flex;
    justify-content: center;
    padding-top:5rem ;
    background: var(--radial-1) ,var(--radial-2) ,var(--gradient-1);
    width: 100%;
    height: 88vh;
}

.content{
    width: 70%;
}

.page_home h2{
    font-size: 79.3px;
    font-weight: Bold;
    line-height: 80.4px;
    background-image: var(--gradient-3);
    color: transparent;
    background-clip: text;
}

.page_home p{
    font-size: 18.6px;
    line-height: 36px;
    color: var(--text-color);
}

 .content p , .commence{
    text-align: center;
    margin-top: 20px;
}

.commence a{
    color: var(--primary-color);
    text-decoration: none;
    padding: 10px 12px;
}

.commence button{
    margin-right: 20px;
    padding: 16px 40px;
}
.savoir{
    background:none;
    border: 2px solid var(--sous-title-color);
    box-shadow: none;
    color: var(--sous-title-color);
}

/* --------- comment ca marche page -----------  */


h2{
   color: #fff;
   font-size: 39.2px;
   font-weight: bold;
   text-align: center;
}

.line{
    width: 100px;
    height: 4px;
    background: linear-gradient(to right , #FF00FF,#00FFFF);
    margin: 20px auto;
}

.rejion{
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
    margin: 0px auto;
    justify-content: center;
    gap: 32px;
}
.comment-ca-marche{
    width: 365.33px;
    height: 326.78;
    border: 1px var(--sous-title-color) solid;
    border-radius: 16px;
    text-align: center;
    background: linear-gradient(120deg,#1a1f3a9a,#0f14289a);
}

.comment-ca-marche div{
    background: var(--gradient-2);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 20px 0;
    margin-left: 9rem;
}

.comment-ca-marche div i {
    color: var(--sous-title-color);
    margin-top: 25px;
    font-size: 30px;
}

 h3{
    font-size: 23.4px;
    font-weight: bold;
    color: #fff;
    line-height: 38.4px;
}

.comment-ca-marche p{
    width: 90%;
    margin: 0 auto;
    color: var(--text-color);
    margin-bottom: 40px;
    margin-top: 20px;
}

/* --------- joueurs -----------  */

.list_joueurs{
    display: flex;
    justify-content:center ;
    flex-wrap: wrap;
    gap: 30px;
    margin-right:20px;
}
.joueur{
    position: relative;
    width: 365.33px;
    border: 1px solid #00ffff33;
    border-radius: 16px;
    background-image: linear-gradient(120deg,#191e38cd,#0f1429cd);
    text-align: center;
}

.joueur img{
    margin-top: 20px;
    width: 80px;
    height:80px ;
    border: 2px var(--sous-title-color) solid;
    border-radius: 50%;
}

.Legends,.CS2,.Valorant{
    width:max-content ;
    padding: 0 5px;
    height: 32px;
    border-radius: 20px;
    margin: 10px auto;
    padding-top: 5px;
}
.Legends{
    background-color: #0095ff33;
    border: 1px solid #0095ff68;
    color:#0096FF ;
}

.CS2{
    background-color: #ffa60033;
    border: 1px solid #ffa60067;
    color: #FFA500;
}

.Valorant{
    background-color: #ff465635;
    border: 1px solid #ff465668;
    color: #FF4655;
}
.span_size{
    font-size: 14.4px;
    margin-left: 15px;
}

.joueur p {
    color: var(--text-color);
    width: 80%;
    margin: 20px auto;
}

.btn_joueur{
    width: 80%;
    margin-bottom: 20px;
}

.online{
    width: 16px;
    height: 16px;
    background-color: #00FF00;
    border: 3px solid #0A0E27;
    border-radius: 50%;
    top: 24px;
    left: 13rem;
    position: absolute;
}

.of{
    background-color: #666666;
}

/* ---------- communauté ----------- */

.list_statistiques{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 20px;
}

.satatis{
    width: 266px;
    height: 179.8px;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.satatis h3{
    font-size: 17px;
    color: #888888;
}
.satatis div{
    font-size: 40.7px;
    font-weight: bold;
    line-height: 76.8px;
    background-image: linear-gradient(315deg ,#FF00FF,#00FFFF);
    background-clip: text;
    color: transparent;
}

h4{
    color: var(--text-color);
}

.cummunaite{
    justify-content: start;
    width:365.33px ;
    height: 257.2px;
}
.span_communt{
  font-size: 15.6px;
  width: fit-content;
  margin-left: 30px;
}

.cummunaite p {
    color: #E0E0E0;
    font-size: 15.1px;
    font-style:italic ;
    line-height: 28.8px;
    margin-top: 30px;
}
.cummunaite small{
    color: #888888;
    margin: 10px 0;
    margin-left: 30px;
    text-align: left;
}

.h3_cummunaite{
   text-align: center;
   margin: 40px 0;
}

/* --------------- recherch ---------- */

.list_serch{
    padding: 40px 0;
    border: 1px solid #00ffff34;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    background-image: linear-gradient(320deg,#0f1428e6,#1a1f3ae6);
}
.list_serch h3{
    text-align: center;
}
.serche{
    margin-top: 20px;
    display: flex;
    justify-content: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.label_recherch{
    color: #00FFFF;
    margin-left:30px ;
    font-size: 14.4px;
}

.serch_select select {
    width: 240px;
    padding: 15px 0;
    padding-left: 19px;
    padding-right: 31px;
    background-color: #0a0e27cd;
    color: var(--text-color);
    border: 1px solid #00ffff4e;
    margin-left: 30px;
    margin-top: 20px;
    border-radius: 8px;
    
}

.serch_select select{
    background-color: var(--primary-color);
}
.btn-serch{
    padding: 15px 81.72px;
    height: 50px;
    align-self: first self-end;
}

/* --------- login ------------ */
.form_login{
    width: 40%;
    padding: 20px 0;
    margin: 5rem auto;
    text-align: center;
    border: 1px solid #00ffff34;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    background-image: linear-gradient(320deg,#0f1428e6,#1a1f3ae6);
}
input{
    width: 350px;
    padding: 15px 0;
    padding-left: 19px;
    padding-right: 31px;
    background-color: #0a0e27cd;
    color: var(--text-color);
    border: 1px solid #00ffff4e;
    border-radius: 8px;
}

.btn_login{
   width: 350px;
   margin: 0 auto;
   margin-top: 20px;
}

/* ----------- information joueur -------------- */
.imformation_joueur{
    display: none;
    height: 100vh;
    width: 100vw;
    position: absolute;
    border: 1px solid #00ffff4e ;
    border-radius: 8px;
    position: fixed;
    color: white;
    top: 0;
    left: -10px;
    z-index: 4;
    cursor: pointer;
}
.bg_valorant{
       background-image: url(profile/valorant.jpg);
}
.bg_legend{
       background-image: url(profile/legend.jpg);
}
.bg_cs2{
       background-image: url(profile/cs2.jpg);
}
.bg_img{
     background-color: #0000005b ;
     height: 100%;
     z-index: 20;
}

.fa-xmark{
    position: absolute;
    transform: translate(550px,30px);
    color: #000000c7;
    font-size: 50px;
    top: 0;
    z-index: 10 ;
}
.imformation_joueur img{
    margin-top: 40px;
    border: none;
    border-radius: 10px;
    width: 100px;
    height: 100px;
}
.imformation_joueur h2{
    margin: 10px 0;
}
.btn_afichage:active + .imformation_joueur{
      color: red;
      display: block;
}
.imformation_joueur:hover{
    display: block;
}

.imformation_joueur table{
    background-color: #000000a7 ;
    margin: 0 auto;
    border-radius: 20px ;
    width: 90%;
    line-height: 2rem;
}
.imformation_joueur table th{
    color: #00FFFF;
}

.imformation_joueur table td{
    color: var(--text-color);
}

.imformation_joueur table td img{
    margin: 0;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: none;
    background-color: none;
}

/* ------------ Annonce ------------- */

.list_annonce{
    width: 70%;
    background: url(profile/game3.jpg) ;
    background-size: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    border: 1px solid #00ffff4e;
    margin: 20px auto;
}

.annonce_row{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 27px;
    text-align: start;
}
.annonce_row input{
    width: 100%;
}
.annonce_colomn input{
    width: 100%;
}
.lable_anonce{
    margin-left:3px ;
    line-height: 44px;
    color: #00FF00;
}
.annonce_colomn{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    margin: 0 auto;
    width: 52%;
}

.annonce_Message{
    padding-bottom: 40px;
}

.annonce_btn{
    width: 40%;
    margin: 20px auto;
    
}

/* ----------- responsive --------- */

aside{
    display: none;
}

.fa-bars{
    display: none !important;
}
@media(max-width : 768px){
    body{
        position: relative;
    }
    header{
        display: none;
    }
    .social_fot{
         justify-content: start;
         margin-left: 5px;
         gap: 20px;
    }
    aside , .fa-bars{
          position: absolute;
    }

    /* ----------- menu --------- */
    .fa-bars{
        display: block !important;
        position: fixed;
        top: 0;
        font-size: 40px;
        color: white;
        width: fit-content;
         cursor: pointer;
        z-index: 10;
    }

    aside{
        position: fixed;
        top: 10px;
        width: 150px;
        background-color: var(--primary-color);
        z-index: 10;
        text-align: center;
        color: white;
        border-radius: 4px;
        border: 1px solid #00ffff34;
        padding-top: 10px;
    }

    .fa-bars:active + aside{
        display: block;
    }
    aside:hover{
        display: block;
    }
    aside ul li {
        margin-bottom: 20px;
    }
     aside ul li a{
        color: #00FFFF;
     }

     h2{
        font-size: 33px;
        margin-top: 50px;
     }

 /* ---------- homme --------- */
    .container{
        height: 80%;
    }
    
    .page_home{
        padding-top: 1rem;
        height: 100vh;
    }

    .content{
        width: 80%;
    }

    .content h2{
        font-size: 55px;
    }   

    .content p{
       font-size: 15.6px;
       line-height: 25px;
    }

    .commence{
        margin-top: 15px;
    }

    .savoir{
        margin-top: 20px;
    }

     /* --------- recherch --------- */
     .serche{
       flex-direction: column;
       align-items: center;
     }

     .btn-serch{
        align-self: center;
     }
    
     .serch_select select{
        margin-top: 0px;
        margin-bottom: 20px;
     }

     .list_serch{
        margin: 0 auto;
        margin-top: 50px;
        width: 90%;
     }

     /* ------------- Annonce ------------ */
     .list_annonce{
        background-repeat: no-repeat;
        background-size: cover;
    }
     .annonce_colomn{
        width: 65%;
     }
     .annonce_btn{
        width: 60%;
     }
     .lable_anonce{
        margin: 0;
     }

     /* ------------- information joueur ------------ */
    table{
        height: 60vh;
        padding-top: 30px;
    }
     table tr{
        display: inline-grid;
        row-gap: 17px;
    }
    th{
        margin-right: 80px;
    }
     th ,td{
        display: grid;
     }

     .flag{
        position : relative;
        left : 34%
     }
}