body{background:rgb(238, 96, 240);
    font-family: Arial, Helvetica, sans-serif;
    color:black}
h1{color:rgb(23, 23, 145);font-family:'lobster',cursive;
        font-size: 2em ;}
.sql{font-size: 15px; display: inline-flex;
    gap: 20px; }
h2{color:green}
h3{color:rgb(152, 114, 43)}
h4{color:rgb(212, 170, 92)}
h5{color: orange;}
.enligne{display: flex;
         gap: 20px;}
.important{display: inline-block;
    border:5px solid rgb(7, 79, 23);
    padding: 5px;}
.image{width:600px}
.non{display: inline-block;
    border:5px solid rgb(198, 5, 5);
    padding: 5px;}

.banniere{
/* Bannière bleu marine */
    background-color: #0C2B64;
    height: 100px;
    margin: -8px -8px 0 -8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}
/* Logo OMS à gauche */
.logo {
    width: 180px;
    height: auto;
}
/* Les trois menus */
.menu {
    display: flex;
    gap: 50px;
}
/* Texte des menus */
.menu a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
}
/* Effet au passage de la souris */
.menu a:hover {
    color: #0093D5;
}
/*Tableau*/
/* Section compétences */
.competences {
    margin: 20px 0;
    width: 600px;
    max-width: 1000px;
    font-family: Arial, sans-serif;
}
/* Titre */
.competences h2 {
    color: #19234F;
    text-align: center;
    margin-bottom: 25px;
}
/* Tableau */
.competences table {
    width: 100%;
    border-collapse: collapse;
}
/* Cellules */
.competences th,
.competences td {
    padding: 15px;
    border: 1px solid #ddd;
    text-align: left;
}
/* En-tête bleu marine */
.competences th {
    background-color: #19234F;
    color: white;
    font-size: 18px;
}
/* Lignes alternées */
.competences tbody tr:nth-child(even) {
    background-color: #f2f4f8;
}
/* Effet au passage de la souris */
.competences tbody tr:hover {
    background-color: #e2e8f5;
}
/* Première colonne */
.competences td:first-child {
    font-weight: bold;
    width: 35%;
    color: #19234F;
}
/* ================================== */
/* TABLEAU DES MÉTAPHORES              */
/* ================================== */

/* Titre principal */
main h1 {
    text-align: center;
    font-size: 2.5em;
    margin: 30px 0;
}

/* Tableau général */
main table {
    width: 95%;
    max-width: 1500px;
    margin: 30px auto;
    border-collapse: separate;
    border-spacing: 0;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    line-height: 1.6;
}

/* En-têtes des colonnes */
main th {
    background-color: #19234F;
    color: white;
    padding: 20px;
    font-size: 18px;
    text-align: center;
    border-right: 1px solid white;
}

/* Cellules du tableau */
main td {
    padding: 16px 20px;
    border-bottom: 1px solid #d5dbe5;
    border-right: 1px solid #d5dbe5;
    vertical-align: middle;
}

/* Première colonne : Informatique */
main td:nth-child(1) {
    width: 24%;
    background-color: #e8edf7;
    color: #19234F;
    font-weight: bold;
}

/* Deuxième colonne : Immeuble */
main td:nth-child(2) {
    width: 43%;
    background-color: #fff4df;
    color: #634515;
}

/* Troisième colonne : Corps humain */
main td:nth-child(3) {
    width: 33%;
    background-color: #e8f5e9;
    color: #205c32;
}

/* Lignes alternées : Informatique */
main tr:nth-child(even) td:nth-child(1) {
    background-color: #dce4f2;
}

/* Lignes alternées : Immeuble */
main tr:nth-child(even) td:nth-child(2) {
    background-color: #f9e9ca;
}

/* Lignes alternées : Corps humain */
main tr:nth-child(even) td:nth-child(3) {
    background-color: #d5ecd9;
}

/* Mise en évidence au passage de la souris */
main tr:hover td {
    background-color: #d9e5ff;
    transition: background-color 0.2s ease;
}

/* Cellules sans métaphore */
main td:empty {
    background-color: #f2f2f2 !important;
}

/* Suppression des bordures extérieures inutiles */
main td:last-child,
main th:last-child {
    border-right: none;
}

main tr:last-child td {
    border-bottom: none;
}

/* Adaptation aux petits écrans */
@media screen and (max-width: 768px) {
    main table {
        width: 100%;
        font-size: 13px;
    }

    main th {
        font-size: 14px;
        padding: 10px;
    }

    main td {
        padding: 10px;
    }

    main h1 {
        font-size: 2em;
    }
}
/* Images des métaphores */
.metaphores-images {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 30px auto;
    width: 95%;
}

/* Apparence des images */
.metaphores-images img {
    width: 48%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Adaptation aux téléphones */
@media screen and (max-width: 768px) {
    .metaphores-images {
        flex-direction: column;
    }

    .metaphores-images img {
        width: 100%;
    }
}