\#myVideo {
    position: fixed;
    right: 0;
    bottom: 0;
    object-fit: cover;
    z-index: -1;
    width: 100%;
    height: 100%;
  }



body {
    background-color: #ffffff; 
    font-family: candara;
    color: #4a454b; 
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0;
}

body h2 {
    font-size: 36px;
    font-weight: bold; 
    font-family: 'NOW', sans-serif; 
}

#photo_projet {
    width: 100%; 
    max-width: 600px; 
    height: auto; 
    margin: 20px auto; 
    display: block; 
    border: 2px solid #4a454b; 
    border-radius: 10px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
}

.image-container {
    display: flex; 
    align-items: flex-start; 
    margin-bottom: 20px; 
    margin-left: 1em; 
    gap: 20px; 
}

.image-container img {
    max-width: 500px; 
    height: auto; 
    border-radius: 5px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
}

.image-description {
    flex: 1; 
    font-size: 1em; 
    color: #4a454b; 
    line-height: 1.5; 
}


#bloc_de_droite{
    padding-left: 4em;
    max-height: 84em;
    margin-left: 7%;
    /*background-color: rgba(63, 63, 156, 0.6);*/
    width: 100%;
    
}


#bg_bloc_de_droite {
    width: 100%;
    z-index: 0;
    display: flex;
    flex-direction: column;
    /*background-color: rgba(63, 63, 156, 0.6);*/


}
#bg_bloc_de_droite_sans_couleur {
    width: 100%;  
}

#bloc_de_droite a {
    color: #4a454b;
}

#bloc_de_droite_index{
    padding-left: 6em;
    max-height: 84em;
    margin-left: 7%;
    width: 100%;
}

#bg_bloc_de_droite_index {
    border-bottom: 2px solid #4a454b; 
    padding-bottom: 1px; 
    width: 60.4%;
    z-index: 0;
    display: flex;
    flex-direction: column;
    margin-left: -5.5%;
    padding-left: 6em;
    /*background-color: rgba(63, 63, 156, 0.6);*/
    flex: 2 1 auto;
}

#bg_bloc_de_droite_index a {
    color: #4a454b;
    
}


#debutcv{
    display: flex;
    width: 70%;
    height: 1%;
    /*background: rgba(63, 63, 156, 0.6);*/
    border-radius: 7px;
    margin-top: 2em;
    margin-left: 4em;

}


#pdp img{
    display: flex;
    max-width: 19em;
    border: 1px solid white;
    border-radius: 2px;

}

#premiereligne{
    display: flex;
    flex-wrap: nowrap;
}

#deuxiemeligne{
    display: flex;
    flex-wrap: nowrap;
    font-size: large;
}

table{
    display: flex;
    border-collapse: collapse;
    max-height: 30em;
    max-width: 20em;
    font-size: larger;
    margin-top: 2em;
}

td{
    border: 3px solid black;
    /*background-color: rgba(63, 63, 156, 0.6);*/
}

#Competences{
    width: 70%;
    height: 1%;
    /*background: rgba(63, 63, 156, 0.6);*/
    border-radius: 7px;
    margin-top: 2em;
    margin-left: 4em;
}

#troisiemeligne {
    font-size: large;
    width: 70%;
    height: 1%;
    /*background: rgba(63, 63, 156, 0.6);*/
    border-radius: 7px;
    margin-top: 2em;
    margin-left: 2em;
    position: relative; 
    padding-left: 1em; 
}

#troisiemeligne::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px; 
    height: 100%; 
    background-color: #4a454b; 
}

#troisiemeligne h3::after {
    content: '';
    position: absolute;
    left: -22px; 
    top: 50%; 
    transform: translateY(-50%); 
    width: 10px; 
    height: 10px; 
    background-color: #4a454b; 
    border-radius: 50%; 
}

#troisiemeligne a {
    color: #4a454b;
    
}

#troisiemeligne h3 {
    margin-bottom: 5px; 
    position: relative; 
}

#troisiemeligne p {
    margin-top: 5px; 
}

nav a {
    padding: 0.09em;
    color: white;
    text-decoration: none;
    padding-left: 0.6em;
    width: 100%;
}

nav a h1{
    text-align: left;
}

nav a:hover {
    background: #222934;
    color: rgb(211, 209, 209);
}

nav{
    width: 10em;
    flex-grow:3;
    border-radius: 0.25em;
    display: flex    
    ;flex-direction: column
    ;flex-wrap: nowrap
    ;justify-content: flex-start
    ;align-items: flex-start;

   
}

#nav_container {
    height: 100%;
    background: #323b4c;
    position:fixed;
    z-index: 100000000000
    
}


p{
    font-size:large;
}

#bloc_de_droite_video_yt{
    width: 70% ;
    position: relative;
}

#bloc_de_droite_video_yt::after{
    content:"";
    display: block;
    width: 100%;
    padding-bottom: calc(315/560*100%);
}

iframe{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 10%;
    left: 10%;
}

model-viewer{
    height: 30em;
    }

#d3{
    display: flex;
    flex-direction: row
    ;flex-wrap: wrap
    ;justify-content: space-around
    ;margin-left: 3em;
    margin: 1.5em;

}

#d3 p{
    text-decoration: underline white;
}



body::-webkit-scrollbar {
    width: 8px; 
  }
  
  body::-webkit-scrollbar-track {
    background: rgb(59, 59, 59) ; 
  }
  
  body::-webkit-scrollbar-thumb {
    background-color: rgba(63, 63, 156, 1); 
    border-radius: 20px; 
    border: 1px solid black; 
  }










