body {
    font-family: 'century gothic', calibri, serif;
    font-size: 13px;
    margin: 0;
    padding: 0;
}

.div {
    text-align: center;
}

.div-para {
    text-align: center;
}

.aleft {
    float: left;
    width: 40%; /* Ajustez la largeur en fonction de votre design */
    text-align: center;
}

.experience-visuelle {
    background-color: #f9f9f9;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.experience-visuelle h1 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

.videos {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.video-container {
    flex: 1 1 calc(45% - 10px); /* Ajuste la largeur à 45% de l'écran */
    background-color: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

video {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.commentaire {
    text-align: left;
}

.commentaire h3 {
    margin-bottom: 5px;
    color: #555;
}

.commentaire p {
    font-size: 14px;
    color: #666;
}

.right-certifications {
    float: left;
    width: 40%; /* Ajustez la largeur en fonction de votre design */
    text-align: center;
    padding: 10px; /* Ajout d'espace autour du texte */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optionnel : effet esthétique */
}

h1 {
    font-size: 40px;
    font-weight: normal;
    text-align: center;
}

header {
    height: 100px;
}

footer {
    height: 80px;
    padding-top: 30px;
    text-align: center;
    background-color: #c5c5c5;
    border-top: 2px solid #aaa;
}

nav {
    width: 100%;
    background-color: #424558;
}

nav ul {
    margin: 0;
    padding: 0;
}

nav li {
    list-style-type: none;
    float: left;
}

nav a {
    display: inline-block;
    text-decoration: none;
    padding: 20px 30px;
    color: #fff;
    text-transform: uppercase;
    font-size: 15px;
}

.table {
    display: table;
    margin: 0 auto;
}

.menu-ind:hover, .presentation {
    border-top: 5px solid #4C8;
    background-color: rgba(64, 200, 130, 0.15);
}

.menu-exp:hover, .parcours {
    border-top: 5px solid #f1dc4f;
    background-color: rgba(241, 211, 79, 0.15);
}

.menu-hob:hover, .competences {
    border-top: 5px solid #0070BB;
    background-color: rgba(000, 112, 192, 0.15);
}

.menu-con:hover, .recommandation {
    border-top: 5px solid #e44d26;
    background-color: rgba(228, 77, 38, 0.15);
}

nav li:hover a {
    padding: 15px 30px 20px 30px;
}

section {
    width: 100%;
    min-height: 300px;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.sec {
    margin: 0px 10%;
}

.left {
    float: left;
    width: 30%;
}

.right {
    float: left;
    width: 70%;
}

.cleft, .cright, .sousleft, .sousright {
    width: 50%;
    float: left;
}

.sec::after, .exp::after, .reco::after {
    content: "";
    display: table;
    clear: both;
}

.orange {
    border-top: 5px solid #e47d26;
    background-color: rgba(228, 177, 38, 0.15);
    margin-bottom: 0;
}

.rose {
    border-top: 5px solid #e44d96;
    background-color: rgba(228, 77, 128, 0.15);
    margin-bottom: 0;
}

.vert {
    border-top: 5px solid #5f6;
    background-color: rgba(70, 240, 80, 0.15);
}

.bleu {
    border-top: 5px solid #29c;
    background-color: rgba(30, 152, 212, 0.15);
}

.jaune {
    border-top: 5px solid #f3e241;
    background-color: rgba(240, 255, 69, 0.15);
}

.rouge {
    border-top: 5px solid #e44d26;
    background-color: rgba(228, 77, 38, 0.15);
    text-align: center;
}

.noire {
    border-top: 5px solid #f3e241;
    background-color: rgba(240, 255, 69, 0.15);
}

.leftexp, .aleft {
    width: 45%;
    float: left;
}

.rightexp {
    width: 50%;
    float: left;
    margin-left: 5%;
}

.leftexp img {
    width: 100%;
    max-width: 400px;
}

@media screen and (max-width: 780px) {
    header {
        height: 50px;
    }

    h1 {
        font-size: 28px;
        margin: 20px 0 0 0;
    }

    nav li a {
        font-size: 12px;
        padding: 5px 10px 10px 10px;
    }

    .aleft img {
        width: 80%; /* Réduit la largeur de l'image */
        max-width: 300px; /* Taille maximale pour l'image */
        height: auto; /* Préserve les proportions */
    }
}
