/* Reset simple */
html {
    font-size: clamp(12px, 1.5vw, 18px);
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

/* Vidéo en arrière plan */

#background-video{
    position:fixed;
    right:0;
    bottom:0;
    min-width:100%;
    min-height:100%;
    object-fit:cover;
    z-index:-1;
    filter:blur(30px) brightness(100%);
}

/* Bannière */

.banner{
    width:100%;
    height:40vh;

    display:flex;
    flex-direction: column;
    align-items:center;
    justify-content:center;

    position:relative;

    background-color: rgba(241, 234, 183, 0.73);
}

/* Photo */

.photo{
    position:absolute;
    left:20px;
    width: clamp(180px, 20vw, 256px);
    height :clamp(180px, 20vw, 256px);
}

.photo img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:10px;
    border:3px solid white;
}

/* Titre */

.title{
    text-align:center;
    color: black;
    
}

.title h1{
    font-size:6.1rem;
    font-family: "Nunito Sans", sans-serif;
    font-weight: 50;
    
}

.monage p{
    font-size:1.6rem;
    color: black;
    font-weight: 200;
    font-family: "Nunito Sans", sans-serif;
}

/* Sous titre */

.subtitle{

    
    text-align:center;
    margin:80px 100px;
    color: white;
    font-size:1.3rem;
    text-shadow: 0 0 8px black;

    
}



/* Contenu CV */

.container{

    display:flex;
    gap:30px;
    width: 1300px ;
    margin:40px 60px;

}

.sidebar{

    width:450px;

    background: rgba(241, 234, 183, 1);

    padding:20px;

    border-radius:20px;
    color: black;
    
}

.sidebar p{

    font-size: 1.6rem;
    font-weight: 200;
    font-family: "Nunito Sans", sans-serif;
    padding-left: 60px;

}





.sidebar li{
    list-style: none; 
    font-size: 1.6rem;
    font-weight: 200;
    font-family: "Nunito Sans", sans-serif;
    padding-left:20px;
}



.cv{

    flex:1;
    

    display:flex;
    flex-direction: column;
    gap:30px;

}

.formation, .experience {
    

   
    background:rgba(241, 234, 183, 1);

    padding:40px 180px;

    border-radius:20px;

}

.experience h2, .formation h2, .sidebar h2 {
    text-align: center;
    margin-top:20px;
    margin-bottom:40px;
    color: black;
     font-size: 2rem;
    font-weight: 600;
    font-family: "Montserrat", sans-serif;
    margin-top: 15px;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.cv h2:hover {
  transform: scale(1.5); 
  color: #000000;        
}


.cv h4{
    text-align: center;
    margin-bottom:40px;
    color: black;
    font-size: 1.5rem;
    font-weight: 200;
    font-family: "Montserrat", sans-serif;
    margin-top: 15px;
}


.cv li{
    list-style: none; 
    font-size: 1.6rem;
    font-weight: 200;
    font-family: "Nunito Sans", sans-serif;
    padding-left:20px;
    color: black;
    
}


.accordion-content-ex, .accordion-content-forma {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.accordion-header-ex, .accordion-header-forma {
  cursor: pointer;
  background-color: rgba(241, 234, 183, 1);
  color: black;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 2px;
}



.cv p{
    line-height:1.6;
    color: black;
}


.nb {
    font-weight: bold;
}

.unit {
    opacity: 0.8;
}

i {
    font-size: 39px;
    margin-right: 10px;
    font-weight: lighter;
    font-family: "Montserrat", sans-serif;
  
}

ul li::before {
    content: "•";      
    color: black ;       
    font-size: 0.5em;   
    display: inline-block;
    width: 1em;         
    margin-left: -1em;  
}

