body {
    background-image: url("../image/wave.gif");
    background-repeat: no-repeat;
    background-size: cover;

    margin: 0px;
    display: flex;
    flex-direction: column;
    color: white;
    font-family: monospace;

}
.link{
    text-decoration: none;
    color: white;

}
.link:hover{
    background-color: rgba(255, 0, 0, 0.400);
}
.cv-link {
    font-size: 1.3em;
    text-decoration: none;
    padding: 20px;
    border-radius: 10px;
    color: white;
    background-color: rgba(0, 0, 255, 0.400);
    display: flex;
    justify-content: center;
    align-items: center;
}
.cv-link:hover{
    background-color: rgba(255, 0, 0, 0.400);
}
li {
    font-family: monospace;
}
h1{
    margin-left: 5vh;
    font-size: 2em;
    font-family: monospace;
}
h2{
    
    font-family: monospace;
}
h3 {
    margin-left: 5vh;
    margin: 0;
    font-family: monospace;
    font-size: 1.5em;
}
h4 {
    margin: 0;
    font-family: monospace;
}
p {
    font-family: monospace;
    margin: 0;
}

/*section formation et diplome style */
.forma {
    display: flex;
    flex-direction: column;
    height: 85vh;
  }
.forma h3 {
    margin-left: 5vh;
}
.formation {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    background:rgba(62, 62, 62, 0.646);
    border-radius: 10px;
}
.formation li, h4{
font-size: 1.2em;
}
.formationin{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: top;
    width: 75%;

}
.formart {

    flex-grow: 1;
    padding: 1rem;
}
.formart2 {

    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem;
    width: 25%;

}

.logoplat {
    height: auto;
    inline-size: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    
}


/* section experience profetionnel style*/
.intro {
    height: 250x;
    display: flex;
    flex-direction: row;
    justify-content:space-between;
    align-items: center;
    background:rgba(62, 62, 62, 0.646);
    border-radius: 10px;
}
.intro1 {
    display: flex;
    flex-direction: column;
    width: 30%;

}
.intro2 p{
    width: 70%;
    font-size: 1.2em;
}
.intro2 h3{
    margin-bottom: 3vh;
}
.coordoner li {
    font-size: 1.1em;
}
.photo > img {
    width: 60%;
    border-radius: 10px;
}

.coordoner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 50%;
    margin: 0;
}
.intro2{


    width: 75%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}
/*section exp*/

.media_element{
    padding: 1rem;
    background: rgb(67, 67, 67);
    border-radius: 10px;
    box-shadow: 2ch;
}
.media_element h3 {
    font-size: 1.5em;
}
.media_element > img {
    inline-size: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.media_scroller {
    gap: 1rem;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 25%;
    padding: 1rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
}

/* .media_scroller {
    overflow-x: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .media_scroller::-webkit-scrollbar {
    display: none; 
  } */
  

/*test hover*/

.media_element {
    position: relative;
}

.overlay {
    position: absolute;
    flex-direction: column;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.635);
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;

}

.media_element:hover .overlay {
    opacity: 1;
}
/*parti language*/

.media_element2{
    padding: 1rem;
    background: rgb(67, 67, 67);
    border-radius: 10px;
    box-shadow: 2ch;
}
.media_element2 h3 {
    font-size: 1.5em;
}
.media_element2 > img {
    inline-size: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.media_scroller2 {
    gap: 1rem;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 25%;
    padding: 1rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;

}
/*try */

/* .media_scroller2 {
    overflow-x: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .media_scroller2::-webkit-scrollbar {
    display: none; 
  } */

/*media scroller 3*/

.media_scroller3 {
    gap: 1rem;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 25%;
    padding: 1rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
}
.media_element3 {
    padding: 1rem;
    background: rgb(67, 67, 67);
    border-radius: 10px;
    box-shadow: 2ch;
}
.media_element3 h3 {
    font-size: 1.5em;
}


/*problem here*/
.media_element3 > a > img {
    inline-size: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.media_element3 > a > video {
    inline-size: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;

}
/*problem up*/


/* .media_scroller3 {
    overflow-x: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .media_scroller3::-webkit-scrollbar {
    display: none; 
  } */


/*test scrollbar */

/* Styles spécifiques à WebKit (Chrome, Safari) */
::-webkit-scrollbar {
    width: 8px;
    
  }
  
  ::-webkit-scrollbar-track {
    background-color: #f1f1f100;

  }
  
  ::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 4px;

  }
  
  /* Styles spécifiques à Firefox */
  ::-moz-scrollbar {
    width: 8px;
  }
  
  ::-moz-scrollbar-track {
    background-color: #f1f1f100;
  }
  
  ::-moz-scrollbar-thumb {
    background-color: #888;
    border-radius: 4px;
  }
  
  /* Styles spécifiques à Microsoft (Internet Explorer, Edge) */
  ::-ms-scrollbar {
    width: 8px;
  }
  
  ::-ms-scrollbar-track {
    background-color: #f1f1f100;
  }
  
  ::-ms-scrollbar-thumb {
    background-color: #888;
    border-radius: 4px;

  }

/*style pour tel glhf*/
/* Styles pour les écrans de largeur inférieure à 600 pixels */
@media only screen and (min-width: 320px) and (max-width: 768px) {
    .intro {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items:center ;
        text-align: center;
    }
    .intro2 p {


        text-align: justify;
    }
    .coordoner li{
        list-style: none;

    }
    .intro1 {
     
        width: auto;
    
    }
    .intro2 p{
        width: auto;

    }
.formart2{
    display: none;
}
.forma {
    display: flex;
    flex-direction: column;
    height: 150vh;
    align-items: center;
}
.formationin{
    display: flex;
    flex-direction: column;
}
.media_element3 h3 {
    font-size: 0.9em;
}
.media_scroller3{
    grid-auto-columns: 50%;
}
.media_element2 h3 {
    font-size: 1em;
}
.media_scroller2{
    grid-auto-columns: 50%;
}
.media_element h3 {
    font-size: 1em;
}
.media_scroller{
    grid-auto-columns: 50%;
}
h1{
    font-size: 1.3em;
}
h3 {
    font-size: 1.2em;
}
}
@media screen and (min-width: 769px){
    .forma{
        height: 90vh
    }
}

@media only screen and (min-width: 320px) and (max-width: 426px){
    .forma{
        height: 150vh
    }
}
@media screen and (max-width: 330px){
    .forma{
        height: 90vh
    }
}
/* @media screen and (max-width: 600px) {
    .photo {
        display: none;
    }
    .intro1 {
        width: 50%;
    }
    .intro {
        display: flex;
        flex-direction: column;
    }
    .forma {
        display: flex;
        flex-direction: column;
        height: 120vh;
    }
    .formation {
        display: flex;
        flex-direction: column;
    
    }
    .intro2 p{
        width: 80%;
        font-size: 1.2em;
    }
    .logoplat {
        display: none;
    }
    .formart {
        align-items: center;
        justify-content: center;
        width: 50%;
    }
    .formart2 {
        display: none;
    }
  } */