body {
    margin: 0px;
}


#background-video {
    height: 100vh;
    width: 100vw;
    object-fit: cover;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -1;
}




/*------------------------------------------------------------------------------------ style page projets -------------------------------------------------------------------------------------------------*/

.img_container_dfs {
    height: 150px;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.img_dfs_student {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}


/* Section des projets */
.projects {
    padding: 20px;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.projects h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.projects p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Liste des projets */
.project-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 0;
}

.project-item {
    background-color: rgba(0, 0, 0, 0.603);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    text-align: left;
    padding: 20px;
    transition: transform 0.3s ease;
}

.project-item:hover {
    transform: scale(1.05);
}

.project-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    border-radius: 8px;
    margin-bottom: 15px;
}


.titleofallproj {
    color: white;
    text-shadow: 3px 3px 2px black;
}

.project-title {
    font-size: 1.6rem;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 2px 2px 2px black;
}

.project-description {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
}

.project-link {
    display: inline-block;
    padding: 10px 15px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.project-link:hover {
    background-color: #45a049;
}