html {
   height: 100%;
}
body {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 100vw;
  height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  overflow: hidden;
  justify-content: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
}

p {
   display: none;
}

.card {
   display: flex !important;
   font-family: sans-serif;
   position: relative;
   width: 120px;
   height: 180px;
   border-radius: 5px;
   border: 1px solid #ccc;
   box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
   background-color: white;
   margin: 10px;
}

.card-value-suit {
   display: inline-block;
   position: absolute;
}
.card-value-suit.top {
   font-size: 20px;
   top: 6px;
   left: 6px;
}
.card-value-suit.bot {
   font-size: 20px;
   transform: rotate(180deg);
   bottom: 6px;
   right: 6px;
}
.card-suit {
   font-size: 100px;
   position: absolute;
   top: 50%;
   transform: translateY(-50%);
   left: 20%;
   padding: 10px;
}

.teks1 {
   position: fixed;
   font-size: 100px;
   text-align: center;
   height: 90vh;
   line-height: 90vh;
   color: tomato;
   margin-top: -60vh;
   font-family: "Cambria";
   font-weight: 700;
   text-shadow: 3px 3px 0px Lime, 6px 6px 0px Gold, 9px 9px 0px blue;
   animation-name: teksanim1;
   animation-duration: 2s;
   animation-iteration-count: infinite;
}

.teks2 {
   position: fixed;
   font-size: 100px;
   text-align: center;
   height: 90vh;
   line-height: 90vh;
   color: tomato;
   margin-top: 60vh;
   font-family: "Cambria";
   font-weight: 700;
   text-shadow: 3px 3px 0px Lime, 6px 6px 0px Gold, 9px 9px 0px blue;
   animation-name: teksanim2;
   animation-duration: 2s;
   animation-iteration-count: infinite;
}

@keyframes teksanim1 {
   0%   {margin-top: -60vh;}
   50%   {margin-top: -68vh;}
   100%   {margin-top: -60vh;}
 }

@keyframes teksanim2 {
   0%   {margin-top: 60vh;}
   50%   {margin-top: 68vh;}
   100%   {margin-top: 60vh;}
 }
