
main {
  padding-top: 4.3rem;
}

.dg-profile-img-container {
  background-color: #147119;
}

/* .dg-photo-section {
  margin-top: 10rem;
} */

.dg-profile-img-container {
    display: flex;
    
    
}

/* .dg-profile-img-container img:nth-child(2) {
  border: 2px solid #147119;
    
    
} */

.dg-profile-img-container img {
    margin: auto;
    height: 450px;
    width: 450px;
    padding: 1.5rem;
    /* border: 2px solid #147119; */
}

.dg-profile-img-container img:hover {
    transform: scale(1.001);
    box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
}

#dg-photo-section h3 {
    align-items: center;
    text-align: center;
    margin: 1rem;
}

#dg-photo-section h4 {
    align-items: center;
    margin-top: 1rem;
    text-align: center;
    color: #147119;
}

.article-section-container .article-section li {
    color: #147119;
    line-height: 1.8;
    font-size: 1rem;

}

/* DG GALLERY SYLES */

h1 {
  text-align: center;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: auto;
  justify-content: center;
  align-items: center;

}

.gallery img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
  transition: transform 0.2s ease;
}

.gallery img:hover {
  transform: scale(1.1);
}

.dg-gallery-modal {
  display: none; /* Initially hidden */
  position: fixed; /* Stay in place */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  background-color: rgba(0, 0, 0, 0.8); /* Black with opacity */
  z-index: 1;
}

.modal-image {
  margin: 8rem auto;
  display: block;
  width: 80%;
  max-width: 700px;
  border: 1px solid #ccc;
  padding: 10px;
  animation: zoom 0.6s ease;
}

@keyframes zoom {
  from {transform: scale(0)}
  to {transform: scale(1)}
}

.dg-gallery-close-btn {
  color: #fff;
  font-size: 35px;
  font-weight: bold;
  position: absolute;
  top: 50px;
  right: 20px;
  transition: 0.3s;
}

.dg-gallery-close-btn:hover, .close-btn:focus {
  color: #ddd;
  text-decoration: none;
  cursor: pointer;
}

@media only screen and (max-width: 768px) {
  .gallery img {
    width: 150px;
    height: 150px;
  }
}

@media only screen and (max-width: 480px) {
  .gallery img {
    width: 100px;
    height: 100px;
  }
}


