*, *::before, *::after {
  box-sizing: border-box; }

* {
  margin: 0;
  padding: 0; }

ul[role='list'], ol[role='list'] {
  list-style: none; }

html:focus-within {
  scroll-behavior: smooth; }

a:not([class]) {
  -webkit-text-decoration-skip: ink;
          text-decoration-skip-ink: auto; }

img, picture, svg, video, canvas {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  font-style: italic;
  background-repeat: no-repeat;
  background-size: cover; }

input, button, textarea, select {
  font: inherit; }

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto; }
  *, *::before, *::after {
    -webkit-animation-duration: 0.01ms !important;
            animation-duration: 0.01ms !important;
    -webkit-animation-iteration-count: 1 !important;
            animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transition: none; } }

body, html {
  height: 100%;
  scroll-behavior: smooth; }

/* ==========================================================================
   COLORS
   ========================================================================== */
@-webkit-keyframes bingo-title-animation {
  0% {
    -webkit-transform: rotate(-10deg) scale(1) skew(1deg);
            transform: rotate(-10deg) scale(1) skew(1deg); }
  33% {
    -webkit-transform: rotate(-25deg) scale(0.8) skew(1deg);
            transform: rotate(-25deg) scale(0.8) skew(1deg); }
  66% {
    -webkit-transform: rotate(25deg) scale(1.2) skew(1deg);
            transform: rotate(25deg) scale(1.2) skew(1deg); }
  100% {
    -webkit-transform: rotate(-10deg) scale(1) skew(1deg);
            transform: rotate(-10deg) scale(1) skew(1deg); } }
@keyframes bingo-title-animation {
  0% {
    -webkit-transform: rotate(-10deg) scale(1) skew(1deg);
            transform: rotate(-10deg) scale(1) skew(1deg); }
  33% {
    -webkit-transform: rotate(-25deg) scale(0.8) skew(1deg);
            transform: rotate(-25deg) scale(0.8) skew(1deg); }
  66% {
    -webkit-transform: rotate(25deg) scale(1.2) skew(1deg);
            transform: rotate(25deg) scale(1.2) skew(1deg); }
  100% {
    -webkit-transform: rotate(-10deg) scale(1) skew(1deg);
            transform: rotate(-10deg) scale(1) skew(1deg); } }

body {
  position: relative;
  background-color: #FFB600; }

.app {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column; }

.app-container {
  padding: 64px;
  background-color: #8778FF; }

.main-header .main-title {
  font-family: "Permanent Marker", cursive;
  font-weight: 400;
  font-size: 4rem;
  font-style: normal;
  color: #FFB600;
  text-align: center;
  margin-bottom: 24px; }

.bingo-grid tbody {
  display: flex;
  flex-direction: column;
  gap: 16px; }
  .bingo-grid tbody tr {
    display: flex;
    gap: 16px; }

.bingo-grid .bingo-card {
  background-color: #fff;
  padding: 16px;
  min-width: clamp(50px, 10vw, 250px);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex: 1;
  aspect-ratio: 1/1;
  -webkit-user-select: none;
      -ms-user-select: none;
          user-select: none; }
  .bingo-grid .bingo-card:hover {
    cursor: pointer; }
  .bingo-grid .bingo-card.is-checked {
    background-color: red; }

.app-modal {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  top: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all ease-in-out .3s;
  display: flex;
  justify-content: center;
  align-items: center; }
  .app-modal.is-opened {
    opacity: 1;
    visibility: visible; }
    .app-modal.is-opened h1 {
      -webkit-animation: bingo-title-animation infinite 1s;
              animation: bingo-title-animation infinite 1s; }
  .app-modal .modal-close {
    position: absolute;
    top: 10px;
    right: 10px; }
  .app-modal h1 {
    font-family: "Permanent Marker", cursive;
    font-weight: 400;
    font-size: 12rem;
    font-style: normal;
    -webkit-transform: rotate(-10deg);
            transform: rotate(-10deg);
    color: #fff; }

.main-footer {
  margin-top: 16px; }
  .main-footer .footer-infos {
    display: flex;
    width: 100%;
    text-align: center;
    justify-content: center;
    font-style: italic; }
