@charset "UTF-8";
/*Couleur*/
@import url("https://fonts.googleapis.com/css?family=Pacifico");
@import url("https://fonts.googleapis.com/css?family=Damion|Roboto");
body {
  margin: 0;
  padding: 0; }

[src*="construction"] {
  width: 100vw;
  height: auto; }

h1, h2, h3, p {
  text-align: center; }

h1 {
  margin-bottom: 0;
  font-family: "Damion", cursive;
  font-size: 3rem;
  color: #15AABF;
  margin-top: 15px; }

h2 {
  color: grey;
  margin-top: 0;
  font-family: "Roboto", sans-serif;
  font-weight: 100;
  font-size: 1rem;
  margin-left: 5vw; }

p {
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: 1.2rem;
  margin-top: 20px; }

#aide, #retour {
  top: 20px;
  position: fixed;
  text-decoration: none;
  color: #228BE6;
  font-size: 1.5rem; }

#aide {
  right: 20px; }

#retour {
  left: 20px; }

#content {
  display: flex;
  align-itrems: start; }
  #content > div:first-child {
    width: 70vw; }
    #content > div:first-child #game {
      width: 30vw;
      height: 30vw;
      background-color: grey;
      margin: auto;
      padding: 0.5vw;
      border-radius: 10px;
      box-sizing: border-box;
      margin-top: 5vh;
      display: flex;
      justify-content: center;
      align-itrems: center;
      flex-wrap: wrap; }
      #content > div:first-child #game .griditem {
        width: 6.25vw;
        height: 6.25vw;
        margin: 0.5vw;
        border-radius: 10px; }
      #content > div:first-child #game .griditem {
        background-color: lightgray;
        line-height: 6.25vw;
        text-align: center;
        font-size: 3rem;
        color: white;
        transition: 0.5s;
        font-family: "Damion", cursive; }
        #content > div:first-child #game .griditem.case_2 {
          background-color: #C87ADB;
          transition: 0.5s; }
        #content > div:first-child #game .griditem.case_4 {
          background-color: #6C4E8C;
          transition: 0.5s; }
        #content > div:first-child #game .griditem.case_8 {
          background-color: #4F63C6;
          transition: 0.5s; }
        #content > div:first-child #game .griditem.case_16 {
          background-color: #228BE6;
          transition: 0.5s; }
        #content > div:first-child #game .griditem.case_32 {
          background-color: #15AABF;
          transition: 0.5s; }
        #content > div:first-child #game .griditem.case_64 {
          background-color: #38D9A9;
          transition: 0.5s; }
        #content > div:first-child #game .griditem.case_128 {
          background-color: #49DD64;
          transition: 0.5s; }
        #content > div:first-child #game .griditem.case_256 {
          background-color: #B3E266;
          transition: 0.5s; }
        #content > div:first-child #game .griditem.case_512 {
          background-color: #FFE16D;
          transition: 0.5s; }
        #content > div:first-child #game .griditem.case_1024 {
          background-color: #FFA94D;
          transition: 0.5s;
          font-size: 2.5rem; }
        #content > div:first-child #game .griditem.case_2048 {
          background-color: #FA5252;
          transition: 0.5s;
          font-size: 2.5rem; }
        #content > div:first-child #game .griditem.case_4096 {
          background-color: #F06595;
          transition: 0.5s;
          font-size: 2.5rem; }
        #content > div:first-child #game .griditem.case_8192 {
          background-color: #C43C6C;
          transition: 0.5s;
          font-size: 2.5rem; }
        #content > div:first-child #game .griditem.case_16384 {
          background-color: #8C3A6B;
          transition: 0.5s;
          font-size: 2rem; }
  #content > div#sidebar {
    width: 20vw;
    height: 30vw;
    margin-top: 5vh;
    margin-right: 10vw;
    padding: 40px;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-itrems: center; }
    #content > div#sidebar #boxscore {
      width: 5vw;
      text-align: center;
      margin: 0 auto;
      background-color: grey;
      color: white;
      border-radius: 20px;
      padding: 10px 20px;
      margin-bottom: 40px;
      position: relative; }
      #content > div#sidebar #boxscore #ajout {
        position: absolute;
        top: -2vh;
        left: 9vw;
        font-size: 1.5rem;
        opacity: 0;
        background-color: white;
        animation-name: score;
        animation-duration: 2s;
        color: black; }
    #content > div#sidebar h3 {
      margin-top: 0;
      font-family: "Roboto", sans-serif;
      margin-bottom: 10px; }
    #content > div#sidebar span {
      font-size: 1.5rem; }
      #content > div#sidebar span[class^="icon-"] {
        color: #228BE6;
        background-color: transparent;
        border: 1px #228BE6 solid;
        padding: 15px;
        border-radius: 50%;
        margin: 20px; }
        #content > div#sidebar span[class^="icon-"].dispo {
          color: white;
          background-color: #228BE6;
          border: 1px transparent solid; }
          #content > div#sidebar span[class^="icon-"].dispo:hover {
            cursor: pointer; }
    #content > div#sidebar .bouton {
      margin: 0 auto;
      margin-bottom: 20px; }
    #content > div#sidebar p {
      margin-top: 40px;
      font-size: 0.8rem;
      line-height: 1.5rem; }
      #content > div#sidebar p a {
        color: #228BE6;
        font-weight: bold; }

.popup {
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  display: none; }
  .popup p {
    color: white;
    font-family: "Damion", cursive;
    font-size: 3rem; }
  .popup .bouton {
    border: 1px solid white;
    color: white; }
  .popup div > div {
    display: flex; }

.bouton {
  display: block;
  padding: 2vh 0;
  width: 15vw;
  text-decoration: none;
  text-align: center;
  font-family: "Roboto", sans-serif;
  border: 1px solid #228BE6;
  color: #228BE6;
  border-radius: 10px;
  background-color: transparent;
  margin: 0 20px; }
  .bouton:hover {
    border: 1px solid transparent;
    background-color: #228BE6;
    color: white; }

@keyframes score {
  0% {
    top: -2vh;
    opacity: 1; }
  100% {
    top: -4vh;
    opacity: 0; } }
/*Si un bonus est activ├®*/
body.bonus .griditem[class*="case_"]:hover {
  box-shadow: 10px 10px 67px 10px rgba(245, 242, 71, 0.63); }
body.bonus #action {
  background-color: #15AABF;
  transition: 1s;
  width: 30vw;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box; }

#action {
  background-color: white;
  transition: 1s;
  width: 30vw;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  padding: 20px; }

#contenthelp {
  padding: 0 5vw; }
  #contenthelp h3 {
    color: #C87ADB;
    margin-left: 10vw;
    text-align: left;
    font-family: "Damion", cursive;
    font-size: 2rem;
    margin-bottom: 20px;
    margin-top: 0; }
  #contenthelp p {
    text-align: left;
    font-family: "Roboto", sans-serif; }
  #contenthelp ul {
    padding: 0; }
    #contenthelp ul li {
      list-style-type: none;
      font-family: "Roboto", sans-serif;
      font-size: 1.2rem; }
      #contenthelp ul li span {
        font-size: 1.8rem;
        color: #C87ADB;
        margin-left: 5px; }
      #contenthelp ul li strong {
        color: #C87ADB; }

.griditem.choisi {
  box-shadow: 10px 10px 67px 10px rgba(245, 242, 71, 0.63); }

/* ======================================================================================================
Canvas */
#gagner > * {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh; }
#gagner > div {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column; }

/*# sourceMappingURL=style.css.map */
