.gallery_page {
    margin: 20px auto;
    padding: 10px 0px;
    width: 95%;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    border-radius: 7px;
    margin-bottom: 2rem;
  }

  .gallery_page p::after {
    border: 1px solid blue;
  }

  .main_view {
    display: flex;
    justify-content: center;
    height: 470px;
    padding: 0rem 5rem;
    display: flex; 
  }

  .main_view img {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    object-fit: contain;
    border-radius: 8px;
  }
  .main_view img:focus{
    border: 5px solid red;
  }

  .side_view {
    display: flex;
    justify-content: center;
    /* justify-content: space-evenly; */
    flex-wrap: wrap;
    /* padding: 0rem 5rem; */
    margin: 1vw;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border-radius: 8px;
    padding: 8px;
  }

  .side_view img {
    width: 216px;
    height: 150px;
    object-fit: fill;
    margin: 0.5rem;
    border-radius: 5px;
    cursor: pointer;
  }

  .side_view img:focus{
    border: 3px solid red;
  }

  .gallery_text {
    padding: 25px;
    margin: 2vw 1vw;
    font-size: 20px;
    margin-bottom: 1rem;
    border-radius: 10px;
    /* box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px; */
    text-align: justify;
  }
  .gallery_text::first-letter{
    font-size: 35px;
    line-height: 0.1;

  }

  h2 {
    text-align: center;
    margin: 20px;
  }

  .social_icons {
    display: flex;
    justify-content: center;
    margin: 1rem 0rem;
  }

  .social_icons img {
    padding: 0px 10px;
    /* width: 30px; */
  }

  .mobile_block {
    display: none;
  }

  .gallery_text p {
    /* text-align: end; */
    /* padding-right: 30px; */
  }

  .user-name{
        text-align: end;
    padding-right: 30px;
  }
 
  .main-heading {
    padding: 20px;
    font-size: 40px;
    font-family: Rift-Bold;
    text-align: center;
  }

  .news-card {
    padding: 15px;
  }

  .news-img-top {
    border-radius: 5px;
    object-fit: contain;
    object-position: center;
    height: 200px;
    width: 100%;
    object-fit: cover;
  }

  .news-card-heading {
    text-align: center;
  }

  .location {
    display: flex;
    margin-bottom: 20px;
    justify-content: center;
  }

  .location img {
    width: 18px;
    margin-right: 5px;
  }

  .view-card-btn {
    display: flex;
    place-content: center;
  }

  .gallery_text h3{
    text-align: center;
    background: linear-gradient(180deg, #007BFF, #0056b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 86, 179, 0.3);
    margin-bottom: 1rem;
  }

  .galleryHeading{
    text-align: center;
    margin-top: 10px;
    margin-bottom: 2rem;
    
    font-size: 50px;
  }
  .gallery_text cite{
    font-size: 22px;
    font-family: sans-serif;
  }

  .side_view-container{
    display: flex;
    justify-content: space-evenly;
  }


  

  .side_view img:focus {
    border: 2px solid #000; 
  } 


  .side_view img {
    border: 2px solid transparent; /* Initially, side view images have transparent border */
  }

  .side_view img.active {
    border: 3.5px solid #0076BF; 
    border-radius: 8px;
  }


  @media screen and (max-width: 768px) {
    .galleryHeading{
      font-size: 35px;
      margin-bottom: 1rem;
    }
    .gallery_text p {
      font-size: 20px;
      
    }

    .gallery_page {
      width: 100%;
    }

    .main_view img {
      width: 300px;
    }

    .mobile_block {
      display: block;
    }

    .mobile_hide {
      display: none;
    }

    .slideshow-container {
      padding: 5px 10px;
    }
    .gallery_text{
        padding: 15px;
        text-align: left;
        margin: 10px;
        box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;

    }

    /* Slideshow container */
    .slideshow-container {
      max-width: 1000px;
      position: relative;
      margin: auto;
    }

    .mySlides {
      display: none;
    }

    .mySlides img {
      height: 19rem;
      width: 100%;
      object-fit: contain;
    }
    .mySlides.selected img{
        border:3.5px solid red;
    }

    /* Next & previous buttons */
    .prev,
    .next {
      cursor: pointer;
      position: absolute;
      top: 50%;
      width: auto;
      margin-top: -22px;
      padding: 16px;
      color: white;
      font-weight: bold;
      font-size: 18px;
      transition: 0.6s ease;
      border-radius: 0 3px 3px 0;
      user-select: none;
      background-color: rgba(128, 128, 128, 0.341);
    }

    /* Position the "next button" to the right */
    .next {
      right: 10px;
      border-radius: 3px 0 0 3px;
    }

    .prev:hover,
    .next:hover {
      background-color: rgba(0, 0, 0, 0.8);
    }

    .active {
      background-color: #717171;
    }
  }
  /* a{
    color: #0056b3 !important;
    margin: 0px !important;
  } */