
/* floating css */

  .floating { 
    animation-name: floating; 
    animation-duration: 3s; 
    animation-iteration-count: infinite; 
    animation-timing-function: ease-in-out;
} 

@keyframes floating { 
    0% { transform: translate(0, 0px); } 
    50% { transform: translate(0, 8px); } 
    100% { transform: translate(0, -0px); }  
} 
.floating-4 { 
    animation-name: floating; 
    animation-duration: 4s; 
    animation-iteration-count: infinite; 
    animation-timing-function: ease-in-out;
} 
@keyframes floating-4 { 
    0% { transform: translate(0, 0px); } 
    50% { transform: translate(0, 8px); } 
    100% { transform: translate(0, -0px); }  
}
@property --num {
  syntax: '<integer>';
  initial-value: 0;
  inherits: false;
}


/* home slider */



/* .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 500px;
  object-fit: cover;
} */

.autoplay-progress {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 10;
  width: 48px;
  height: 48px;
  display: none;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--swiper-theme-color);
}

.autoplay-progress svg {
  --progress: 0;
  position: absolute;
  left: 0;
  top: 0px;
  z-index: 10;
  width: 100%;
  height: 100%;
  stroke-width: 4px;
  stroke: var(--swiper-theme-color);
  fill: none;
  stroke-dashoffset: calc(125.6 * (1 - var(--progress)));
  stroke-dasharray: 125.6;
  transform: rotate(-90deg);
}

.swiper-button-next, .swiper-button-prev{
  color: white !important;
  text-shadow: 2px 2px  !important;
} 

.swiper-button-next:after,.swiper-button-prev:after{
  text-shadow: 2px 2px 4px gray !important;
  font-size: 2rem !important;
}



/* faculty member */
.faculty_hover {
  position: relative;
  display: block;
  width: 300px;
  margin: 40px auto;
  color: #a8aabc;
  border-radius: 0.8rem;
  overflow: hidden;
  box-shadow:2px 0px 6px #4c4c4c;
  
  .show {
    position: relative;
    height: 300px;
    
    img {
      position: absolute;
      top: 50%;
      left: 50%;
      font-size: 1.5em;
      transform: translate(-50%, -50%);
    }
  }
  
  .hide {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 300px;
    color: #ffffff;
    background-color: #082647;
    transform: translateY(80%);
    transition: transform .8s;
  }
  
  &:hover {
    .hide {
      transform: translateY(0);
    }
  }
}


