.website{
    background-color: black;
    color: white;
    font-family: 'verdana';
    text-align: center;
}

.title{
    font-size: 28px;
    color: red;
    display: inline-block;
    margin-top: 5px;
    margin-bottom: 10px;
}

/* Style Sheet Specific Below */

.photo-grid {
  column-count: 4;
  column-gap: 12px;
  max-width: 1600px;
  margin: 0 auto;
  padding: 16px;
}

@media (max-width: 1200px) {
  .photo-grid { column-count: 3; }
}

@media (max-width: 800px) {
  .photo-grid { column-count: 2; }
}

@media (max-width: 480px) {
  .photo-grid { column-count: 1; }
}

.photo-item {
  padding-bottom: 12px;
  break-inside: avoid;
}

.photo-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  cursor: pointer; 
  display: block;
  border: 2px solid #ddd;
  box-sizing: border-box
}

.photo-item a {
  display: block;
  text-decoration: none;
}

.photo-item a:hover img {
  border-color: #888;
}

.postformat {
    max-width: 800px;
    margin: 18px auto;
    text-align: center;
    line-height: 1.6;
    font-size: 16px;
    margin-top: 0px;
}

/* Lightbox */

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.lightbox:target {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1;
  display: block;
  cursor: default;
}

.lightbox-ui {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  border-radius: 4px;
}

.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 10px;
  gap: 16px;
}

.lightbox-filename {
  font-family: verdana, sans-serif;
  color: #888;
  font-size: 12px;
  text-align: left;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lightbox-download {
  font-family: verdana, sans-serif;
  font-size: 12px;
  color: white;
  text-decoration: none;
  border: 1px solid #555;
  padding: 5px 14px;
  border-radius: 3px;
  flex-shrink: 0;
}

.lightbox-download:hover {
  border-color: white;
}

.lightbox-close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 4;
  color: white;
  text-decoration: none;
  font-size: 40px;
  line-height: 1;
  font-family: verdana, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.lightbox-close:hover {
  color: red;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 3;
  color: white;
  text-decoration: none;
  font-size: 64px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  user-select: none;
  font-family: verdana, sans-serif;
}

.lightbox-prev { left: 0; }
.lightbox-next { right: 0; }

.lightbox-prev:hover,
.lightbox-next:hover {
  color: red;
}