.scroll-container {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to bottom, #4facfe, #00f2fe);
  color: white;
  text-align: center;
  overflow: hidden;
}

.spacer {
  height: 200vh; /* Extra space to allow scrolling */
  background: #f3f3f3;
}

.text-to-slide {
  transform: translateY(100%); /* Start below the viewport */
  opacity: 0; /* Initially invisible */
  transition: transform 1s ease-out, opacity 1s ease-out;
}

.text-to-slide.visible {
  transform: translateY(0); /* Move into view */
  opacity: 1; /* Fade in */
}

.icon-image-collection-container{
  max-width: 1600px;
  margin: 20px auto;
}
.member-name{
font-size: 28px;
  text-transform: uppercase;
  font-family: Montserrat, sans-serif;
  font-weight: bold;
   letter-spacing: 0px;
    margin: 4px 0 6px;
    color: #1c1c1c;
}

.member-title{
font-size: 15px;
  text-transform: uppercase;
  font-family: Montserrat, sans-serif;
  font-weight: 300;
  letter-spacing: 3px;
    margin: 4px 0 6px;
    color: #1c1c1c;
}

.member-email{
font-size: 16px;
  font-family: lato, sans-serif;
  font-weight: bold;
    margin:0px;
    color: #1c1c1c;
}
.icon-image-collection{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: left;
      align-items: baseline;
}

.icon-image-collection-center{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.card-btn{
margin-top: 30px;
}
.img-collection-img-card{
/*   max-width: 175px; */
  margin: 0px;
}

@media only screen and (max-width: 1400px) {
  .grid.six{
  display: flex;
    flex-wrap: wrap;
      text-align: center;
        justify-content: center;
  }
}
@media only screen and (max-width: 992px) {
  .icon-image-collection{
    justify-content: center !important;
  }
}
/* 
@media only screen and (max-width: 768px) {
  .custom-grid.five{
  grid-template-columns: 1fr 1fr;
    text-align: center;
  }
}
@media only screen and (max-width: 450px) {
  .custom-grid.five{
  grid-template-columns: 1fr;
    text-align: center;
  }
} */

.custom-model-main {
  text-align: center;
  overflow: hidden;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0; /* z-index: 1050; */
  -webkit-overflow-scrolling: touch;
  outline: 0;
  opacity: 0;
  -webkit-transition: opacity 0.15s linear, z-index 0.15;
  -o-transition: opacity 0.15s linear, z-index 0.15;
  transition: opacity 0.15s linear, z-index 0.15;
  z-index: -1;
  overflow-x: hidden;
  overflow-y: auto;
} 

.model-open {
  z-index: 99999;
  opacity: 1;
  overflow: hidden;
}
.custom-model-inner {
  -webkit-transform: translate(0, -25%);
  -ms-transform: translate(0, -25%);
  transform: translate(0, -25%);
  -webkit-transition: -webkit-transform 0.3s ease-out;
  -o-transition: -o-transform 0.3s ease-out;
  transition: -webkit-transform 0.3s ease-out;
  -o-transition: transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
  transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
  display: inline-block;
  vertical-align: middle;
  width: 600px;
  margin: 190px auto;
  max-width: 97%;
}
.custom-model-wrap {
  display: block;
  width: 100%;
  position: relative;
  background-color: #fff;
  border: 1px solid #999;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  background-clip: padding-box;
  outline: 0;
  text-align: left;
  padding: 20px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin-top: 10px;
  max-height: calc(100vh - 70px);
      overflow-y: auto;
}
.model-open .custom-model-inner {
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
  position: relative;
  z-index: 999;
}
.model-open .bg-overlay {
  background: rgba(0, 0, 0, 0.6);
  z-index: 99;
}
.bg-overlay {
  background: rgba(0, 0, 0, 0);
  height: 100vh;
  width: 100%;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  -webkit-transition: background 0.15s linear;
  -o-transition: background 0.15s linear;
  transition: background 0.15s linear;
}
.close-btn {
  position: absolute;
  right: 0;
  top: -30px;
  cursor: pointer;
  z-index: 99;
  font-size: 30px;
  color: #fff;
}

@media screen and (min-width:800px){
  
      .custom-model-main:before {
        content: "";
        display: inline-block;
        height: auto;
        vertical-align: middle;
        margin-right: -0px;
        height: 100%;
      }
}
@media screen and (max-width:799px){

  .custom-model-inner{margin-top: 275px;}
} 
@media screen and (max-width:768px){
  .grid.two{
    grid-gap: 0px !important;
  }
}