body {
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    height: 100vh;
    background-color: black;
    margin: 50px;
    gap: 20px; 
  }
  

  .image {
    width: 250px;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
    filter: opacity(0.7);
    opacity: 0.8;
  }
  

  .image:hover {
    transform: scale(1.1); 
    filter: opacity(1.2); 
    opacity: 1; 
  }
  
@media screen and (max-width:1400px) {
    body{
        flex-direction: column;
        
    

    }
    .image{
        width:100%;
        max-width:300px;
        margin: 0px auto 0px auto;
        align-items: center;
        flex-direction: column;
        justify-content: space-between;
        align-items: center
    }    
}
  