/*css reset*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
h2 {
  margin-left: 3%;
  font-family: "Times New Roman", Times, serif;
}

body {
  background: rgb(34, 193, 195);

  /*background: linear-gradient(0deg, 
   rgba(34,193,195,1) 0%, 
   rgba(253,187,45,1) 100%); */

  background: url("../images/papier-peint-graphique-2d-gradients-granuleux-colores.jpg");
}

/*menu principal*/
nav {
  width: 100%;
  z-index: 100;
  /* position: fixed; */
  position: -webkit-sticky;
  position: sticky;
  top: 0;
}

nav ul {
  list-style-type: none;
  display: flex;
}

nav li {
  /*float:left;*/
  flex-grow: 1;
  position: relative;
  text-align: center;
  background-color: lightcoral;
}

nav li :hover {
  background-color: aquamarine;
  border-bottom: 4px solid blue;
}
nav li a {
  text-decoration: none;
  display: block;
  padding: 15px;
  color: black;
  font-weight: bold;
  font-size: 14px;
  border-bottom: 4px solid lightcoral;
}

/* sous menu deroulant */
nav li ul {
  position: absolute;
  width: 100%;
  z-index: 100;
  display: none;
}

nav li:hover ul {
  /*display: block;*/
  display: flex;
  flex-direction: column;
}
/*
nav li:hover ul li {
  float: none;
  width: 100%;
}*/

.header {
  height: auto;
  width: 100%;
}

.icone {
  font-size: 1.5em;
  color: yellow;
}
body {
  background-image: url("../images/papier-peint-graphique-2d-gradients-granuleux-colores.jpg");
  background-attachment: fixed;
  background-position: top;
  background-size: cover;
}

.container {
  height: 100%;
}

footer {
  background-color: palevioletred;
  box-sizing: border-box;
  width: 100%;
  padding: 30px;
  position: relative;
}

.copyright {
  position: absolute;
  top: 50px;
  left: 50px;
  font-size: 1em;
  font-weight: bold;
}

.social-icons {
  text-align: end;
}
/*icones*/

.social-icons li {
  position: relative;
  right: 10px;
  display: inline-block;

  /*haut, gauche,bas,droite*/
  margin: 0px 10px 10px 0px;
  font-size: 24px;
  list-style-type: none;
  border-radius: 50%;
  transition: 0.5s;
}

.social-icon li:hover {
  transform: translate(-80px);
  rotate: (360deg) scale(1, 0.5);
  box-shadow: 0 10px rgba(255, 255, 255, 0.5);
}

.social-icon a {
  display: block;
  color: #fff;
  padding: 10px;
}

.social-icons li:nth-child(1) i {
  color: #74c0fc;
}

.social-icons li:nth-child(2) i {
  color: #ff0000;
}

.social-icons li:nth-child(3) i {
  color: #1ba861;
}

.social-icons li:nth-child(4) i {
  color: #000;
}

.social-icons li:nth-child(5) i {
  color: #fff;
}

/* menu hamburger Transition

.menu {
  display: flex;
  justify-content: end;
}

.menu a {
  display: flex;
  justify-content: center;
}

.navbar-toggle {
  display: none;
  cursor: pointer;
  font-size: 2em;
  color: white;
  position: absolute;
  top: 0.2em;
  margin-left: 2vh;
}
.bar1,
.bar2,
.bar3 {
  width: 35px;
  height: 5px;
  background-color: #fff;
  margin: 6px;
  transition: 0.4s;
}

.change .bar1 {
  transform: rotate(-45deg) translate(-9px, 6px);
}

.change .bar2 {
  opacity: 0;
}

.change .bar3 {
  transform: rotate(45deg) translate(-9px, -6px);
}

/*tablette*/

/*@media screen and (min-width: 768px) and (max-width: 980px) {
  .menu {
    justify-content: space-between;
  }
}

/* cllulaire*/

/*@media screen and (min-width: 380px) and (max-width: 768px) {
  .navbar-toggle {
    display: block;
  }
  .menu {
    display: none;
  }
  .navbar {
    display: block;
    position: relative;
  }
  /* classe utiliser dans le js pour ouvrr le menu*/
/*.active {
    display: flex;
    flex-direction: column;
  }
}*/

/*Vignette*/

body {
  background-color: palevioletred;
}

.flex-container {
  display: flex;
  justify-content: center;
}

.vignette-pokemon {
  background-color: white;
  height: 205px;
  width: 200px;
  border: 1px black solid;
  border-radius: 105px;
  margin-right: 10px;
  cursor: pointer;
  overflow: hidden;
}

.vignette-pokemon:hover {
  opacity: 0.7;
  cursor: pointer;
}

.vignette-pokemon img {
  height: 300px;
}

#zone-affichage {
  background-color: white;
  display: flex;
  width: 804px;
  height: 300px;
  margin: 0 auto;
  margin-top: 10px;
  padding-left: 3%;
  border: solid 10px palevioletred;
  border-radius: 58px;
  text-transform: lowercase;
}

.detail-pokemon {
  display: none;
  width: 700px;
  height: 500px;
  border: solid 3px black;
}

.pokemon-nom {
  font-size: 17px;
  text-size-adjust: 10px;
  margin-right: 2%;
}

.pokemon-description {
  width: 871px;
}

.pokemon-images {
  width: 270px;
  margin-top: 2px;
}
