.main {
  display: inline-flex;
  gap: 5px;
  margin: auto;
  padding: 5px;
  border-radius: 5px;
}
.main img {
  border-radius: 10px;
  margin: 0;
}
.main_img {
  width: 600px;
  height: 1000px;
  box-shadow: rgb(204 219 232) 3px 3px 6px 0px inset,
    rgb(204 219 232) -3px -3px 6px 0px inset,
    rgb(255 255 255 / 50%) -3px -3px 6px 1px inset;
  display: block;
  padding: 5px;
}
.credentials ul{
  display:flex;
  align-items:center;
  justify-content:center;
  margin-top:50px;
  color:rgb(3, 3, 80);
}
.credentials li{
  margin-right:25px;
}
.credentials li:last-child{
  margin-right:0;
}
.cred_images{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
  gap: 20px;
}
.photos{
  	width: 100%;
    height: 250px;
    border-radius: 2px;
    cursor: zoom-in;
}
.image-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.image-title {
  	text-align: center;
    padding: 5px 2px;
    color: black;
    white-space: wrap;
    width: 100%;
    text-transform: uppercase;
    font-size: 12px;
}
.outer-div{
  margin: auto;
  width: 90%;
}
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  cursor: zoom-out;
}
.full-image-container {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10000;
  cursor: zoom-out;
  overflow-y: auto; 
  overflow-x: auto;
  max-width: 100%;
  max-height: 100%;
}
.full-image {
  width: 100%;
  height: 100%;
  cursor: zoom-out;
}
.topic_div{
  	text-align: center;
}
.topic_div h2{
    font-size: 25px;
    color: rgb(0, 0, 0);
    font-weight: bold;
}
.topic_div1{
  	text-align: center;
    background-color: #ffc100;
    border-radius: 50px;
    margin: auto;
    width: 90%;
    box-shadow: 0 5px 10px gray;
}
.outer-sec{
  margin: auto;
  width: 90%;
}
.topic_div1 h2{
  	color:darkgreen;
  	font-size:18px;
	  text-shadow: 0.5px 0.5px black;
}
@media (max-width: 768px) {
  .main {
    display: grid;
  }
  .topic_div{
    width: auto;
  }
  .topic_div1{
    width: auto;
  }
  .cred_images{
    display: block;
  }
  .photos{
    width: 100%;
    height: auto;
  }
  .image-wrapper{
    margin-bottom: 30px;
  }
  .image-title {
    width: 100%;
  }
}

.main {
  display: inline-flex;
  gap: 5px;
  margin: auto;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
    rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
  padding: 10px;
  border-radius: 5px;
}
.main img {
  border-radius: 10px;
  margin: 5px;
}
.sub_img {
  display: grid;
  grid-template-columns: auto auto auto;
  height: 600px;
  overflow-y: scroll;
  overflow-x: hidden;
}
.sub_img img {
  width: 150px;
  height: 150px;
  float: left;
  margin: 4px 4px 0px 0px;
  cursor: pointer;
  border-radius: 5px;
}

.sub_img img:nth-of-type(4) {
  margin-right: 0px;
}

.main_img {
  width: 600px;
  height: 600px;
  box-shadow: rgb(204 219 232) 3px 3px 6px 0px inset,
    rgb(204 219 232) -3px -3px 6px 0px inset,
    rgb(255 255 255 / 50%) -3px -3px 6px 1px inset;
  display: block;
  padding: 16px;
}
@media only screen and(max-width: 700px) {
  .main {
    display: grid;
  }
}
