* {
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  color: #333;
  padding: 1rem;
  font-size: 16px;
  background-color: #f9f9f9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}
body > main {
  max-width: 1200px;
  width: 100%;
}

h1 {
  margin: 0 0 1rem 0;
}

h2 {
  margin: 1rem 0;
  font-size: 1.5rem;
}

.attachments {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}
.attachments h2 {
  grid-column: 1/-1;
}
.attachments .attachment-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-decoration: none;
  justify-content: center;
  align-items: center;
}
.attachments .attachment-wrapper .attachment {
  border: 1px solid #eee;
  border-radius: 5px;
  white-space: break-word;
  transition: background-color 0.3s;
  padding: 1rem;
  color: #333;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-decoration: none;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
}
.attachments .attachment-wrapper .attachment:hover {
  background-color: #efefef;
}
.attachments .attachment-wrapper .attachment .preview {
  max-height: 200px;
  height: 100%;
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.attachments .attachment-wrapper .attachment .preview .fa-regular {
  font-size: clamp(4rem, 8vw, 10rem);
  color: #666;
}
.attachments .attachment-wrapper .attachment .preview img {
  max-height: 100%;
  height: 100%;
  width: auto;
  margin: auto;
}
.attachments .attachment-wrapper .attachment .title {
  font-weight: bold;
  overflow-wrap: anywhere;
  text-align: center;
}/*# sourceMappingURL=theme.css.map */