@import url('https://fonts.googleapis.com/css2?family=Cabin:wght@600;700&display=swap'); *{ font-family: 'Cabin', sans-serif; } body { overflow: hidden; background-image: url('../img/Bg.png'); background-size: cover; } /* ### Stapel-"Karte ziehen" ### */ .stack-draw { max-width: 25vh; min-width: 20vh; position: absolute; top: 47vh; right: min(90%, (53% + 10vh)); transform: translate(50%, -50%); } /* ### Stapel-"Karte legen" ### */ .stack-put { max-width: 25vh; min-width: 20vh; position: absolute; top: 47vh; left: min(90%, (53% + 10vh)); transform: translate(-50%, -50%); } #first-put-anim { top: 30vh; opacity: 0; } #first-put { opacity: 0; } .playerDeck{ display: flex; justify-content: center; position: absolute; bottom: 0; left: 0; width: 100%; height: 30%; } .pictureCard { position: absolute; width: 8vw; box-shadow: 3px 3px rgba(0, 0, 0, 0.2); background-color: rgb(0, 0, 0); border: 0.2vw solid black; border-radius: 1.5vw; transition: top 0.5s, width 0.5s, transform 0.5s, left 0.5s, opacity 0.5s; } .pictureCard img{ width: 100%; } #sayUno{ position: absolute; bottom: 0vh; left: 3vh; width: 100%; opacity: 0; } .uno{ position: absolute; bottom: 10.5vw; left: 11vw; width: 25vw; transition: width ease-in-out 0.5s; transform: translate(-50%, 50%); } #sayUno-glow{ opacity: 0.3; transition: width ease-in-out 0.5s, opacity 0.5s; }