.folders {
  display: grid;
  grid-template-columns: auto auto auto auto auto auto;
  grid-auto-flow: row;
  gap: 1rem;

  @media screen and (width <= 480px) {
    grid-template-columns: auto;
  }
}

.folder {
  color: var(--background-darker);
  background: var(--primary-color);
  border-radius: 1rem;
  padding: 1rem 0;
  display: flex;
  align-items: center;
  flex-flow: column;
  gap: 0.75rem;
  transition: all 0.3s;
  text-decoration: none;

  &:hover {
    background: var(--primary-color-darker);
    color: var(--background-darker);
  }

  svg {
    fill: currentcolor;
  }
}

.files {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;

  @media screen and (width <= 480px) {
    grid-template-columns: 1fr;
  }
}

.file {
  img {
    width: 100%;
    height: auto;
  }
}
