body {
  background-color: #faf5e5;
  font-family: "Roboto", sans-serif;
  margin: 0 0 50px 0;
}

#header {
  margin-bottom: 20px;
}

#header img {
  width: 100%;
  max-width: 1021px;
  max-height: 221px;
}

#main {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10px;
}

#content {
  background-color: #fff;
  max-width: 800px;
  padding: 20px 50px;
  border: none;
  border-radius: 20px;
  box-shadow: 7px 8px 7px rgba(0, 0, 0, 0.5);
}

#head {
  display: flex;
  flex-direction: row;
  align-items: center;
}

#artist-img {
  width: 100px;
  height: 100px;
  box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  margin-right: 20px;
  object-fit: cover;
  object-position: center;
}

#body p {
  text-align: justify;
  line-height: 27px;
}

.gallery-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  padding: 20px;
}
.gallery-item {
  background-color: #fff;
  margin: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  overflow: hidden;
  width: 250px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 270px;
  cursor: pointer;
  transition: transform 0.3s ease; /* smooth transition for transform */
}

.gallery-item img:hover {
  transform: scale(1.1); /* zoom in on hover */
}

.gallery-info {
  padding: 10px;
}

.gallery-info h3,
.gallery-info p {
  margin: 5px 0;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 60px;
  padding-bottom: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.95);
}

.modal-content {
  margin: auto;
  margin-top: 50px;
  display: block;
  height: auto;
  width: 80%;
  max-width: 700px;
}

.modal-content,
#caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}
@keyframes zoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  max-height: 40vh;
  overflow-y: auto;
}

/* .concept-text {
    margin-top: 7px;
    display: none;
    color: white;
  } */

@media screen and (max-width: 800px) {
  #content {
    padding: 20px 20px;
  }
}

@media screen and (max-width: 425px) {
  #main h1 {
    font-size: 25px;
  }

  #head h2 {
    font-size: 20px;
  }

  #content {
    padding: 10px 10px;
    box-shadow: none;
  }

  #head img {
    width: 75px;
    height: 75px;
  }
  .modal {
    padding-top: 10px;
  }

  .close {
    top: 30px;
  }
  .modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    margin-top: 70px;
  }
}
