/*
        ,....,
      ,::::::<
     ,::/^\"``.
    ,::/, `   e`.
   ,::; |        '.
   ,::|  \___,-.  c)
   ;::|     \   '-'
   ;::|      \
   ;::|   _.=`\
   `;:|.=` _.=`\
     '|_.=`   __\
     `\_..==`` /
      .'.___.-'.
     /          \
    ('--MORGAN--')
    /'--.ALI..--'\
    `"--......--"`
*/

body {
  background-color: black;
  background-image: url("mat.jpg"); 
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  background-size: cover;
  background-position: center;

}

.card {

  cursor: move;
}



#deck2 {

  position: absolute;
  z-index: -3;
  background-color: white;
  width: 108px;
  height:138px;
  border: solid 3px black;
  font-family: visitor1;
  font-size: 31px;
  text-align: center;
  padding: 5px;
  animation: deck 1s infinite;
  color:black;
}

@keyframes deck {
  0% {background-color: white; color:black; border: solid 3px black;}
  50% {background-color: black; color:white; border: solid 3px white;}
  100% {background-color: white; color:black; border: solid 3px black;}

}

@keyframes deck2 {
  0% {color:black; border: solid 3px black; background-color: white; }
  50% {color:white; border: solid 3px white;background-color: black; }
  100% {color:black; border: solid 3px black;background-color: white; }

}

#deck {

  position: absolute;
  z-index: -3;


}

#congrats {

  position:fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);

  height: 370px;
  width: 80vw;
  cursor: pointer;

  text-align: center;
  vertical-align:middle;

  font-size: 15vw;
  font-family: visitor1;
  animation: deck2 1s infinite;

  background-color: white;
}

@media screen and (max-width: 700px) {

  #congrats {
      height: 170px;
  }


}

#congratsP {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) }
}

#span {

  font-size: 8vw;

}



.hidden {
    display: none;

}






#positionX {

  font-size: 30px;
  font-family: arial;
  margin:300px;
  position: absolute;
  display: none;
}

#positionY {

  font-size: 30px;
  font-family: arial;
  margin:330px;
  position: absolute;
    display: none;
}







}

#copyright{
  position: fixed;
   bottom: 0;
   right: 0;
  display: block;
  margin: auto;

  color: #aaaaaa;
  font-size: 20px;
  font-family: 'arial';
}




#white {
  width: 100vw;
  height: 100vh;
  transform: scale(0.00001);
  background-blend-mode: color;

}







/* ================================= TESTESTESTE ==== */



.card {

  width: 87px;
  -webkit-width: 87px;
  height: 120px;
  -webkit-height: 120px;
  position: relative;
  -webkit-position: relative;
  perspective: 1000px;
  -webkit-perspective: 1000px;


}

.card img.un, .card div {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 1s;
  -webkit-transition: transform 1s;
  width: 87px;
  -webkit-width: 87px;
  height: 120px;
  -webkit-height: 120px;
  border: solid 1px black;
  -webkit-border: solid 1px black;
}

.card:hover img.un {


  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
}


.card div {


  position:absolute;
  -webkit-position:absolute;
  top:0;
  -webkit-top:0;
  left:0;
  -webkit-left:0;
  width: 87px;
  -webkit-width: 87px;
  height: 120px;
  -webkit-height: 120px;
  z-index: 1;
  -webkit-z-index: 1;


  font-size: 48px;
  -webkit-font-size: 48px;
  font-family: Arial;
  -webkit-font-family: Arial;

  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);

}


.card:hover div {
  transform: rotateY(360deg);
  -webkit-transform: rotateY(360deg);

}

.card img.deux {
  width: 87px;
  -webkit-width: 87px;
  height: 120px;
  -webkit-height: 120px;
  position: relative;
  -webkit-position: relative;
}




/* DROP DOWN ================ */

.menu {

  width: 50px;
  height: 50px;
}

.dropbtn {
  margin-top: 9px;
  margin-right: 9px;
  background-color: white;
  color: black;
  padding: 5px;
  font-size: 20px;
  border: solid 3px black;
  cursor: pointer;
  outline: none;
  font-family: visitor1;

}

.dropbtn:hover, .dropbtn:focus {
  background-color: black;
  color:white;
  border: solid 3px black;

}

.dropdown {
  /* float: right; */
  position: absolute;
  top: 0;
  right: 0;
  display: inline-block;
  z-index: 5;

}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  width: 130px;
  margin-right: 9px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  right: 0;
  z-index: 1;
  border: solid 3px black;
}

.dropdown-content a {
  color: black;
  padding: 1px 1px;
  text-decoration: none;
  display: block;
  text-align: center;
  font-size: 20px;
  font-family: visitor1;
}

.dropdown a:hover {
  background-color: black;
  color:white;
  cursor:pointer;
}

.show {display: block;}

@font-face {
  font-family: visitor1;
  src: url(visitor1.ttf);
}
