/* Keyframe animation for zooming images */
@keyframes zoomInOut1 {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.2);
    }
    100% {
      transform: scale(1);
    }
  }
  
  @keyframes zoomInOut2 {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.5);
    }
    100% {
      transform: scale(1);
    }
  }
  
  @keyframes zoomInOut3 {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(0.8);
    }
    100% {
      transform: scale(1);
    }
  }
  
  /* Apply animation to each post image */
  .post-image.translatable1 {
    animation: zoomInOut1 10s infinite; /* Adjust the duration and other parameters as needed */
  }
  
  .post-image.translatable2 {
    animation: zoomInOut2 10s infinite; /* Adjust the duration and other parameters as needed */
  }
  
  .post-image.translatable3 {
    animation: zoomInOut3 10s infinite; /* Adjust the duration and other parameters as needed */
  }
  
  
/* Default styles for the card */
.post {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
  }
  
  .post:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: scale(1.05); /* Adjust the scale factor to control the zoom level */
  }
  
  /* Responsive styles using media queries */
  @media only screen and (max-width: 768px) {
    .col-sm-6 {
      width: 100%;
    }
  }
  
  /* Image styles */
  .post-image {
    opacity: 100%;
    width: 100%;
    height: auto;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    transition: transform 0.3s ease-in-out;
  }
  
  .post:hover .post-image {
    opacity: 50%;
    transform: scale(1.1); /* Adjust the scale factor to control the zoom level */
  }
  
  /* Content styles */
  .post-content {
    padding: 16px;
    opacity: 0.9; /* Initially set opacity to 0 for the fade-in effect */
    transition: opacity 0.3s ease-in-out;
  }
  
  .post:hover .post-content {
    opacity: 1; /* Fade in the content on hover */
  }


  
  .post-tag {
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 8px;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
  }
  
  .post-title {
    font-size: 1.5rem;
    margin-top: 8px;
    margin-bottom: 16px;
  }
  
  .post-time {
    font-size: 0.9rem;
    color: #d2d2d2;
  }
  
  /* Transition effect for the post title */
  .post-title a {
    transition: color 0.3s ease-in-out;
  }
  
  .post-title a:hover {
    color: #b9b9b9; /* Change the color to your desired hover color */
  }
  

  .hidden {
    opacity: 0;
    filter: blur(5px);
    transform: translateX(-100%);
    transition: all 2s;
  }

  @media(prefers-reduced-motion){
    .hidden{
        transition: none;
    }
  }
  
  .show {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
  }
  

  .logo:nth-child(2) {
    transition-delay: 300ms;
  }

  .logo:nth-child(3) {
    transition-delay: 600ms;
  }

  .logo:nth-child(4) {
    transition-delay: 900ms;
  }


  /* Default styles for the card */
.video-figure {
    position: relative;
    overflow: hidden;
    
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
  }
  
.video-figure:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: scale(1.05); /* Adjust the scale factor to control the zoom level */
  }
  
  /* Responsive styles using media queries */
  @media only screen and (max-width: 768px) {
    .col-sm-6 {
      width: 100%;
    }
  }
  
  /* Image styles */
  .video-image {
    opacity: 100%;
    border-radius: 15px;
    
    height: auto;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    transition: transform 0.3s ease-in-out;
  }
  
  .video-figure:hover .video-image {
    opacity: 50%;
    transform: scale(1.1); /* Adjust the scale factor to control the zoom level */
  }

  /* Select the first image initially */

