html,
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

.App {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  height: 100vh;
  width: 100%;
  min-height: 28rem;
  min-width: 10rem;
}

.painting,
.row,
.col {
  display: flex;
  gap: 2px;
  align-items: stretch;
  align-content: space-between;
}

.row {
  flex-direction: row;
}

.col {
  flex-direction: column;
}

.d-flex {
  display: flex;
}

.justify-content-center {
  justify-content: center;
}

.align-items-center {
  align-items: center;
}

.colors {
  display: flex;
  gap: 2vw;
  max-width: 35rem;
  justify-content: center;
}

.color {
  margin: 0.1rem;
  padding: 0;
  outline: 0.1rem solid black;
  border-radius: 50%;
  cursor: pointer;
  align-self: center;
  min-width: 1rem;
  min-height: 1rem;
  max-width: 3rem;
  max-height: 3rem;

  svg {
    padding: 1vw;
    width: 100%;
    height: 100%;
  }
}

.user-count {
  align-self: flex-end;
  padding: 0.5rem;
  background-color: gray;
  color: white;
  border-radius: 0.5rem 0 0 0.5rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}

@media screen and (min-width: 50rem) {
  .colors {
    gap: 1rem;
  }
  .color svg {
    padding: 0.5rem !important;
  }
}

@media screen and (min-width: 10rem) {
  .painting,
  .row,
  .col {
    gap: 3px;
  }
}

@media screen and (min-width: 20rem) {
  .painting,
  .row,
  .col {
    gap: 4px;
  }
}

@media screen and (min-width: 30rem) {
  .painting,
  .row,
  .col {
    gap: 6px;
  }
}

@media screen and (min-width: 40rem) {
  .painting,
  .row,
  .col {
    gap: 8px;
  }
}

@media screen and (min-width: 50rem) {
  .painting,
  .row,
  .col {
    gap: 9px;
  }
}
