/* styles.css */

/* Par défaut, le menu est caché */
.navbar-collapse {
    display: none;
}

/* Lorsque le menu est "show", il devient visible */
.navbar-collapse.show {
    display: block;
    transition: display 0.3s ease-in-out;
}

/* Réduire l'image de manière responsive tout en contrôlant sa taille */
#cvImage {
    width: 70%;
    max-width: 1200px;
    height: auto;
    margin-top: 20px;
}

/* Appliquer un masque avec un fort dégradé de transparence sur l'image */
.card-img-top {
    position: relative;
    width: 100%;
    height: auto;
    object-fit: cover;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 100%);
    border: none;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.card {
    border: none;
}

.card:hover .card-img-top, .card:hover .card-title-wrapper {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.card-title-wrapper {
    background-color: #333;
    color: white;
    padding: 10px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    margin-bottom: 10px;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.card-img-top:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.section-block:nth-child(1) {
    border: 2px solid #ff1900;
}

/* Style global pour ajouter des bordures aux sections */
.section-block {
    border: 2px solid #333;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #f9f9f9;
    font-size: 1.2rem;
    text-indent: 30px;
}

.section-block h2 {
    text-align: center;
    color: #333;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.section-block p, .section-block ul {
    font-size: 1.2rem;
    line-height: 1.6;
}

.section-block li {
    margin-bottom: 8px;
    text-indent: 20px;
}

.display-4 {
    color: #333;
}

/* Style pour le pied de page */
body, html {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.content {
    flex: 1;
}

footer {
    background-color: #333;
    color: white;
    flex-shrink: 0;
    margin-top: auto;
}

/* Ajouter un alinéa supplémentaire avant certains mots */
.indent {
    text-indent: 30px;
    display: inline-block;
    margin-bottom: 10px;
}

.certification-text {
    display: none;
    margin-top: 10px;
    padding: 10px;
    background-color: #f8f9fa;
    border: 1px solid #ff0000;
    border-radius: 5px;
    transition: max-height 0.3s ease-out;
}
