/* Basic */

body {
    font-family: Arial, sans-serif;
}

.hero {
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #f8f9fa;
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 1em;
}

.hero p {
    font-size: 1.2em;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    color: #aaa;
}

/* Modal */

.modal-start {
    position: fixed;
    z-index: 1;
    transition: all 0.4s ease-out;
    transform-origin: center;
    opacity: 0; /* Ajout pour l'effet de transition */
}

.modal-end {
    position: fixed;
    z-index: 1;
    transition: all 0.4s ease-out;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transform-origin: center;
    opacity: 1; /* Ajout pour l'effet de transition */
}

.modal-content {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    max-height: 80vh; /* Limite la hauteur de la modale */
    overflow-y: auto; /* Permet le défilement si le contenu dépasse */
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-modal-body {
    overflow-y: auto; /* Ajoute une barre de défilement si nécessaire */
    max-height: 75vh; /* 50% de la hauteur de la fenêtre d'affichage */
}

@media (max-width: 768px) { /* ou une autre largeur spécifique pour les appareils mobiles */
    .custom-modal-body {
        overflow-y: auto; /* Ajoute une barre de défilement si nécessaire */  
        max-height: 60vh; /* ajustez cette valeur selon les besoins */
    }
}

.close-button, .close {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

/* NavBar */

/* Style for dropdown menu */
.dropdown-menu {
    -webkit-backdrop-filter: blur(1.5rem);
    backdrop-filter: blur(1.5rem);
    background-color: rgba(0, 0, 0, 1) !important;  /* Dark background to match navbar */
    border: none;  /* Remove default border */
}

/* Style for dropdown items */
.dropdown-item {
    color: rgb(216, 216, 216);
    -webkit-backdrop-filter: blur(1.5rem);
    backdrop-filter: blur(1.5rem);
    background-color: rgba(0, 0, 0, 0.0) !important;  /* Dark background to match navbar */
}

/* Change color on hover */
.dropdown-item:hover {
    color: white;
    -webkit-backdrop-filter: blur(1.5rem);
    backdrop-filter: blur(1.5rem);
    background-color: rgba(0, 0, 0, 0) !important;  /* Dark background to match navbar */
}

.mynavbar {
    position: fixed;
    z-index: 1000;
    top: 0;
    width: 100%;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.77), rgba(0, 0, 0, 0));

}

#about {
    background-color: #f5f5f5; /* Une couleur de fond gris clair */
    border-radius: 15px; /* Bords arrondis */
    padding: 20px; /* Un peu d'espace intérieur pour l'esthétique */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Une ombre subtile pour un effet de profondeur */
    transition: all 0.3s ease-in-out; /* Transition douce pour les interactions comme le survol */
}

#about:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Ombre un peu plus prononcée au survol pour un effet dynamique */
}

/* Home section */

.bg-light.py-5 .container {
    margin-top: 2.5rem;
}

.section_home {
    position: relative;
    background-image: url('../images/background.png');
    background-size: cover;
    background-position: center;
    height: 100vh;
}

.section_home::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: -1; 
}
  


/* CV Section */

p.desc {
    text-align: justify;
}

.project_title {
    font-weight: bold;
    /* text-decoration: underline; */
}



