/*author : Thibaut L*/
/*commentaire réseaux sociaux envellope*/
/*padding est à 0px barre de droite mettre le HTML par <setion> <article>    et     */

/*MENU HEADER HTML5*/

nav {
  position: absolute;

}

footer {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

P {
  font-size: 15px;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  margin-left: 15px;
  padding: 10px;
}

a {
  margin-left: 20px;
}

h1 {
  font-size: 35px;
  font-family: 'Times New Roman', Times, serif;
}

.special-big {
  font-size: 80px;
  font-family: 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  margin-left: 5px;
  text-decoration: none;
}

h2 {
  font-size: 30px;
  font-family: 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  margin-left: 5px;
  text-decoration: none;
}

h3 {
  font-size: 40px;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  margin: 15px;
}

li {
  list-style: none;
  text-decoration: none;

}

code {
  font-size: 15px;
  background-color: cornsilk;
  padding: 0px;
  white-space: pre-wrap;
  tab-size: 4;
}

/*class dans la div au dessus de la publicité de google */
/*index généraux pub*/
.pubcenter {
  padding: 15px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.liensno a {
  /*atif au espacement du menu de navigation*/
  color: white;
  margin-left: 8px;
  text-decoration: none;
}

#image-console {
  margin-left: auto;
  margin-right: auto;
}

#image-console img {
  margin: 50px;
  padding: 10px;
  border: 1px solid black;
  justify-content: center;
  align-items: center;
  width: 30em;
  height: 450px;
}

#image-logo a {
  text-decoration: none;
  font-family: helvetica sans-serif;
}

#image-logo img {
  vertical-align: middle;
  width: 60px;
  height: 60px;
  padding: 10px;
}

.boutonaccueil {
  width: 110px;
  height: 110px;
  padding: 10px;
}

#snake-cadre {
  text-align: center;
  padding: 5px;
  margin: 20px;
  border: solid 10px black;
  margin-left: auto;
  margin-right: auto;
}

/*special Thanks*/
/*import from (c) 2021 by Derek Viets */
/*special Thanks*/
@import url("https://fonts.googleapis.com/css?family=VT323");

::selection {
  color: #FFFFFF;
  background: transparent;
}

::-moz-selection {
  color: #FFFFFF;
  background: transparent;
}


.wrap {
  margin-left: auto;
  margin-right: auto;
}


canvas {
  display: none;
  border-style: solid;
  border-width: 20px;
  border-color: #FFFFFF;
}

canvas:focus {
  outline: none;
}

/* Top Styles */


.score {
  display: inline-block;
  width: 240px;
  font-size: 20px;
  color: #FFFFFF;
  text-align: right;
}

.score_value {
  font-size: inherit;
}



/* All screens style */
#gameover a,
#setting a,
#menu a {
  display: block;
}

#gameover a,
#setting a:hover,
#menu a:hover {
  cursor: pointer;
  font-weight: 680;
}

#gameover a:hover::before,
#setting a:hover::before,
#menu a:hover::before {
  content: ">";
  margin-right: 10px;
}

/* Menu Screen Style */
#menu {
  display: block;
  width: 340px;
  padding-top: 95px;
  padding-bottom: 95px;
  font-size: 40px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  color: #FFF;
}

#menu h2 {
  -webkit-animation: logo-ani 1000ms linear infinite;
  animation: logo-ani 1000ms linear infinite;
  margin-bottom: 30px;

}

#menu a {
  font-size: 30px;
}

@-webkit-keyframes logo-ani {
  50% {
    -webkit-transform: scale(1.3, 1.3);
  }

  100% {
    -webkit-transform: scale(1.0, 1.0);
  }
}

@keyframes logo-ani {
  50% {
    transform: scale(1.3, 1.3);
  }

  100% {
    transform: scale(1.0, 1.0);
  }
}


/* Game Over Screen Style */

#gameover {
  display: none;
  width: 340px;
  padding-top: 95px;
  padding-bottom: 95px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: 30px;
  color: #FFF;
}

#gameover p {
  margin-top: 25px;
  font-size: 20px;
}

/* Settings Screen Style */
#setting {
  display: none;
  width: 340px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 85px;
  padding-bottom: 85px;
  font-size: 30px;
  color: #FFF;
  text-align: center;
}

#setting h2 {
  margin-bottom: 15px;
}

#setting p {
  margin-top: 10px;
}

#setting input {
  display: none;
}

#setting label {
  cursor: pointer;
}

#setting input:checked+label {
  background-color: #FFF;
  color: #000;
}