.header {
  width: 100%;
  height: 596px;
  background: url(../images/fdeavatar.jpg) no-repeat;
    background-size: auto;
  background-size: 100%;
  border-radius: 50px;
  box-shadow: 0px 1px 3px black;
  filter: grayscale(100%);
  transition: filter 0.3s ease, transform 0.5s ease;
}

header:hover {
  filter: grayscale(0%);
  transform: scale(1.02);
}

footer {
  width: 100%;
  height: 155px;
  background: url(../images/HD-wallpaper-avatar-the-last-airbender.jpg) no-repeat;
    background-position-y: 0%;
    background-size: auto;
  background-position-y: 0%;
  background-size: auto;
  background-size: 100%;
  border-radius: 20px;
  font-size: 128%;
  text-shadow: -1px 1px 10px black;
  font-family: "Fredoka", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  text-align: center;
  background-position-y: -81px;
  transition: filter 0.3s ease, transform 0.5s ease;
  margin-top: 150px;
  box-shadow: -1px 1px 8px black;
}

footer:hover {
  transform: scale(1.02);
}


footer.footeralltxt {
  padding-top: 50px;
  display: flex
}

p.footertxt {
  margin-left: 30px;
  box-shadow: inset 2px 2px 3px rgba(255, 255, 255, 0.6), inset -2px -2px 3px rgba(0, 0, 0, 0.6);
  height: 26%;
  border-radius: 17px;
  width: 360px;
}

p.footertxt2 {
  margin-left: 502px;
  box-shadow: inset 2px 2px 3px rgba(255, 255, 255, 0.6), inset -2px -2px 3px rgba(0, 0, 0, 0.6);
  height: 46%;
  border-radius: 17px;
  width: 501px;
}

p.footertxt3 {
  margin-left: 27px;
  box-shadow: inset 2px 2px 3px rgba(255, 255, 255, 0.6), inset -2px -2px 3px rgba(0, 0, 0, 0.6);
  height: 27%;
  border-radius: 17px;
  width: 255px;
  color: white;
  transition: transform 0.3s ease;
  margin-right: 30px;
}

p.footertxt3:hover {
  transform: scale(1.1);
  
}

body {
  background-image: url(../images/fond.jpg);
  color: #fff;
  text-shadow: -1px 1px 5px black;
  font-family: "Fredoka", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  text-align: center;
  background-repeat: no-repeat;
  background-size: 100%;
  background-attachment: fixed;
}


body main{
  justify-content: center;
  display: grid;
  margin-top: 20px;
}


ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  color:rgb(255, 136, 0)
}

.nav {
  position: relative;
  height: var(--header-height);
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 1%;
  font-size: 230%;
  font-size: 230%;
  font-family: "Fredoka", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

.nav__logo {
  color: var(--white-color);
  font-weight: var(--font-medium);
}

.nav__close, 
.nav__toggle {
  display: flex;
  color: var(--white-color);
  font-size: 1.5rem;
  cursor: pointer;
}


@media screen and (max-width: 1150px) {
  .nav__menu {
    position: fixed;
    left: -100%;
    top: 0;
    background-color: var(--black-color);
    width: 100%;
    height: 100%;
    padding: 6rem 3.5rem 4.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: left .4s;
  }

  .nav__item {
    transform: translateX(-150px);
    visibility: hidden;
    transition: transform .4s ease-out, visibility .4s;
  }

  .nav__item:nth-child(1) {
    transition-delay: .1s;
  }
  .nav__item:nth-child(2) {
    transition-delay: .2s;
  }
  .nav__item:nth-child(3) {
    transition-delay: .3s;
  }
  .nav__item:nth-child(4) {
    transition-delay: .4s;
  }
  .nav__item:nth-child(5) {
    transition-delay: .5s;
  }
}

.nav__list, 
.nav__social {
  display: flex;
}

.nav__list {
  flex-direction: column;
  row-gap: 3rem;
  display: flex;
  border: 0;
  line-height: 2.5;
  color: #fff;
  text-shadow: -2px 2px 5px black;
  border-radius: 22px;
  background-image: linear-gradient( to top left, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 30%, rgba(0, 0, 0, 0) );
  box-shadow: inset 2px 2px 3px rgba(255, 255, 255, 0.6), inset -2px -2px 3px rgba(0, 0, 0, 0.6);
}

.nav__link {
  position: relative;
  color: var(--white-color);
  font-size: var(--h1-font-size);
  font-weight: var(--font-medium);
  display: inline-flex;
  align-items: center;
  transition: opacity .4s;
}

.nav__link i {
  font-size: 2rem;
  position: absolute;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s, visibility .4s;
}

.nav__link span {
  position: relative;
  transition: margin .4s;
}

.nav__link span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background-color: var(--white-color);
  transition: width .4s ease-out;
}


.nav__link:hover span {
  margin-left: 2.5rem;
}

.nav__link:hover i {
  opacity: 1;
  visibility: visible;
}

.nav__link:hover span::after {
  width: 100%;
}


.nav__list:has(.nav__link:hover) .nav__link:not(:hover) {
  opacity: .4;
}

.nav__close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

.nav__social {
  column-gap: 1rem;
}

.nav__social-link {
  color: var(--white-color);
  font-size: 1.5rem;
  transition: transform .4s;
}

.nav__social-link:hover {
  transform: translateY(-.25rem);
}


.show-menu {
  left: 0;
}


.show-menu .nav__item {
  visibility: visible;
  transform: translateX(0);
}


@media screen and (min-width: 1150px) {
  .container {
    margin-inline: auto;
  }

  .nav {
    height: calc(var(--header-height) + 2rem);
  }

  .nav__toggle, 
  .nav__close {
    display: none;
  }

  .nav__link {
    font-size: var(--normal-font-size);
  }

  .nav__link i {
    font-size: 1.5rem;
  }

  .nav__list {
    flex-direction: row;
    column-gap: 3.5rem;
  }

  .nav__menu {
    display: flex;
    align-items: center;
    column-gap: 5.5rem;
  }
}

section {
  color: #fff;
  font-size: 100%;
  text-shadow: -1px 1px 5px black;
  font-family: "Fredoka", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  display: flex;
  justify-content: center;
}

h1 {
  font-size: 338%;
  justify-content: center;
  display: grid;
}

h2 {
  margin-top: 180px;
  font-size: 245%;
}

article {
  width: 40%;
  margin-left: 50px;
}

article h2 {
  justify-content: center;
  display: flex;
  font-size: 200%;
}

article .textgauche {
  text-align: justify;
  font-size: 110%;
}

asides {
  width: 40%;
  margin-left: 35px;
  background: url(../images/gif\ accueil.GIF) no-repeat;
  background-size: 125%;
  border-radius: 93px;
  box-shadow: -1px 1px 8px black;
  transition: filter 0.3s ease, transform 0.5s ease;
  margin-top: 330px;
  height: 340px;
  background-position-y: center;
  background-position-x: center;
}

asides:hover {
  transform: scale(1.02);
}

main {
  text-align: center;
  margin: 0 auto;
  width: 1080px;
}

th.Feu {
  color: rgb(255, 60, 0);
}

th.Eau {
  color: rgb(0, 140, 255);
}

th.Terre {
  color: rgb(63, 255, 63);
}

th.Air {
  color: #a3d3ff;
}

th.Avatar {
  color: rgb(255, 2, 213);
}

form {
  width: 719px;
  border-radius: 20px;
  font-size: 155%;
  background-image: linear-gradient( to top left, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 30%, rgba(0, 0, 0, 0) );
  box-shadow: inset 2px 2px 3px rgba(255, 255, 255, 0.6), inset -2px -2px 3px rgba(0, 0, 0, 0.6);
  height: 355px;
  box-shadow: 1px 1px 5px black;
  margin: 0 auto;
  transition: transform 0.3s, box-shadow 0.3s;
  margin-bottom: 70px;
}

form:hover {
  background-size: 120%;
  transform: scale(1.03);
  box-shadow: 1px 1px 5px rgb(255, 255, 255);
}

form #en-tete {
  display: flex;
  margin-left: 26px;
  padding-top: 20px;
  margin-top: 20px;
}

form #en-tete #nom {
  margin-left: 52px;
}

form #email {
  text-align: left;
  margin-left: 40px;
  margin-top: 20px;
}

form #message {
  text-align: left;
  margin-left: 16px;
  margin-top: 20px;
}

form #envoyerbouton {
  margin-top: 20px;
}

form #envoyerbouton #envoyerbox {
  width: 100%;
}

form #en-tete #prenom #prenombox {
  border-radius: 10px;
  width: 191px;
}

form #en-tete #nom #nombox {
  border-radius: 10px;
  width: 210px;
}

form #message #messagebox {
  width: 544px;
  height: 120px;
  border-radius: 10px;
}

form #email #emailbox {
  width: 547px;
  height: 25px;
  border-radius: 10px;
}

form #envoyerbouton #envoyerbox {
  width: 237px;
  height: 49px;
  box-shadow: 1px 1px 3px black;
  background-image: linear-gradient( to top left, rgba(255, 136, 0, 0.92), rgb(255, 176, 86) 30%, rgba(255, 176, 86, 0.56) );
  border-radius: 10px;
  color: #fff;
  text-shadow: -1px 1px 5px black;
  font-family: "Fredoka", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  font-size: 147%;
  transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

form #envoyerbouton #envoyerbox:hover {
  background-image: linear-gradient( to top left, rgba(255, 176, 86, 0.56), rgb(255, 176, 86) 30%, rgba(255, 136, 0, 0.92), );
  text-shadow: -1px 1px 5px rgb(255, 0, 0);
  box-shadow: 1px 1px 3px rgb(252, 252, 252);
  transform: scale(1.03);
}

.imgtogif {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.aangfly {
height: 300px;
  background-image: url(../images/aangfly.jpg);
  background-repeat: no-repeat;
  background-size: 136%;
  border-radius: 12px;
  box-shadow: 0 8px 15px black;
  margin: 20px;
  padding: 20px;
  width: 300px;
  background-position-x: center;
  filter: grayscale(100%);
  transition: filter 0.3s ease, transform 0.5s ease, background-image 0.3s ease;
}

.aangfly:hover {
  background-image: url(../images/aangflygif.gif);
  filter: grayscale(0%);
  transform: scale(1.03);
}

.aangry {
  height: 300px;
  background-image: url(../images/aangry.jpg);
  background-repeat: no-repeat;
  background-size: 180%;
  border-radius: 12px;
  box-shadow: 0 8px 15px black;
  margin: 20px;
  padding: 20px;
  width: 300px;
  background-position-x: -124px;
  filter: grayscale(100%);
  transition: filter 0.3s ease, transform 0.5s ease, background-image 0.3s ease;
}

.aangry:hover {
  background-image: url(../images/aangrygif.gif);
  filter: grayscale(0%);
  transform: scale(1.03);
}

#choisirfichier {
  font-size: 225%;
}

#parcourir {
  width: 48%;
  text-align: center;
  font-size: 79%;
  margin-top: 50px;
  box-shadow: 1px 1px 3px black;
  background-image: linear-gradient( to top left, rgba(255, 136, 0, 0.92), rgb(255, 176, 86) 30%, rgba(255, 176, 86, 0.56) );
  border-radius: 8px;
  color: #fff;
  text-shadow: -1px 1px 5px black;
  font-family: "Fredoka", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

#telecharger {
  margin-top: 101px;
  width: 30%;
  height: 15%;
  font-size: 100%;
  box-shadow: 1px 1px 3px black;
  background-image: linear-gradient( to top left, rgba(255, 136, 0, 0.92), rgb(255, 176, 86) 30%, rgba(255, 176, 86, 0.56) );
  border-radius: 10px;
  color: #fff;
  text-shadow: -1px 1px 5px black;
  font-family: "Fredoka", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

#telecharger:hover {
  background-image: linear-gradient( to top left, rgba(255, 176, 86, 0.56), rgb(255, 176, 86) 30%, rgba(255, 136, 0, 0.92), );
  text-shadow: -1px 1px 5px rgb(255, 0, 0);
  box-shadow: 1px 1px 3px rgb(252, 252, 252);
  transform: scale(1.03);
}

#montableau_wrapper {
  font-size: 120%;
}

#montableau_length {
  margin-bottom: 20px;
  font-size: 125%;
}

select {
  width: 50px;
  height: 24px;
  font-size: 80%;
  font-family: "Fredoka", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

#montableau_filter {
  margin-bottom: 20px;
  font-size: 125%;
}

input {
  margin-left: 10px;
}

.dataTables_scroll {
  margin-bottom: 30px;
}

#montableau_info {
  margin-bottom: 10px;
}

#montableau_previous {
  margin-right: 10px;
}

span {
  margin-right: 10px;
}

.paginate_button.current {
  margin-right: 5px;
}

.paginate_button {
  margin-right: 5px;
}

table {
  background-image: linear-gradient( to top left, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 30%, rgba(0, 0, 0, 0) );
  box-shadow: inset 2px 2px 3px rgba(255, 255, 255, 0.6), inset -2px -2px 3px rgba(0, 0, 0, 0.6);
  border-radius: 20px;
}

.card {
  background-image: linear-gradient( to top left, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 30%, rgba(0, 0, 0, 0) );
  box-shadow: inset 2px 2px 3px rgba(255, 255, 255, 0.6), inset -2px -2px 3px rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  box-shadow: 1px 1px 5px black;
  margin: 60px;
  padding: 20px;
  width: 300px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 1px 1px 5px rgb(255, 255, 255);
}

.card img {
  border-radius: 25%;
  width: 150px;
  height: 150px;
  margin-bottom: 15px;
  border: 2px solid #ffffff;
}

.button {
  margin-top: 101px;
  width: 35%;
  height: 20%;
  font-size: 100%;
  box-shadow: 1px 1px 3px black;
  background-image: linear-gradient( to top left, rgba(255, 136, 0, 0.92), rgb(255, 176, 86) 30%, rgba(255, 176, 86, 0.56) );
  border-radius: 10px;
  color: #fff;
  text-shadow: -1px 1px 5px black;
  font-family: "Fredoka", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
}

.button:hover {
  background-image: linear-gradient( to top left, rgba(255, 176, 86, 0.56), rgb(255, 176, 86) 30%, rgba(255, 136, 0, 0.92), );
  text-shadow: -1px 1px 5px rgb(0, 0, 0);
  box-shadow: 1px 1px 3px rgb(252, 252, 252);
  transform: scale(1.03);
}

.galerie-image img {
  width: 280px;
  height: auto;
  border-radius: 20px;
  box-shadow: 1px 1px 5px black;
  margin: 10px;
  filter: grayscale(100%);
  transition: filter 0.3s ease, transform 0.5s ease;
}

.galerie-image img:hover {
  filter:grayscale(0%);
  transform: scale(1.17);
}

.partenaires-container {
  width: 1080px;
  padding: 20px;
}

.partenaires-titre{
  justify-items:center;
  margin-top: 100px;
  margin-bottom:60px ;
  font-family: "Fredoka", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  font-size: 50px !important;
}

.partenaires-titre p{
  font-family: "Fredoka", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  font-size: 50px !important;
}

.partenaires-texte{
  margin: 35px;
  font-size: 20px;
  text-align: center;
}

.partenaires-ligne {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.partenaire-case{
  width: 48%;
  justify-items: center;
  align-self: center;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background-image: linear-gradient( to top left, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 30%, rgba(0, 0, 0, 0) );
  box-shadow: 1px 1px 5px black;
}

.partenaire-case img{
  width: 95%;
  height: 140px;
  border-radius: 8px;
  border: solid 2px rgb(255, 136, 0);
  margin: 10px;
}

.partenaire-presentation p{
  text-align: left;
  margin-left: 10px;
  margin-top:20px;
  font-family: "Fredoka", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  font-size: 30px;
}

.partenaire-presentation p span{
  text-align: left;
  margin-left: 10px;
  margin-top:20px;
  font-family: "Fredoka", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  font-size:16px
}

.partenaire-motivation p{
  font-family: "Fredoka", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  font-size: 16px;
  margin-left: 10px;
  margin-top:7px;
  margin-right: 10px;
  margin-bottom: 10px;
  text-align: justify;
}

.partenaire-images{
  position: relative;
}

.partenaire--images{
  position:relative;
  height:140px;
  width:470px;
}

#partenaire_banniere{
  height:140px;
  width:470px;
}

#partenaire_pdp{
  position: absolute;
  height:80px;
  width:80px;
  border-radius:50%;
  left:25px;
  top:85px;
}

.partenaires-documents {
  width: 1080px;
  display: flex;
  justify-content: space-evenly;
  margin-bottom: 40px;
}

.partenaire-doc {
  display: flex;
  flex-direction: column;
  width: 25%;
  height: 200px;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 20px;
  font-family: "Fredoka", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  border: solid 2px rgb(255, 136, 0);
  border-radius: 8px;
  box-shadow: 1px 1px 5px black;
}

.partenaire-doc img {
  padding:20px;
  width:30%;
  height:auto;
}

.partenaire-case{
  overflow: hidden;
  transition: transform 0.3s ease;
}

.partenaire-case:hover{
  transform: scale(1.1);
  box-shadow: 0 0 10px rgb(111, 111, 111);
}

.partenaire-doc{
  overflow: hidden;
  transition: transform 0.3s ease;
}

.partenaire-doc:hover{
  transform: scale(1.1);
  box-shadow: 0 0 10px rgb(111, 111, 111);
}

.credittext {
  font-size: 130%;
}