* {
  margin: 0;
  padding: 0;
}

body {
  margin: 25px 3.472222222222222% 25px 3.472222222222222%;
  color: black;
  text-decoration: none;
  background-color: white;
}

#navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.865671641791045%;
  margin-bottom: 4rem;
}

#navbar a {
  color: #000;
  text-align: center;
  font-family: Roboto;
  font-size: 1.25vw;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  letter-spacing: 0.075rem;
  text-transform: uppercase;
  text-decoration: none;
}

#navbar a:hover {
  background-color: black;
  color: white;
  padding: 0.375rem;
}

#footer {
  display: flex;
  height: 10.84vh;
  margin-top: 4rem;
}

#footer a {
  color: #000;
  font-family: "Roboto";
  font-size: 1vw;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  text-transform: uppercase;
  text-decoration: none;
}

#footer_left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  flex-shrink: 0;
  width: 10.67164179104478%;
}

#footer_middle {
  display: flex;
  width: 23.88059701492537%;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  margin-right: 24.1044776119403%;
  margin-left: 27.38805970149254%;
}

#footer_right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  align-self: stretch;
  flex-shrink: 0;
  width: 13.95522388059701%;
}

/* Accueil */

#banner {
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
}

#banner-left {
  display: flex;
  width: 87.91044776119403%;
  gap: 2.801358234295416%;
  justify-content: center;
}

#banner-left img {
  width: 24.10865874363328%;
  height: 100%;
  object-fit: cover;
}
#banner-right {
  display: flex;
  flex-direction: column;
  width: 73.08998302207131%;
  height: 100%;
  justify-content: space-between;
  gap: 1.5rem;
}

#banner-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.19rem;
}

#banner-title h1 {
  color: #000;
  text-align: center;
  font-family: Roboto;
  font-size: 4.444vw;
  font-style: normal;
  font-weight: 700;
  line-height: 4.688rem;
  letter-spacing: 1rem;
  text-transform: uppercase;
}

#separator {
  height: 0.3125rem;
  width: 59.93031358885017%;
  background-color: #000;
}

#banner-bottom {
  display: flex;
  flex-direction: row;
  height: 7.5rem;
  flex-shrink: 0;
  gap: 27.79790940766551%;
  align-items: flex-end;
  justify-content: space-between;
}

#banner-bottom p {
  color: #000;
  font-family: Roboto;
  font-size: 2.5vw;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.3375rem;
  text-transform: uppercase;
}

#banner-bottom a {
  color: #000;
  font-family: Roboto;
  font-size: 1.5vw;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
  letter-spacing: 0.225rem;
  text-transform: uppercase;
  text-decoration: none;
}

#showreel {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

#middle {
  display: flex;
  flex-direction: column;
  gap: 1.56rem;
  margin-bottom: 4rem;
}
#showreel a {
  width: 29.906vw;
  height: 21.875rem;
}

#showreel a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%); /* Rend l'image en niveaux de gris */
  transition: filter 0.3s ease; /* Animation fluide lors du hover */
}

#middle a img:hover {
  filter: grayscale(0); /* Retire l'effet de gris au survol */
}

#showreel-buttons {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

#showreel-buttons a {
  color: #000;
  font-family: Roboto;
  font-size: 1.5vw;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
  letter-spacing: 0.225rem;
  text-transform: uppercase;
  text-decoration: none;
}

/* Page projet */
#p_title {
  display: flex;
  margin-bottom: 4rem;
  justify-content: center;
}

#p_title h1 {
  color: #000;
  text-align: center;
  font-family: Roboto;
  font-size: 4.444vw;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.6rem;
  text-transform: uppercase;
}

#p_mosaic {
  display: flex;
  flex-wrap: wrap;
}

#p_mosaic a {
  width: 50%;
  height: 21.875rem;
  flex-shrink: 0;
  position: relative;
  display: inline-block;
}

#p_mosaic a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%); /* Rend l'image en niveaux de gris */
  transition: filter 0.3s ease; /* Animation fluide lors du hover */
}

#p_mosaic a:hover img {
  filter: grayscale(0); /* Retire l'effet de gris au survol */
}

.info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#p_mosaic a:hover .info {
  opacity: 1;
}

/* Me connaitre */
/* Page projet */
.p_desc {
  display: flex;
  flex-direction: column;
  gap: 3.12rem;
  margin-bottom: 1rem;
}

.p_desc h2 {
  color: #000;
  font-family: Roboto;
  font-size: 2.5vw;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.3375rem;
  text-transform: uppercase;
}

.p_desc p {
  color: #000;
  text-align: justify;
  font-family: Roboto;
  font-size: 1.2vw;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  letter-spacing: 0.05rem;
  /* text-transform: uppercase; */
}

.p_desc a {
  color: #000;
  font-family: Roboto;
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
  letter-spacing: 0.225rem;
  text-transform: uppercase;
}

.p_dl {
  color: #000;
  font-family: Roboto;
  font-size: 0.8vw;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
  letter-spacing: 0.225rem;
  text-transform: uppercase;
}

.p_photos {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  justify-content: center;
}
/* Contact */

/* pas encore responsive */

@media (max-width: 768px) {
  .responsive-warning {
    display: block !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    text-align: center;
    padding: 10px;
    z-index: 9999;
    width: 100%;
    height: 100%;
    color: #000;
    font-family: Roboto;
    font-size: 3vw;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    letter-spacing: 0.225rem;
    text-transform: uppercase;
  }
}

.responsive-warning {
  display: none;
}
