

@font-face {
   font-family:"Lato" ;
   src: url(./assets/Lato-Regular.ttf);
}


/* l'étoile donne du style à TOUS les éléments */
*{
    margin: 0;
    padding: 0;
}

header {
    color: white;

}

html {
    font-size: 19px;
}

.tabs {
    display: flex;   /* met les éléments en ligne  */
    justify-content: center;
    list-style: none;
    padding: 0%;  /* enlève l'espace interne  */
    margin-top: 10px;  /* espace sous le titre  */
    margin-bottom: 10px;
    gap: 80px;
    flex-wrap: wrap;
    width: auto;
    margin-bottom: 40px;

}



.tab {
    flex: 1;

    font-size: 20px;
    min-width: 180px;
    max-width: 200px;
    display: flex;
    justify-content: center; /* centre horizontalement  */
    align-items: center;  /* centre verticalement  */
    color: white;
    background-color: rgb(0, 0, 0);
    padding: 50px;   /* taille de l'onglet  */
    border: 1px solid; color: white;
    cursor: pointer;    /* curseur cliquable  */
    transition: background 0.3s;   /* effet fluide  */
    word-wrap: break-word;/* évite que le texte ne dépasse */
    white-space: normal; /* permet au texte de passer à la ligne  */
    overflow-wrap: break-word; /* assure la coupure du mot sur les navigateurs récents  */
    text-align: center;
    word-wrap: break-word;
    padding-top: 13px;
    padding-bottom: 13px;
}

.tab:hover {
    color: black;
    background-color: white;
}

nav {
    color: white;
}

body{
    font-family: "Lato", sans-serif;
    background-color: rgb(0, 0, 0);
    
    min-height: 100vh;/* VH= 100% de la taille de l'écran(viewport height) */
    
    max-width: 100vw; /* VW= 100% de la largeur de l'écran (viewport width) */
    
    overflow-x: hidden; /* overflow-x hidden=cache ce qui dépasse en largeur */
    
}

p {
    font-size: 20px;
    line-height: 1.5;
 

}



h1 {
    text-transform: uppercase;
    text-align: center;
    /* les tailles de polices doivent être en REM */
    font-size: 5rem;
    color:rgb(255, 255, 255); 
    padding-top: 50px;
    padding-bottom: 30px;
}


.video {
   max-width: 98%;
   margin: 0 auto;
   padding: 10px;
}

.my-video {
    width: 100%;
    height:auto; 
}


.image-container {
    display: flex;
    flex-wrap: wrap;   /* mettre les images sur plusieurs lignes */
    justify-content: center;
    gap: 10px;
    max-width: 98%;
    margin: 0 auto;
}


.image-container img {
    width: 49%;
    height: auto;
   
}

.draw-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    

}

.draw-image img {
    max-width: 98%;
    max-height: 98%;
    height: auto;
    transform: rotate(-90deg) ;
    object-fit: contain;
}


.flexbox {
border: 1px solid;color: white;  
margin: 13px;
padding:15px;
margin-top: 13px;
}

/* FLEXBOX  */
/* sert à répartir équitablement des éléments sur la page  */

.flexbox li {
 list-style: none;
 height: 30px;
 width: 30px;
 margin: 10px;
}

.white-paragraph {
  color: white;
  margin: 20px;
}

.special-modification {
    text-align: center;
    font-size: 1.5rem;
    padding-bottom: 30px ;
}

.title {
    margin-top: 100px;
}

.graphisme {
    max-width: 98%;
    max-height: 800px;
    display: block;
    margin: auto;
}

.animation {
    max-width: 98%;
    margin: 0 auto;
    padding: 10px;
    display: flex;
    height: auto;
}