body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Fond pc */
@media (min-width: 600px) {
    .background {
        background-image: url("../../images/bgtuto.jpg");
        background-size: cover;
        background-position: center;
        background-attachment: fixed; /* L'image de fond reste fixe lors du défilement */
    }
    .column2 {
        background-color: grey; /* Filtre blanc semi-transparent */
    }
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.container {
    display: flex;
    flex: 1;
    justify-content: center; /* Centre les colonnes horizontalement sur les écrans larges */
}

.column {
    flex: 0.6; /* Définie la taille de la colonne central */
    height: 100%;
    overflow: hidden;
}
.column1, .column3 {
    display: none;
    color: lightgrey;
}
.column2 {
    display: block;
    padding: 2px;
    width: 100%; /* Assure que la colonne 2 prend toute la largeur */
    max-width: 100%;
}

.desktop-only {
    display: none;
}

.content h2 {
    font-size: 16px;
    font-weight: bold;
}
.content h3 {
    font-size: 14px;
    font-weight: bold;
    text-decoration: underline;
}

.haut, .bas {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px;
}

.haut {
    height: 13vh;
    background-color: #6C2D2C;
    color: white;
    opacity: 0.9;
}

.bas {
    height: 7vh;
    opacity: 0.9;
}

.content {
    height: 76.6vh; /*hauteur de la page*/
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    font-size: 14px;            /*Police 14*/
}
.content img {
    width: 100%; /* Adapte la largeur de l'image à 100% de la largeur de la colonne 2 */
    height: auto; /* Garde le ratio d'aspect de l'image */
    display: block; /* Évite les espaces blancs sous les images */
    margin: 10px 0; /* Optionnel : ajout d'un peu de marge autour des images */
}
/* Nouvel élément pour inner-content */
.inner-content {
    width: 96%;
    margin: auto;
    max-width: 96%;
    align-items: center;
}
.carré {
    width: 50%;
    margin: auto;
}


.b {                            
    font-weight: bold;          /*gras*/
}
.c {
    text-align: center;         /*centrer*/
}
.u {
    text-decoration: underline; /*souligner*/
}
.p11 {
    font-size: 11px;            /*Police 11*/
}
.p16 {
    font-size: 16px;            /*Police 16*/
}
.p18 {
    font-size: 18px;            /*Police 18*/
}
.p30 {
    font-size: 30px;            /*Police 30*/
}
.line {
    width: 85%; /* Largeur de la ligne à 100% de la largeur de la div */
    margin: auto;
    height: 1px; /* Hauteur de la ligne */
    background-color: #000; /* Couleur de la ligne */
}


.btn-redirect {
    width: 90%;
    background: #6C2D2C; /* Couleur de fond verte */
    color: white; /* Couleur du texte */
    border: none; /* Pas de bordure */
    padding: 10px 15px; /* Espacement intérieur */
    margin: center;
    font-size: 16px; /* Taille de la police */
    font-weight: bold; /* Texte en gras */
    border-radius: 25px; /* Bordures arrondies */
    cursor: pointer; /* Curseur pointeur au survol */
    text-align: center; /* Alignement du texte */
    align-items: center;
    text-decoration: none; /* Pas de soulignement du texte */
    display: inline-block; /* Affichage en ligne */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1); /* Ombre portée */
    transition: all 0.3s ease-in-out; /* Transition pour les effets de survol */
    opacity: 0.9;
}

.btn-coaching {
    width: 100%;
    background: #6C2D2C; /* Gradient de fond */
    color: white; /* Couleur du texte */
    border: none; /* Pas de bordure */
    padding: 15px 30px; /* Espacement intérieur */
    font-size: 18px; /* Taille de la police */
    font-weight: bold; /* Texte en gras */
    border-radius: 25px; /* Bordures très arrondies */
    cursor: pointer; /* Curseur pointeur au survol */
    text-align: center; /* Alignement du texte */
    text-decoration: none; /* Pas de soulignement du texte */
    display: inline-block; /* Affichage en ligne */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1); /* Ombre portée */
    transition: all 0.3s ease-in-out; /* Transition pour les effets de survol */
}

.btn-coaching:hover {
    background: #cc4016; /* Gradient de fond */
    box-shadow: 0 15px 20px rgba(0, 0, 0, 0.3); /* Ombre plus prononcée au survol */
    transform: translateY(-5px); /* Déplacement vers le haut au survol */
}

@media (min-width: 600px) {                                                                 /* PC et Tablettes*/
    .desktop-only {
        display: block;
        height: 100vh; /* Hauteur de la fenêtre */
        width: 100%;
    }
    .column1, .column3 {
        display: block;
    }
    .column2 {
        flex: 1;
        width: auto; /* Permet à la colonne de s'adapter aux dimensions disponibles */
        min-width: 700px;
    }
        /* Styles pour personnaliser la barre de défilement dans WebKit */
    .content::-webkit-scrollbar {
        width: 12px; /* Largeur de la barre de défilement */
    }

    .content::-webkit-scrollbar-track {
        background-color: #f1f1f1; /* Couleur de fond de la piste (gris clair) */
        border-radius: 10px; /* Bordure arrondie de la piste */
    }

    .content::-webkit-scrollbar-thumb {
        background-color: #6C2D2C; /* Couleur du "pouce" (marron) */
        border-radius: 10px; /* Bordure arrondie du "pouce" */
    }

    .content::-webkit-scrollbar-thumb:hover {
        background-color: #cc4016; /* Couleur du "pouce" au survol (marron plus foncé) */
    }
    .logo {
        display: none;
    }
    .phrase-accroche {
        display: none;
    }
    .pdp {
        display: none;
    }
    .rédigé {
        display: none;
    }
    .twitter {
        display: none;
    }
    .rédigé-2 {
        display: none;
    }
}

@media (min-width: 1440px) {                                                                    /* PC uniquement*/
    .hautc13 {
        height: 19vh;
        align-items: center;
        justify-content: center;
        border: solid 6px grey;
        margin: 5px;
        background-color: black;
        opacity: 0.9;
        color: white;
    }
    /* S'assurer que la colonne prend toute la hauteur */
    .column3 .content {
        height: 100%;
    }
    .logo {
        width: 30%;
        margin: 10px;
        display: block;
    }
    .pdp {
        max-width: 30%;
        display: block;
    }
    .phrase-accroche {
        margin-left: 37.5%;
        margin-right: 5%;
        margin-top: -25%;
        display: block;
        font-size: 18px;
    }
    .rédigé {
        margin-left: 35%;
        margin-right: 5%;
        margin-top: -33%;
        display: block;
    }
    .twitter {
        width: 8%;
        margin-left: 91%;
        margin-top: -11%;
        display: block;
        background-color: grey;
        padding-left: 1%;
        height: 22%;
        background-size: 120%;
    }
    .rédigé-2 {
        margin-left: 35%;
        margin-right: 5%;
        margin-top: 0%;
        display: block;
    }
    .content {
        font-size: 16px;            /*Convertie la police 14 de mobile en police 16 sur pc*/
    }
    .p18 {
        font-size: 20px;            /*Convertie la police 18 de mobile en police 20 sur pc*/
    }
} 

@media (max-width: 599px) {                                                                     /* Mobiles */
    body {
        background-image: url("../../images/bgtutomobile.jpg"); /* Image de fond pour mobile */
        background-size: cover;
        background-position: center;
        background-attachment: fixed; /* L'image de fond reste fixe lors du défilement */
        color: white;
    }
    .background {
        background-color: black;
        opacity: 0.7;
        height: 100%;
        width: 100%;
    }
    .line {
        background-color: lightgrey; /* Couleur de la ligne */
    }
    .container {
        flex-direction: column; /* Colonne sur les petits écrans */
        align-items: center; /* Centre les colonnes sur l'axe principal */
        width: 100%;
        height: 100%;
    }
    .column2 {
        width: 100%; /* Assure que la colonne 2 prend toute la largeur de l'écran */
        flex: 1; /* Permet à la colonne 2 de prendre toute la hauteur disponible */
    }
    }
.btn-redirect {
    margin-left: 3px;
}
}
