* {
  padding: 0;
  margin: 0;

  font-family: 'Montserrat', sans-serif;
}

nav {
  border-top: solid 1px;
  border-color: gray;
  background: #E5E5E5;
  color: #666;
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: fixed;
  bottom: 0px;
  width: 100%;

}

p.lab {
  display: flex;
  justify-content: space-evenly;
  margin-top: 7px;
}

.nomlist {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  border-top: 1px solid;
  padding: 5px;
  align-items: center;
}

.Logo:hover {
  -ms-transform: scale(2);
  -webkit-transform: scale(2);
  transform: scale(2);
}

p.textnom {
  display: inline-block;
  font-size: 1.5rem;
  max-width: 75%;
}

.no-check button {
  border: double;
  background-color: transparent;
  width: 2rem;
  height: 2rem;
}

.check button {
  border: double;
  background-color: gray;
  width: 2rem;
  height: 2rem;
}

.check p {
  color: #666;
  text-decoration: line-through;
}

.list {
  border: solid 1px;
  border-color: gray;
  display: initial;
  word-wrap: break-word;
  width: 90%;
  margin-top: 1rem;
}

.text {
  margin: 1rem;
}

h1 {
  display: none;
}

#Ajouter {
  height: 3rem;
  width: 3rem;
  border-radius: 50%;
  font-size: large;
  font-weight: bold;
}

.couleur {
  padding-right: 1rem;
  display: flex;
  justify-content: space-between;
  float: right;
  width: 100px;
  flex-wrap: wrap;
}

.color {
  width: 2rem;
  height: 2rem;
  border-radius: 30%;
}

#Couleur1 {
  background-color: #a7001e;
}

#Couleur2 {
  background-color: #b693fc;
}

#Couleur3 {
  background-image: url("../img/bois3.jpg");
}


#Couleur4 {
  background-color: #a4bd0a;
}

#Couleur5 {
  background-color: #4a919e;
}

#CouleurWild {
  background-color: #F7146B;
  background-image: url("../img/wild.png");
  background-size: cover;
}

#CouleurSombre {
  background-color: black;
}

.titre {
  border-bottom: solid 1px;
  border-color: gray;
  display: flex;
  justify-content: center;
  padding: 16px;
  background: #E5E5E5;
}

.Ajouter {
  display: none;
}

main {
  text-align: center;
  justify-content: content;
}

.alllist {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  flex-direction: column;
}

h2 {
  margin: 0%;
}

button {
  width: auto;
  height: auto;
  font-size: 1rem;
}

button.add {
  border-radius: 50%;
  color: black;
  border: none;
  margin-right: 5px;
  background-image: url("../img/ajouter.png");
  background-size: cover;
  width: 2rem;
  height: 2rem;
}


button.sup {
  color: red;
  width: 2rem;
  height: 2rem;
  border: none;
  background-color: transparent;
  background-image: url("../img/croix.png");
  background-size: cover;
}

.Logo {
  position: relative;
  animation-name: start;
  animation-duration: 4s;
}

p.nume {
  display: none;
  justify-content: center;
  vertical-align: baseline;
}

@keyframes startlist {
  0% {
    transform: scale(0.1);
  }
}

@keyframes start {
  0% {
    left: 0%;
  }

  50% {
    transform: rotate(360deg);
    left: 90%;
  }

  100% {
    left: 0%;
  }
}

@media screen and (orientation: landscape) {
  body {
    display: initial;
    align-items: center;
    justify-content: center;
  }

  p.textnom {
    font-size: 1rem;
  }

  main {
    display: flex;
    text-align: center;
    justify-content: content;
  }

  .no-check button {
    width: 1rem;
    height: 1rem;
  }

  .check button {
    width: 1rem;
    height: 1rem;
  }

  button.add {
    width: 1rem;
    height: 1rem;
  }

  button.sup {
    width: 1rem;
    height: 1rem;
  }

  .color {
    width: 1.5rem;
    height: 1.5rem;
  }

  .alllist {
    width: 100%;
    display: grid;
    grid-template-columns: calc(100%/3) calc(100%/3) calc(100%/3);
    justify-items: center;
    align-items: start;
    padding-top: 2rem;
  }

  .list {
    width: 90%;
    margin: 5px;
  }

  nav {
    border-bottom: solid 1px;
    border-top: initial;
    background: #E5E5E5;
    color: #666;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: initial;
  }

  .Logo:hover {
    transform: rotate(359deg);
  }

  #Ajouter {
    display: none;
  }

  h1 {
    display: block;
    font-weight: bold;
    padding-left: 1rem;
    font-size: 3rem;
    color: black;
  }

  .titre {
    display: none;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;

  }

  .Ajouter {
    background: #E5E5E5;
    height: 5rem;
    width: 5rem;
    border-color: rgb(130, 3, 3);
    border-radius: 50%;
    font-size: large;
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    display: block;
  }
}