@font-face {
  font-family: "inclusive-reg";
  font-weight: 100;
  font-style: regular;
  src: url('../font/InclusiveSans-Regular.ttf') format('truetype');
}

@font-face {
  font-family: "inclusive-it";
  font-weight: 100;
  font-style: italic;
  src: url('../font/InclusiveSans-Italic.ttf') format('truetype');
}

h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
}

a:hover, a img:hover {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="32" width="32"><text y="24" font-size="24">❥</text></svg>') 16 16, auto;
}

* {
  box-sizing: border-box;
}

body{
  margin: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  overflow-x:hidden;
  background-color: white;
}

@media only screen and (max-width: 900px) {
  body {
    width: 99%;
    height: 100%;
    position: absolute;
    overflow-x:hidden;
  }
}

/*entrée site*/

#about{
  background-color: white;
  overflow:hidden;
}

@media only screen and (max-width: 900px) {
  #about{
    background-color: white;
    overflow:hidden;
  }
}

h1 {
  position: absolute;
  top: 50%;           /* centre verticalement */
  left: 50%;          /* centre horizontalement */
  transform: translate(-50%, -50%); /* ajuste pour que le centre du texte soit au milieu */
  color: black;
  font-family:"inclusive-reg"; 
  font-weight: normal;
  font-size: 3rem;
  text-shadow: 1px 1px 2px white, 0 0 35px white, 0 0 10px white;
}

@media only screen and (max-width: 900px) {
  h1{
    margin-left: 0%;
    position: absolute;
    font-size: 2rem;
    margin-top: 1%;
    color: black;
  }
}


h5{
  right: 1%;
  text-align: right;
  position: absolute;
  color: black;
  font-family:"inclusive-it"; 
  font-weight: normal;
  font-size: 3rem;
  margin-bottom: 0;
  bottom: 1%;
  text-shadow: 1px 1px 2px white, 0 0 35px white, 0 0 10px white;
}

@media only screen and (max-width: 900px) {
  h5{
    right: 0%;
    text-align: right;
    position: content;
    font-size: 1.5rem;
    width: 90%;
    margin-right: 0;
    color: black;
  }
}

a.accueil{
    text-decoration: none;
}

a{
  text-decoration: none;
  cursor:default;
  color:inherit;
}

u{
  color: black;
  text-decoration: none;
  text-underline-position: under;
}


/*ACCUEIL*/

/*entête*/

h2{
  color: #b5b5b5;
  font-size: 14pt;
  font-weight: normal;
  width: 99%;
  font-family: "happyi";
  column-count: 3;
  column-gap: 35%;
  text-align: right;
  margin-bottom: 100px;
  z-index: 1;
}


@media only screen and (max-width: 900px) {
  h2{
    font-size: 12pt;
    line-height: 15pt;
    width: 85%;
    column-count: 1;
    text-align: left;
    margin-bottom: 100px;
    margin-left: 5%;
    margin-right: 1%;
    z-index: 1;
  }
}

/*noms projets*/

h3{
font-family: "happyi";
line-height: 40pt;
font-size: 40pt;
margin-left: 1%;
font-weight: normal;
width: 98%;
margin-bottom: 0%;
margin-right: 0%;
margin-top: 0%;
padding-top: 1%;
/* border-top: dotted 5px #9f2eff; */
margin-top: 1%;
z-index: 1;
}

@media only screen and (max-width: 900px) {
  h3{
  line-height: 20pt;
  font-size: 20pt;
  margin-left: 2%;
  width: 98%;
  margin-bottom: 0%;
  margin-right: 0%;
  margin-top: 0%;
  padding-top: 1%;
  margin-top: 1%;
  z-index: 1;
  color: white;
  }
}

span{
font-family: "koldova";
font-size: 20pt;
}

@media only screen and (max-width: 900px) {
  span{
  font-family: "koldova";
  font-size: 13pt;
  color: white;
  }
}



/*color projet sélectionné*/

.click{
  color: #9f2eff;
  font-family: "happyi";
  line-height: 60pt;
  font-size: 60pt;
  font-weight: normal;
}

/*chat*/


img{
  width: auto;
  height: 40px;
  text-align: right;
}

#chatcontent{
  position: relative;
  width: 100%;
  height: 100%;
  z-index:9;
}

.chat {
  position: absolute;
  z-index: 2;
}


@media only screen and (max-width: 900px) {
  img{
    display:flex;
    width: auto;
    height: 30px;
    text-align: right;
    margin-bottom: 10%;
  }
}



/* Styles du bouton */
#toggleTheme {
  cursor: pointer;
  display: flex;
  border: white;
  width: 50px; /* Taille du bouton */
  height: 50px; /* Taille du bouton */
  margin-left: 80px;
  background-color: transparent;
}

/* Icône SVG dans le bouton */
#toggleTheme img {
  width: 24px; /* Taille normale de l'icône */
  height: 24px;
  transition: transform 0.3s ease; /* Ajout d'une transition douce pour l'agrandissement */
}

/* Styles pour le site en noir et blanc */
body.black-and-white {
  filter: grayscale(100%);
}

/* Agrandissement de l'icône en mode normal (couleur) */
body:not(.black-and-white) #toggleTheme img {
  transform: scale(1.2); /* Agrandissement léger */
}

/* Transition douce pour le filtre */
body {
  transition: filter 0.3s ease;
}

@media only screen and (max-width: 900px) {
  #toggleTheme {
    margin-left: 0px;
    filter: invert(1);
    margin-top: 5px;
  }
  }