@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&family=Poppins:wght@300;400;500;600;700&display=swap');
body{
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    font-family: 'Poppins', sans-serif; 
    width: 100%;
}
/*      Scrollbar CSS       */
  /* Pour Firefox */
  * {
    scrollbar-width: none;
    scrollbar-color: #fd1212 #ffffff;
  }

  /* Pour Chrome, Edge, and Safari */
  *::-webkit-scrollbar {
    width: 10px;
  }

  *::-webkit-scrollbar-track {
    background: #ffffff;
  }

  *::-webkit-scrollbar-thumb {
    background-color: #fd1212;
    border-radius: 31px;
    border: 1px solid #ffffff;
  }
  /*CSS de la navbar*/
.navbar{
    background-color: black;
    padding: 10px 10px 0px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo img{
    width: 70px;
    height: 70px;
}

.icon{
    fill: white;
    cursor: pointer;
}

.navbar input, .nav-menu, .dropdown{
    display: none;
    
}


[id^=btn]:checked + ul{
    display: block;
    z-index: 1;

}
[id^=btn]:checked .image{
    z-index: 2; /*pour cacher lorsque le menu est ouvert*/ 
}
.nav-menu{
    background-color: black;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
}

.nav-item a, .drop-item a, .show{
    color: white;
    text-decoration: none;
    line-height: 70px;
    font-size: 1.2rem;
}

.nav-menu a:hover, .show:hover{
    color: red;
}

@media screen and (min-width: 1180px){
    .icon{
        display: none;
    }
    .nav-menu{
        display: initial;
        position: static;
    }
    .nav-item{
        display: inline-block;
        margin-left: 20px;
        position: relative;
    }
    .dropdown{
        position: absolute;
        background-color: black;
        top: 70px;
        right: 0;
        padding-right: 40px;
        width: max-content;
        
    }
    .drop-item{
        padding: 20px 0 20px 0;
    }
    #contact a{
        border: solid 2px red;
        background-color: red;
        color: white;
        border-radius: 30px;
        padding: 10px;
    
    }
    #contact a:hover{
        border: solid 2px red;
        background-color: white;
        color: red;
        border-radius: 30px;
        padding: 10px;
    }
    .nav-item a {
        line-height: 10px;
    }
    .surlignement a::after{
        content: "";
        display: block;
        width: 100%;
        height: 3px;
        margin: 0 ;
        transform: scale(0);
        background: red;
        transition: transform 0.2s ease-in-out;
    }
    .surlignement a:hover::after{
        transform: scale(1);
    }
    
}

/*main*/
main{
    width: 100%;
    height: auto;
    position: relative;
    display: inline-block;
    
}
.maintext , .palmares{
    margin-left: 5%;
}

/*CSS de la bulle et de la mascotte*/
.maintexte{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto; 
    grid-template-areas: "A B";
    margin: 10% 0 10% 0%;
}
#bulle {
    width: 70%;
    grid-area: B;
    height: auto;
    background: red;
    position: relative;
    left: 10%;
    padding: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    color: white;
    display: flex;
    align-items: center
  }
  #bulle:before {
    content: "";
    position: absolute;
    right: 100%;
    top: 45%;
    width: 0;
    height: 0;
    border-top: 13px solid transparent;
    border-right: 26px solid red;
    border-bottom: 13px solid transparent;
  }
/*responsive de la bulle*/
@media screen and (min-width: 768px){
    #bulle span{
        
        font-size: 1.5em;
    }
}
@media screen and (min-width: 1300px){
    #bulle span{
        font-size: 2em;
    }
}
@media screen and (max-width: 600px){
    #bulle span{
        font-size: 0.6em;
    }
}
@media screen and (max-width: 600px){
    .maintexte{
        grid-template-columns: 30% 70%;
    }
    .maintexte .imagebulle img{
        width: 100%;
    }
    .maintexte .imagebulle{
        width: 100%;
        left:0%; 
    }
}
.imagebulle{
    grid-area: A;
    width: 50%;
    height: auto;
    position: relative;
    top:20%;
    left: 60%; 
}
.imagebulle img{
    width: 80%;
}
/*diaporama utilisé dans un tp*/
#Exercice7 {
	
	width: 70%;
	margin:auto;
	height: auto;
	overflow: hidden;
}
#Exercice7 .diapo img{
	height: auto; 
	width: 25%;
}
#Exercice7 .diapo{
	
	width: 400%;
	animation-name: diaporama;
	animation-duration: 10s;
	position: relative;
	animation-direction: alternate;
	animation-timing-function: linear;
	animation-iteration-count:infinite;


}
/*responsive du diporama */
@keyframes diaporama{
	from{
		left:0%; 
	}
	10%{
		left:0%; 
	}
	30%{
		left:-100%; 	
	}
	40%{
		left:-100%;
	}
	60%{
		left:-200%;
	}
	70%{
		left:-200%;
	}
	90%{
		left:-300%; 
	}
	to{
		left:-300%; 

	}
}
/*style de h2*/
.h2titre{
   
    text-decoration: underline;
    text-align: center;
}
.palmares{
    padding-bottom: 50px;
    margin-left: 35%;
}
/*Palmares*/
.differentpalmares{
    display: flex;
    align-items: center;
}
.iconpalmares{
    display: inline-block;
    flex: 0 0 auto; 
    height: 40px;
    width: 40px;
    background-color:red;
    margin: 0 10px 10px 0; 
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: white; 

}
/*roster de l'équipe*/
.titreroster{
    margin-left: 10%;
    text-decoration: underline;
}
table{
    border-collapse: collapse;
    table-layout: fixed;
    width: 80%;
    
    color: white;
    margin-left: 10%;
    text-align: center;
    border-bottom: 2px solid white ;
    
}
thead{
    background-color: red;
    
}
#first{
    text-align: left;
    padding-left: 10%;
    
}
td, th{
    padding: 20px;
    border-bottom: 8px solid white ;
}
.grisclair{
    background-color: #d8d8d8;
}
.grisfoncé{
    background-color: #535353;
}


/*description des coach*/
.coaching{
    margin-left: 10%;
    width: 70%;
}
.coaching h3:not(::first-line){
    margin-top: 10%;
}
.coachdescription{
    display: flex;
    
}
.coachimage{
    width: 30%;
}
.coachimage img{
    width: 100%;
    height: auto;
}
.coachtexte{
    display: flex;
    align-items: center;
}
.coachtexte img{
   margin-left: 10px;
}
.coachteam{
    padding-left: 10%;
}
.coachteam a{
    text-decoration: none;
    color: black;
}
.coachteam a:hover{
    color: red;
}
/*responsive de la partie coach*/
@media screen and (max-width:1000px) {
    .coaching{
        width: 90%;
        margin-left: 5%;
    }
}

/*footer*/
.container{
    max-width: 1170px;
    margin:auto;
    

}
.footer{
    background-color: black;
    padding: 70px 0; 
    
}
.row{
    display: flex;
    flex-wrap: wrap;
     
}
.footer-col{
    width: 43%;
    padding: 0 15px; 
}
.footer-col h4{
    font-size: 18px;
    color:white;
    text-transform: capitalize;
    margin-bottom: 35px;
    font-weight: 500;
    position: relative;
}

.footer-col h4::before{
    content: '';
    position: absolute;
    left:0;
    bottom:-10px;
    background-color: red;
    height: 2px;
    box-sizing: border-box;
    width: 50px;
}
.footer-col ul li:not(:last-child){
    margin-bottom: 10px;
}
.footer-col ul li a{
    font-size: 16px;
    font-weight: 300;
    color: white;
    display: block;
    transition: all 0.3s ease;
    text-decoration: none;

}
.footer-col ul li a:hover{
    color: red;
    padding-left: 5px;
}

.footer-col .social-lien a{
    display: inline-block;
    height: 40px;
    width: 40px;
    background-color: rgba(255, 254, 254, 0.2);
    margin: 0 10px 10px 0; 
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: white;
    transition: all 0.7S ease;

}

.footer-col .social-lien p{
    font-size: 16px;
    font-weight: 300;
    color: white;
    display: block;
}
.footer-col .social-lien a:hover{
    color: #24262b;
    background-color: white;
}
/* le responsive pour le footer */
@media(max-width:570px){
    .footer-col{
        width: 100%;
        padding-top: 50px;
        
    }
    .footer{
        padding-top: 0;
    }
}

