:root { --cs-orange: #F9A700; --cs-black: #1B2031; --pgl-grey: #4A4E57; } @font-face { font-family: "csregular"; src: url(./cs_regular.ttf); /*font-weight: normal; font-style: normal;*/ } body { background-color: var(--pgl-grey); color: white; } h1, span { user-select: none; } .bingo-board h1, .bingo-board span, .container > .title{ font-family: "csregular"; transform: scaleY(1.4); } .container { padding: 5px; display: flex; flex-direction: column; align-items: center; margin: auto; } .bingo-board { width: 100%; display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; } .bingo-board > div { width: 100%; } .bingo-board > div > div { background: var(--cs-orange); display: grid; border-radius: .5rem; aspect-ratio: 1; } .bingo-board div span { font-size: 3.5rem; place-self: center; color: white; } .legend { display: grid; grid-template-columns: auto auto 1fr; column-gap: 2rem; } .legend .header span { font-weight: bold; } div.highlighted { animation: fadeinout 1.5s ease-in-out; } div > div.begone { animation: disappear 1s forwards; } .entry-letter { text-align: center; } @keyframes fadeinout { 0% { transform: scale(1); transform-origin: center; background-color: unset; } 50% { transform: scale(1.2); transform-origin: center; background-color: yellow; } 100% { transform: scale(1); transform-origin: center; background-color: unset; } } @keyframes disappear { 0% { filter: saturate(1) opacity(1); transform: scale(1) rotate(0deg); } 74% { filter: saturate(1) opacity(1); transform: scale(0) rotate(720deg); } 75% { filter: saturate(0) opacity(.1); transform: scale(0) rotate(720deg); } 100% { filter: saturate(0) opacity(.1); transform: scale(1) rotate(720deg); } }