.main {
  padding-right: var(--gutter);
  padding-left: var(--gutter);
  padding-bottoom: 0;
}

.main .video video {
  width: 100%;
}

.titre {
    font-family: var(--serif);
    text-align: center;
    text-transform: uppercase;
}

#gros-titre {
  font-family: var(--serif);
  text-align: center;
  font-size: 5rem;
    text-transform: uppercase;
} 


#projets {
    scroll-snap-align: start;
}

/* AGENDA */

.agenda {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--gutter) 0 var(--gutter) 0;

}

.agenda table {
  width: 100%;
  border-collapse: collapse;
  font-family:  var(--sans-serif);
  text-transform: uppercase;
}

.agenda table tr {
  border-top: 1px solid white;
}

.agenda table tr:last-child {
  border-bottom: 1px solid white;
}

.agenda table tr:hover {
    color: var(--dominant);
    cursor: pointer;
}


.agenda table td {
  padding: 8px 6px;
}





/* PROJETS */
.projects {
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.project {
    position: relative;       
    width: 100%;
    height: 40em;             
    overflow: hidden;        
    margin-bottom: var(--gutter);
    font-family: var(--serif);
}

.project img:hover, .project video:hover {
    opacity: 50%;
    transition: 0.5s;
}

.project a {
    display: block;
    width: 100%;
    height: 100%;
    color: var(--white);
    text-decoration: none;
    position: relative;    
    font-size: 1.5em;  
    transition: 0.5s;
}

.project img, .project video {
    width: 100%;
    height: 100%;
    object-fit: cover;      
    display: block;
}

/*.project::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;              
}*/

.project-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    width: 100%;
    text-align: center;
    color: var(--white);
    z-index: 1;             
    pointer-events: none;
    text-transform: uppercase;
}

.project h3 {
    font-size: 2em;
    margin: 0;
    font-weight: normal;
}
}

/*
.project-type {
    display: none;
}*/

/* PARTICLES */

.hero-main {
    position: relative;
    width: 100%;
}

#canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.main .video video {
    width: 100%;
    display: block;
}

/* BOUTONS POUR FILTRER LES PROJETS */

.project-filters {
  display: flex;
  gap: 1rem;
  margin: 2rem var(--gutter);
  align-items: center;
  justify-content: center;

}

.project-filters button {
  background: transparent;
  border: 1px solid currentColor;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 1em;
  font-size: 1.8rem;
  margin: 0 0.6rem 0.6rem 0;
  padding: 0.4em 0.6em;
}

.project-filters button.is-active {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.project-filters button:hover {
      animation: shake 0.25s infinite;
}