/* CSS DU BODY */

body {
    width: 100%;
    margin: 15px;
    padding: 0;
    display: block;
    background: linear-gradient(to bottom, pink 0%, pink 25%, lightblue 25%, lightblue 50%, orange 50%, orange 75%, turquoise 75%, turquoise 100%);
    transition: background 1s ease-in-out;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow-y: auto;
    overflow-x: auto;
    cursor: url('cursor.png'), default;
  }

  a {
    cursor: url('cursor_hover.png'), pointer; 
  }

/* TEXTES */

  #text-menu {
    font-family: 'Amiamie-Regular';
    font-size: 28px;
    color: #0e0e0e;
    padding: 10px;
    top: 100px;
  }

  #text {
    font-family: 'Amiamie-Regular';
    font-size: 18px;
    color: #0e0e0e;
  }

  p {
    font-family: 'Amiamie-Regular';
    font-size: 15px;
    color: #0e0e0e;
    text-emphasis-position:right;
  }

  footer {
    font-family: 'Amiamie-Regular';
    font-size: 6px;
    color: #0e0e0e;
    text-align:center;
    padding-bottom: 5px;
  }

  h1 {
    font-family: 'Zapfino';
    src: url(FONTS/Zapfino.ttf);
    font-size: 20px;
    color:hotpink;
    line-height: 34px;
    width: 100%;
    z-index: 1;
    padding-left: 20px;
  }

  h2 {
    font-family: 'Amiamie-Regular';
    font-size: 16px;
    color: hotpink;
    line-height: 18px;
    z-index: 2;
  }


  a {
    text-decoration: underline dotted blue;
  }

  a:visited {
    text-decoration: underline dotted blue;
    color: blue;
  }

  a:hover, a:focus, a:active {
    text-decoration: underline dotted blue;
    color: white;
}
  
  @font-face {
    font-family: 'Amiamie-Regular';
    src: url(FONTS/Amiamie-Regular.ttf);
    
  }

  /* CSS IMAGES MENU*/

.img {
  margin: 5px;
  width: 100%;
  object-fit: cover;
  object-position: center;
  }

.img-p {
  width: 100%;
  margin: 5px;
  object-fit: cover;
  object-position: center;
}

.img-p2 {
  width: 100%;
  margin: 5px;
  object-fit: cover;
  object-position: center;
}

.img-sticky {
  position: absolute;
  top: 10%;
  left: 75%;
  z-index: 1;
  width: 20%;
}

.img-sticky2 {
  position: absolute;
  top: 62%; 
  left: 3%;
  z-index: 1;
  width: 30%;
}

.img-sticky3 {
  position: absolute;
  top: 54%; 
  left: 23%;
  z-index: 1;
  width: 20%;
}

/* BLOC */

.text-block {
  position:relative;
  display: flex;
  flex-wrap: wrap;
  left: 0%;
  top: 0%;
  overflow-y: auto;
  overflow-x: none;
}

#bloc-img-menu { 
  position: relative;
  left: 0px;
  width: 90%;
}

#bloc-img-projet { 
  position:relative;
	left: 0px;
  width: 90%;
}

#bloc-legende{
  position:relative;
  width: 90%;
}

#bloc-about{
  position:relative;
  width: 90%;
}

.img,
.img-p,
.img-p2 {
    width: 100%; /* Add this line */
}

#bloc-img-menu,
#bloc-img-projet,
#bloc-legende,
#bloc-about {
    /* existing styles */
    max-width: 100%; /* Add this line */
}