/* Styles for the buttons */
.custom-button {
    width: 40%;
    height: 300px;
    margin: 10px 5%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

/* Ensure images fit within the buttons and maintain aspect ratio */
.custom-button > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Styles for the titles inside the buttons */
.custom-button > h2 {

    position: absolute;
    bottom: 10px;
    left: 10px;
    width: calc(100% - 20px);
    color: #000;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 5px;/* Styles pour le corps de la page */
main {
    font-family: Arial, sans-serif;
    background-color: #16314e; /* Couleur de fond bleue */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

/* Styles pour le conteneur du texte */
.text-container {
    background-color: #16314e;
    border-radius: 5px;
    text-align: center;
    color: #ffffff; /* Couleur du texte en noir */
    margin: 20px; /* Ajout de marges */
    padding: 20px; /* Ajout de rembourrage */
}

/* Styles pour les boutons */
.context-button, .presentation-button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #16314e;
    color: #fff;
    border: 2px solid #000000; /* Bordure bleue */
    border-radius: 5px;
    cursor: pointer;
  
    transition: background-color 0.3s ease;
    text-decoration: none; /* Supprime le soulignement des liens */
    display: inline-block; /* Pour que les liens se comportent comme des boutons */
}

.context-button:hover, .presentation-button:hover {
    background-color: #0056b3;
    border: 2px solid #0056b3; /* Changement de couleur de bordure au survol */
}

.button-container {
    display: flex;
    justify-content: center;
    align-items: center;}
    
.presentation-button {
        margin-left: 10px; /* Espacement entre les boutons */
}
    margin: 0;
    border-radius: 5px;
    text-align: left;
}

/* Container of the buttons */
.button-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

/* Ensure that the buttons adapt correctly to the width of the page */
@media screen and (max-width: 768px) {
    .custom-button {
        width: 100%;
        margin: 10px 0;
        height: 250px;
    }
}


/* Styles pour la ligne de séparation */
.separator-line {
    width: 100%;
    text-align: center;
    margin-top: 20px; /* Ajustez la marge selon vos besoins */
}

.line {
    border-top: 2px solid #000;
    width: 50%;
    margin: 10px auto;
}

/* Style pour le texte sous la ligne */
.separator-line p {
    margin: 10px 0;
    font-weight: bold;
}
