:root {
  font-size: 1rem;
  --pico-spacing: 0.75rem;
}

body {
    width: 100%;
    height: 100vh;
    padding: 2rem;
}

.flex-align-end {
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: center;
    justify-content: flex-end;
}

.flex-row-space-between {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    align-content: center;
}

/* Tab design */
[role="tabs"] {
  display: flex;
}

[role="tabs"] section {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

[role="tabs"] figure {
  flex-grow: 1;
  width: 100%;
  height: 100%;
}

[role="tabs"] [type="radio"]:checked + figure {
  display: block;
}

nav[role="tab-control"] label.active {
  color: var(--primary);
  cursor: pointer;
}
/* END Tab design */

/* Gallery Display */
.gallery-panel {
    gap: 1rem;
    columns: 2;

    padding: 1rem;
}

.gallery-item {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    break-inside: avoid;
    margin-bottom: 1rem;
}

.gallery-item img {
    width: 100%;
    height: auto;
}

/* Tablet */
@media (min-width: 600px) {
  .gallery-panel {
    columns: 3;
    padding: 2rem;
  }
}

/* Desktop */
@media (min-width: 900px) {
  .gallery-panel {
    columns: 4;
    padding: 3rem;
  }
}
/* END Gallery Display */