body {
  margin: 0;
  font-family: sans-serif;
  background: #f0f0f0;
}

#gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 20px;
  padding: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.gallery-item img {
  width: 100%;
  display: block;
}

#modal.hidden {
  display: none;
}

#modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

#modal-content {
  background: white;
  /*max-width: 900px;*/
  max-height: 80%;
  width: 90%;
  display: flex;
  flex-direction: row;
  border-radius: 8px;
  overflow: hidden;
}

#modal-img {
  width: 80%;
  object-fit: contain;
  background: #222;
}

#modal-info {
  padding: 15px;
  width: 40%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#download-btn {
  margin-bottom: 10px;
  padding: 8px;
  background: #3c82f6;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#meta {
  white-space: pre-wrap;
  font-family: monospace;
  font-size: 0.9em;
  overflow: auto;
}



@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,600&display=swap');


*{
    font-family: 'Poppins', sans-serif;
    transition: .2s linear;
}

#container {
    max-width: 960px;
    margin: auto;
}

p, .numbered-list, .inline-link{
    font-size: 17px;
    margin-bottom: 2em;

}

h1{
    font-size: 45px;
}

h2{
    font-size: 30px;
}

#description{
    font-size: 30px;
    font-weight: 400;
}

.caption {
    font-style: italic;
    font-weight: lighter;
    text-align: center;
}

.drop-text{
    margin-top: 2em;
}

.no-newline{
    display: inline;
}

.code-sample {
    position: relative;
    border-radius: 5px;
    padding: 10px;
  }
  
  pre {
    overflow: auto;
  }
