body {
    margin: 0;
    padding: 0;
}

p {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

header {
    text-align: center;
    background-color: #9da1cd;
    padding: 20px;
}

.small-text {
    font-size: smaller;
    line-height: 1.4;
}

.left{
  text-align: right;
}

.profile-picture {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.pic-logo {
    height: 140px;
    width: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav li {
    display: inline;
    margin: 0 10px;
}

button {
    background-color: #979bc8;
    border-radius: 8px;
    border-width: 0;
    color: #ffffff;
    cursor: pointer;
    display: inline-block;
    font-family: "Haas Grot Text R Web", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    list-style: none;
    margin: 0;
    padding: 10px 12px;
    text-align: center;
    transition: all 200ms;
    vertical-align: baseline;
    white-space: nowrap;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
  }

.page {
    display: none;
    padding: 0px;
    margin-right: 0%;
    margin-left: 0%;
}

.page:not(.hidden) {
    display: block;
}
.empty-box {
    padding: 20px;
}

.hbox {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    box-sizing: border-box;
}

.column {
    padding: 1rem;
    box-sizing: border-box;
}

.middle {
    flex: 4 1 0%;
    background-color: #9da1cd51;
}
.side {
    flex: 1.5 1 0%;
    background-color: white;
}

@media (max-width: 768px) {
    .hbox {
      flex-direction: column;
    }
  }

footer {
    padding: 10px;
}

.logo {
    width: 200px;
    padding-right: 50px;
}

.poster {
    width: 250px;
    padding-right: 50px;
}

h2, h3 {
    text-align: center;
    font-family: Century;
}

.about {
    text-align: center;
    padding-left: 20%;
    padding-right: 20%;
    line-height: 25px;
}

.info {
    font-size: smaller;
}

a {
    padding-bottom: 20px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

button:focus {
    box-shadow: #7578ab -5px 5px;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.gallery {
  column-count: 4;
  gap: 1rem;
  padding: 0;
}

.image {
  break-inside: avoid;
  margin-bottom: 1rem;
  text-align: center;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.image img.art {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
  border-radius: 8px;
}

.image img.art:hover {
  transform: scale(1.05);
}

.caption {
  font-size: 0.7rem;
  color: #333;
  margin-top: 0.5rem;
  font-family: 'Trebuchet MS', sans-serif;
}

/* Responsive gallery */
@media screen and (max-width: 810px) {
  .gallery {
    column-count: 3;
  }
}

@media screen and (max-width: 500px) {
  .gallery {
    column-count: 2;
  }
}

@media screen and (max-width: 400px) {
  .gallery {
    column-count: 1;
  }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.modal-content {
  max-width: 80%;
  max-height: 80%;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: block;
  margin: auto;
  background-color: white;
}

.close {
  position: absolute;
  top: 10px;
  right: 25px;
  color: white;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}
