* {
	font-family: "Inclusive Sans", sans-serif;
	min-height: 0;
	min-width: 0;
	margin: 0;
	padding: 0;
}
  
h1 {
  font-family: "Bagel Fat One", system-ui;
  font-weight: 400;
  font-style: normal;
  color: #FF6666;
}

h2 {
  font-family: "Bagel Fat One", system-ui;
  font-weight: 400;
  font-style: normal;
  color: #FF6666;
}

h3 {
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  color: #FFFFFF;
}

h4 {
  font-weight: 400;
  font-size: 24px;
  color: #FFFFFF;
}

.page {
  background-color: #FFFBF4;
  background-image: url(../img/logo/fondlogo.png);
  background-size: 100% auto;
  background-position: top center;
  background-repeat: no-repeat;
  overflow: hidden;
}
  
 /* Header  */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  margin-top: 2vh;
  margin-bottom: 2vh;
  padding-left: 3vw;
  padding-right: 3vw;
}

.logo{
  height: 15vh;
}

.logo img{
  height: 100%;
  display: flex;
}

#menu{
  display: flex;
  justify-content: end;
  gap: 30%;
}

#menu a {
  text-decoration: 0;
  min-width: fit-content;
}

#menu a h2 {
  display: inline;
}


.contact{
  position: fixed;
  right: 1vw;
  top: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate(-50%, -50%); 
  z-index: 1;
  gap: 2vh;
}

.contact a {
  color: #FFB627;
  text-decoration: 0;
}

.rotatetext{
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 16px;
}

.icon{  
  width: 25px;
  height: 25px;
}

/* Page Projets */

.container {
	width: 92vw;
  padding-left: 2vw;
  padding-right: 6vw;
	margin-top: 2vh;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
  align-content: flex-start;
  align-items: stretch;
  min-height: 68vh;
}

.project-container {
  width: 49%;
	margin-bottom: 2vh;
  text-decoration: 0;
  display: flex;
}

.project-container:hover h3{
  color:#8F0000;
}

.project-container:hover h4{
  color:#8F0000;
}

.background-project {
  background-color: #8F0000;
  border-radius: 20px;
  overflow: hidden;
  width: 100%;
  height: 100%;
  display: flex;
}

.project-container-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.year{
  text-align: right;
  display: flex;
  justify-content: flex-end;
  justify-content: right;
  padding-top: 20px;
  padding-right: 20px;
}

.project-title {
  padding-top: 40px;
  padding-bottom: 40px;
  margin-left: 20px;
}

/* Elements filtre */



#filter-select {
    display: none;
  }

#filters{
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  padding-top: 2vh;
  padding-bottom: 2vh;
  margin-bottom: 2vh;
  gap: 10px;
  align-content: space-evenly;
  background-color: #FFEDCB;
  border-radius: 20px;
}

.filter-btn{
  display: inline-block;
	background-color: rgb(255, 251, 244, 0);
	color: #8F0000;
  outline-style: solid;
  outline-color: #8F0000;
  outline-width: 1px;
	border: 0;
	border-radius: 100px;
	padding: 8px 16px;
	font-size: 16px;
	text-decoration: none;
}

.filter-btn.active {
  position: relative;
  background-color: #8F0000;
  color: #FBDDDD;
  border: 0;
  border-radius: 100px;
  font-size: 16px;
  text-decoration: none;
  padding: 8px 32px 8px 16px; /* haut | droite (croix) | bas | gauche */
  outline-style: none;
}


/* Affichage de la croix dans le bouton actif */
.filter-btn.active::after {
  content: '×';
  font-size: 16px;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #FBDDDD;
}


.filter-btn:hover{
  background-color: #FBDDDD;
  color: #8F0000;
  outline-style: solid;
  outline-color: #8F0000;
  outline-width: 1px;
  border: 0;
  border-radius: 100px;
  font-size: 16px;
  text-decoration: none;
  /* On ne redéfinit pas le padding ici */
  padding: 8px 16px;
  cursor: pointer;
}

.filter-btn.active:hover {
  background-color: #FBDDDD;
  color: #8F0000;
  border: 0;
  border-radius: 100px;
  font-size: 16px;
  text-decoration: none;
  padding: 8px 32px 8px 16px;
  outline-style: solid;
  outline-color: #8F0000;
  outline-width: 1px;
  cursor: pointer;
}

.filter-btn.active:hover:after {
  color: #8F0000;
}

.tag{
  display: inline-block;
	background-color: #FBDDDD;
	color: #8F0000;
	border: 0;
	border-radius: 100px;
	padding: 8px 16px;
	font-size: 16px;
	text-decoration: none;
}

.tags{
  display: flex;
  flex-wrap: wrap;
  padding-left: 20px;
  padding-bottom: 10px;
  gap: 10px;
  align-content: space-evenly;
}


/* Images Thumbnail */


#app-vr-img{
  background: url('../img/app_vr_reverto/thumbnail_app_vr_filter.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; 
}

#app-vr-img:hover{
  background: url('../img/app_vr_reverto/thumbnail_app_vr.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; 
}

#app-web-img{
  background: url('../img/app_web_reverto/thumbnail_app_web_filter.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; 
}

#app-web-img:hover{
  background: url('../img/app_web_reverto/thumbnail_app_web.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; 
}

#site-vitrine-img{
  background: url('../img/site_vitrine_reverto/SiteVitrineV1_Wireframe_filter.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; 
}

#site-vitrine-img:hover{
  background: url('../img/site_vitrine_reverto/SiteVitrineV1_Wireframe.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; 
}

#memoire-img{
  background: url('../img/memoire/DSC_0039-filter.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; 
}

#memoire-img:hover{
  background: url('../img/memoire/DSC_0039.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; 
}

#echantillons-img{
  background: url('../img/echantillons_cea/IMG_20210520_102020_filter.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; 
}

#echantillons-img:hover{
  background: url('../img/echantillons_cea/IMG_20210520_102020.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; 
}

#viewcook-img{
  background: url('../img/viewcook/Media_YHELLO-filtre.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; 
}

#viewcook-img:hover{
  background: url('../img/viewcook/Media_YHELLO.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; 
}

#enracinons-img{
  background: url('../img/enracinons_nos_rues/thumbnail_Canopee_affiche_filtre.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; 
}

#enracinons-img:hover{
  background: url('../img/enracinons_nos_rues/thumbnail_Canopee_affiche.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; 
}

#poule-img{
  background: url('../img/poule_party/DSC_0444_filter.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; 
}

#poule-img:hover{
  background: url('../img/poule_party/DSC_0444.JPG');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; 
}

#ligne-jaune-img{
  background: url('../img/ligne_jaune/fond1_filter.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; 
}

#ligne-jaune-img:hover{
  background: url('../img/ligne_jaune/fond1.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; 
}

#voyageur-img{
  background: url('../img/voyageur_epsaa/fondespace_filter.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; 
}

#voyageur-img:hover{
  background: url('../img/voyageur_epsaa/fondespace.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; 
}

#masques-img{
  background: url('../img/masques/RealitesPluriellesMasques_filter.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; 
}

#masques-img:hover{
  background: url('../img/masques/RealitesPluriellesMasques.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; 
}

#cybertape-img{
  background: url('../img/cybertape/Cybertape_filter.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; 
}

#cybertape-img:hover{
  background: url('../img/cybertape/Cybertape.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; 
}

#cumulus-img{
  background: url('../img/cumulus/Cumulus_filter.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; 
}

#cumulus-img:hover{
  background: url('../img/cumulus/Cumulus.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; 
}

/* Responsive */


/* Page Projets */

@media only screen and (min-width: 3000px) {
  h1 {
    font-size: 32px;
  }
  
  h2 {
    font-size: 32px;
  }
  
  h3 {
    font-size: 28px;
  }
  
  h4 {
    font-size: 32px;
  }
  
  /* Header  */
  header {
    margin-top: 2vh;
    margin-bottom: 2vh;
    padding-left: 3vw;
    padding-right: 3vw;
  }
  
  .logo{
    height: 15vh;
  }
  
  #menu{
    gap: 40%;
  }
  
  .contact{
    right: 2vw;
  }
  
  .rotatetext{
    font-size: 24px;
  }
  
  /* Page Projets */
  
  .container {
    width: 92vw;
    padding-left: 2vw;
    padding-right: 6vw;
    margin-top: 2vh;
    min-height: 68vh;
  }
  
  .project-container {
    width: 32%;
    margin-bottom: 2vh;
  }
 
  .background-project {
    min-height: 29vh;
  }

  .year{
    padding-top: 24px;
    padding-right: 24px;
  }
  
  .project-title {
    padding-top: 40px;
    padding-bottom: 40px;
    margin-left: 24px;
  }
  
  /* Elements filtre */
  #filter-select {
    display: none;
  }

  #filters{
    gap: 14px;
  }
  
  .filter-btn{
    padding: 16px 24px;
    font-size: 24px;
  }
  
  .filter-btn.active {
    font-size: 24px;
    padding: 16px 40px 16px 24px; /* haut | droite (croix) | bas | gauche */
  }
  
  
  /* Affichage de la croix dans le bouton actif */
  .filter-btn.active::after {
    font-size: 24px;
    right: 20px;
    top: 50%;
  }
  
  
  .filter-btn:hover{
    font-size: 24px;
    padding: 16px 24px;
  }
  
  .filter-btn.active:hover {
    font-size: 24px;
    padding: 16px 40px 16px 24px;
  }
  
  .tag{
    padding: 16px 24px;
    font-size: 24px;
  }
  
  .tags{
    padding-left: 22px;
    padding-bottom: 12px;
    gap: 12px;
  }
 
}

@media only screen and (max-width: 3000px) {
  h1 {
    font-size: 32px;
  }
  
  h2 {
    font-size: 32px;
  }
  
  h3 {
    font-size: 28px;
  }
  
  h4 {
    font-size: 32px;
  }
  
  /* Header  */
  header {
    margin-top: 2vh;
    margin-bottom: 2vh;
    padding-left: 3vw;
    padding-right: 3vw;
  }
  
  .logo{
    height: 15vh;
  }
  
  #menu{
    gap: 40%;
  }
  
  .contact{
    right: 2vw;
  }
  
  .rotatetext{
    font-size: 24px;
  }
  
  /* Page Projets */
  
  .container {
    width: 92vw;
    padding-left: 2vw;
    padding-right: 6vw;
    margin-top: 2vh;
    min-height: 68vh;
  }
  
  .project-container {
    width: 32%;
    margin-bottom: 2vh;
  }
 
  .background-project {
    min-height: 29vh;
  }

  .year{
    padding-top: 24px;
    padding-right: 24px;
  }
  
  .project-title {
    padding-top: 40px;
    padding-bottom: 40px;
    margin-left: 24px;
  }
  
  /* Elements filtre */
  #filter-select {
    display: none;
  }

  #filters{
    gap: 14px;
  }
  
  .filter-btn{
    padding: 16px 24px;
    font-size: 24px;
  }
  
  .filter-btn.active {
    font-size: 24px;
    padding: 16px 40px 16px 24px; /* haut | droite (croix) | bas | gauche */
  }
  
  
  /* Affichage de la croix dans le bouton actif */
  .filter-btn.active::after {
    font-size: 24px;
    right: 20px;
    top: 50%;
  }
  
  
  .filter-btn:hover{
    font-size: 24px;
    padding: 16px 24px;
  }
  
  .filter-btn.active:hover {
    font-size: 24px;
    padding: 16px 40px 16px 24px;
  }
  
  .tag{
    padding: 16px 24px;
    font-size: 24px;
  }
  
  .tags{
    padding-left: 22px;
    padding-bottom: 12px;
    gap: 12px;
  }
 
}

@media only screen and (max-width: 2000px) {
  h1 {
    font-size: 24px;
  }
  
  h2 {
    font-size: 24px;
  }
  
  h3 {
    font-size: 20px;
  }
  
  h4 {
    font-size: 24px;
  }
  
  header {
    margin-top: 2vh;
    margin-bottom: 2vh;
    padding-left: 3vw;
    padding-right: 3vw;
  }
  
  .logo{
    height: 15vh;
  }
  
  #menu{
    gap: 30%;
  }
  
  .contact{
    right: 2vw;
  }
  
  .rotatetext{
    font-size: 16px;
  }
  
  .container {
    width: 91vw;
    padding-left: 2vw;
    padding-right: 6vw;
    margin-top: 2vh;
    min-height: 68vh;
  }
  
  .project-container {
    width: 49%;
    margin-bottom: 2vh;
  }
 
  .background-project {
    min-height: 40vh;
  }

  .year{
    padding-top: 20px;
    padding-right: 20px;
  }
  
  .project-title {
    padding-top: 40px;
    padding-bottom: 40px;
    margin-left: 20px;
  }
  
  #filter-select {
    display: none;
  }

  #filters{
    gap: 10px;
  }
  
  .filter-btn{
    padding: 8px 16px;
    font-size: 16px;
  }
  
  .filter-btn.active {
    font-size: 16px;
    padding: 8px 32px 8px 16px;
  }
  
  .filter-btn.active::after {
    font-size: 16px;
    right: 12px;
    top: 50%;
  }
  
  .filter-btn:hover{
    font-size: 16px;
    padding: 8px 16px;
  }
  
  .filter-btn.active:hover {
    font-size: 16px;
    padding: 8px 32px 8px 16px;
  }
  
  .tag{
    padding: 8px 16px;
    font-size: 16px;
  }
  
  .tags{
    padding-left: 20px;
    padding-bottom: 10px;
    gap: 10px;
  }
}

@media only screen and (max-width: 1200px) {
  h1 {
    font-size: 24px;
  }
  
  h2 {
    font-size: 24px;
  }
  
  h3 {
    font-size: 20px;
  }
  
  h4 {
    font-size: 24px;
  }
  
  /* Header  */
  header {
    margin-top: 2vh;
    margin-bottom: 2vh;
    padding-left: 3vw;
    padding-right: 3vw;
  }
  
  .logo{
    height: 15vh;
  }
  
  #menu{
    gap: 30%;
  }
  
  .contact{
    right: 1vw;
  }
  
  .rotatetext{
    font-size: 16px;
  }
  
  /* Page Projets */
  
  .container {
    width: 90vw;
    padding-left: 2vw;
    padding-right: 6vw;
    margin-top: 2vh;
    min-height: 68vh;
  }
  
  .project-container {
    width: 49%;
    margin-bottom: 2vh;
  }
 
  .year{
    padding-top: 20px;
    padding-right: 20px;
  }
  
  .project-title {
    padding-top: 40px;
    padding-bottom: 40px;
    margin-left: 20px;
  }
  
  /* Elements filtre */
  
  #filter-select {
    display: none;
  }

  #filters{
    gap: 10px;

  }
  
  .filter-btn{
    padding: 8px 16px;
    font-size: 16px;
  }
  
  .filter-btn.active {
    font-size: 16px;
    padding: 8px 32px 8px 16px; /* haut | droite (croix) | bas | gauche */
  }
  
  
  /* Affichage de la croix dans le bouton actif */
  .filter-btn.active::after {
    font-size: 16px;
    right: 12px;
    top: 50%;
  }
  
  
  .filter-btn:hover{
    font-size: 16px;
    padding: 8px 16px;
  }
  
  .filter-btn.active:hover {
    font-size: 16px;
    padding: 8px 32px 8px 16px;
  }
  
  .tag{
    padding: 8px 16px;
    font-size: 16px;
  }
  
  .tags{
    padding-left: 20px;
    padding-bottom: 10px;
    gap: 10px;
  }
}

@media only screen and (max-width: 600px) {
	h1 {
    font-size: 20px;
  }
  
  h2 {
    font-size: 20px;
  }
  
  h3 {
    font-size: 16px;
  }
  
  h4 {
    font-size: 18px;
  }

  .page{
    background-size: 200% auto;
    min-height: 100vh;
  }
  
  /* Header  */
  header {
    margin-top: 2vh;
    margin-bottom: 2vh;
    padding-left: 6vw;
    padding-right: 6vw;
  }
  
  .logo{
    height: 8vh;
  }
  
  #menu{
    gap: 30%;
  }
  
  .contact{
    right: 2vw;
  }
  
  .rotatetext{
    font-size: 14px;
  }
  
  /* Page Projets */
  
  .container {
    width: 85vw;
    padding-left: 2vw;
    padding-right: 6vw;
    margin-top: 2vh;
    min-height: 68vh;
  }
  
  .project-container {
    width: 96%;
    margin-bottom: 2vh;
  }
 
  .year{
    padding-top: 16px;
    padding-right: 16px;
  }
  
  .project-title {
    padding-top: 30px;
    padding-bottom: 40px;
    margin-left: 10px;
  }
  
  /* Elements filtre */
  
  /* Affiche le menu déroulant */
  #filter-select {
    display: block;
    width: 90vw;
    padding: 1vh;
    font-size: 14px;
    margin-bottom: 2vh;
    border-radius: 30px;
    border: 1px solid #ccc;
    background-color: white;
  }

  /* Cache les boutons filtres sur mobile */
  #filters {
    display: none;
  }
 
  .tag{
    padding: 4px 12px;
    font-size: 12px;
  }
  
  .tags{
    padding-left: 10px;
    padding-bottom: 10px;
    gap: 8px;
  }
}
