body {
  background-color: rgb(203, 214, 248);
  color: rgb(69, 59, 128);
}
.container {
  /*limitation page html largeur 1200px*/
  max-width: 1200px;
  margin: auto;
}
section {
  /*alignement centré de toutes les sections*/
  text-align: center;
}
h2 {
  /*titre*/
  font-size: 50px;
}
span {
  font-weight: bold;
}
/*--------------CSS Menu------------------------------------------------------------*/
ul {
  /*menu tableau flexbox bleu avec bordure*/
  margin: 0px;
  padding: 0px;
  list-style: none;
  display: flex;
  flex-flow: row;
  align-items: center;
  align-content: space-around;
  background-color: #0ad; /*Bleu*/
  width: 100%;
  height: 100px;
  border: 3px solid blue;
  box-sizing: border-box;
  font-size: 20px;
}

@font-face {
  font-family: 'Luckiest Guy';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/font/LuckiestGuy-Regular.ttf);
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

ul li a {
  /*menu police google font blanc*/
  color: white;
  padding: 1em;
  display: block;
  text-align: center;
  text-decoration: none;
  font-family: "Luckiest Guy", cursive;
}
ul li a:hover {
  /*Survol menu couleur orange*/
  color: rgb(255, 145, 0);
  font-size: 35px;
  -webkit-text-stroke: 1px rgb(5, 9, 10);
}
ul li img {
  /*contour logo menu*/
  border: 3px solid blue;
  height: 94px;
  margin-top: 5px;
  margin-left: -5px;
}
.Lg0 {
  /*positionnement gauche logo menu*/
  flex-grow: 1;
}
.Lg1 {
  /*repartition texte menu*/
  flex-grow: 20;
}
/*--------------*CSS index.html------------------------------------------------------------*/
#welcome {
  position: relative;
  background-color: rgb(203, 214, 248);
  overflow: hidden;
}

#welcome h1 {
  /*Section welcome index.html*/
  position: relative;
  z-index: 2;
  text-align: center;
  font-style: italic;
  font-weight: bold;
  -webkit-text-stroke: 1px #0ad;
  color: rgb(69, 59, 128);
  font-size: 60px;
}

#welcome:before {
  /*Section welcome index.html*/
  content: "";
  display: block;
  position: absolute;
  z-index: 1;
  opacity: 1;
  width: 100%;
  height: 180px;
  background-image: url("assets/Logo.jpg");
  background-size: cover;
}
.parapres {
  /*alignement paragraphe présentation index.html*/
  text-align: left;
  font-size: 25px;
}
/*--------------CSS page royal family------------------------------------------------------------*/
.flexpresent {
  /*alignement horizontal flexbox image royal family*/
  display: flex;
  align-content: space-between;
}
.flexpresent img {
  /*mise en forme et dimension flexbox royal family*/
  max-width: 250px;
  max-height: auto;
  border: 3px solid rgb(255, 145, 0);
  background-color: #0ad; /*Bleu*/
  width: auto;
  height: 400px;
}
.king div:nth-of-type(1):hover + div {
  /*Survol image rotation texte*/
  transform: rotate3d(0, 1, 0, 360deg);
  transition-duration: 2s;
}
.queen div:nth-of-type(1):hover + div {
  /*Survol image rotation texte*/
  transform: rotate3d(0, 1, 0, 360deg);
  transition-duration: 2s;
}
.princess div:nth-of-type(1):hover + div {
  /*Survol image rotation texte*/
  transform: rotate3d(0, 1, 0, 360deg);
  transition-duration: 2s;
}
.flexpresent div {
  /*repartition flexbox et taille texte ryal family*/
  flex: 1 0 0;
  font-size: 35px;
}
/*--------------CSS page sport------------------------------------------------------------*/
.position {
  /*taille et alignement 1ere colonne tableau sport*/
  font-size: 60px;
  text-align: center;
}
table {
  /*mise en forme tableau sport*/
  background-color: white;
  border-collapse: collapse;
  border: 3px solid rgb(255, 145, 0);
  font-size: 30px;
  text-align: center;
  table-layout: auto;
  width: 100%;
}
th,
td {
  /*bordure intérieur et hauteur ligne tableau sport*/
  border: 3px solid rgb(255, 145, 0);
  height: 80px;
}
td img {
  /*ombre sous image png*/
  filter: drop-shadow(5px 5px 5px #666666);
}

/*--------------CSS page contact------------------------------------------------------------*/
.conteneur-flex {
  /*conteneur pour les 3 flexbox en ligne*/
  display: flex;
  height: 100%;
  flex-flow: row;
}
.centrform {
  /* flexbox vide droite et gauche largeur 25%*/
  flex-basis: 25%;
}
.lg60 {
  /*mise en forme du formulaire dans flexbox largeur 50%*/
  flex-basis: 50%;
  font-size: 20px;
}

label {
  /*position label a gauche*/
  float: left;
}
#name,
#email {
  /*Input a gauche et dimension 40% de la flexbox*/
  float: left;
  width: 40%;
  background-color: rgb(253, 224, 185);
  font-size: 15px;
}
textarea {
  /*zone texte a 100% dela flexbox centrale*/
  width: 100%;
  height: 100px;
  background-color: rgb(253, 224, 185);
}

#submit {
  /*mise en forme bouton submit*/
  background: rgb(69, 59, 128);
  width: 150px;
  margin-top: -30px;
  margin-bottom: 20px;
  align-self: center;
  color: white;
  border: none;
  padding: 5px 10px;
}
iframe {
  display: block;
  align-content:center ;
  margin: auto;
  margin-top: 30px;
  width: 600px;
  height: 1000px;
}

/*--------------CSS responsive------------------------------------------------------------*/
@media (max-width: 800px) {
  /*modification responsive inf 800 px*/
  h2 {
    font-size: 40px;
  }
  ul {
    flex-flow: column;
    height: 500px;
    justify-content: flex-flow;
  }
  #welcome h1 {
    /*modification responsive taille texte et hauteur image*/
    font-size: 30px;
  }
  #welcome {
    /*modification responsive taille texte et hauteur image*/

    height: 280px;
  }
  .flexpresent {
    /*modification responsive texte en colonne royal family*/
    display: flex wrap;
    flex-flow: column;
    justify-content: flex-flow;
  }
  .flexpresent img {
    /*mise en forme et dimension flexbox royal family*/
    max-width: 200px;
    max-height: auto;
    height: 300px;
  }
  .flexpresent div {
    /*repartition flexbox et taille texte ryal family*/
    font-size: 25px;
  }
  table {
    /*mise en forme tableau sport*/

    font-size: 15px;
    text-align: center;
    table-layout: auto;
    width: 100%;
  }
  .position {
    /*taille et alignement 1ere colonne tableau sport*/
    font-size: 40px;
  }
  td img {
    /*ombre sous image png*/
    width: 50%;
    height: auto;
    min-width: 40px;
  }
  .centrform {
    flex-basis: 5%;
  }
  .lg60 {
    /*mise en forme du formulaire*/

    flex-basis: 90%;

    font-size: 20px;
  }
  #name,
  #email {
    /*calibrage des input*/
    width: 80%;
  }
  textarea {
    /*calibrage du textarea*/
    max-width: 100%;
  }
}
