You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

89 lines
1.5 KiB

  1. @import url('https://fonts.googleapis.com/css2?family=Cabin:wght@600;700&display=swap');
  2. *{
  3. font-family: 'Cabin', sans-serif;
  4. }
  5. body
  6. {
  7. overflow: hidden;
  8. background-image: url('../img/Bg.png');
  9. background-size: cover;
  10. }
  11. /* ### Stapel-"Karte ziehen" ### */
  12. .stack-draw
  13. {
  14. max-width: 25vh;
  15. min-width: 20vh;
  16. position: absolute;
  17. top: 47vh;
  18. right: min(90%, (53% + 10vh));
  19. transform: translate(50%, -50%);
  20. }
  21. /* ### Stapel-"Karte legen" ### */
  22. .stack-put
  23. {
  24. max-width: 25vh;
  25. min-width: 20vh;
  26. position: absolute;
  27. top: 47vh;
  28. left: min(90%, (53% + 10vh));
  29. transform: translate(-50%, -50%);
  30. }
  31. #first-put-anim
  32. {
  33. top: 30vh;
  34. opacity: 0;
  35. }
  36. #first-put
  37. {
  38. opacity: 0;
  39. }
  40. .playerDeck{
  41. display: flex;
  42. justify-content: center;
  43. position: absolute;
  44. bottom: 0;
  45. left: 0;
  46. width: 100%;
  47. height: 30%;
  48. }
  49. .pictureCard
  50. {
  51. position: absolute;
  52. width: 8vw;
  53. box-shadow: 3px 3px rgba(0, 0, 0, 0.2);
  54. background-color: rgb(0, 0, 0);
  55. border: 0.2vw solid black;
  56. border-radius: 1.5vw;
  57. transition: top 0.5s, width 0.5s, transform 0.5s, left 0.5s, opacity 0.5s;
  58. }
  59. .pictureCard img{
  60. width: 100%;
  61. }
  62. #sayUno{
  63. position: absolute;
  64. bottom: 0vh;
  65. left: 3vh;
  66. width: 100%;
  67. opacity: 0;
  68. }
  69. .uno{
  70. position: absolute;
  71. bottom: 10.5vw;
  72. left: 11vw;
  73. width: 25vw;
  74. transition: width ease-in-out 0.5s;
  75. transform: translate(-50%, 50%);
  76. }
  77. #sayUno-glow{
  78. opacity: 0.3;
  79. transition: width ease-in-out 0.5s, opacity 0.5s;
  80. }