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;
  margin-top: 2rem;
}

.painting,
.row,
.col {
  display: flex;
  gap: calc(min(0.025 * 80vw, 0.025 * (50vh - 2rem)));
  align-items: stretch;
  align-content: space-between;
}

@media (min-aspect-ratio: 1/1) {
  .painting {
    width: calc(min(80vh, 60vw - 2rem)) !important;
    height: calc(min(80vh, 60vw - 2rem)) !important;
  }
}

.painting {
  background-color: black;
  width: calc(min(80vw, 60vh - 2rem));
  height: calc(min(80vw, 60vh - 2rem));
  max-width: 500px !important;
  max-height: 500px !important;
}

.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;
}

.qr-container {
  display: flex;
  width: 100%;
  justify-content: start;
}

select {
  font-size: 14pt;
  padding: 0.2rem 1em;
  text-align: start;
  background-color: transparent;
  border: 0.075rem solid black;
  border-radius: 0.4rem;
  cursor: pointer;
  /* border: none; */
  /* border-bottom: 2px solid #dddddd; */
}

@media screen and (min-width: 50rem) {
  .colors {
    gap: 1rem;
  }
  .color svg {
    padding: 0.5rem !important;
  }
}
@media (max-width: 500px) {
  .multisynq-qr-container {
    position: relative !important;
  }
}

.multisynq-qr-container {
  position: fixed;
  bottom: 0px;
  left: 0px;
  margin: 0.5rem;
  background-color: white;
  border: 0.1rem solid black;
  border-radius: 0.5rem;
  transition: width 0.2s, padding 0.2s;
}

.multisynq-qr-container .top-bar {
  display: flex;
  justify-content: flex-end;
}

.multisynq-qr-container .top-bar > * {
  border: 0.2rem solid black;
  border-top: none;
  border-right: none;
  border-radius: 0 0 0 0.5rem;
  padding: 0.5rem;
  stroke-width: 0.05rem;
}

.multisynq-qr-container .qr {
  display: flex;
  cursor: pointer;
}

.multisynq-qr-container .qr svg {
  aspect-ratio: 1;
  width: 100%;
  height: auto;
}

.multisynq-qr-container .bottom-bar {
  padding: 0.5rem;
  padding-top: 0;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.multisynq-qr-container .bottom-bar .url {
  flex-grow: 1;
  overflow-x: scroll;
  white-space: nowrap;
  padding: 0.5rem;
}

.multisynq-qr-container .button {
  padding: 5px;
  border-radius: 5px;
  border: 1px solid gray;
  width: 15px;
  height: 15px;
  display: flex;
}
