.container {
    display: flex;
    width: auto;
    padding: 0% 0%;
    box-sizing: border-box;
    height: auto;
  }
  
  .box {
    flex: 1;
    overflow: hidden;
    transition: .5s;
    margin: 0 5px;
    box-shadow: 0 20px 30px rgba(0,0,0,.1);
    line-height: 100%;
  }
  
  .box > img {
    width: 100%;
    height: calc(100% - 1vh);
    object-fit: cover; 
    transition: .5s;
  }
  
  .box > span {
    font-size: 3.8vh;
    display: block;
    text-align: center;
    height: 10vh;
    line-height: 2.6;
  }
  
  .box:hover { flex: 1 1 50%; }
  .box:hover > img {
    width: 100%;
    height: auto;
  }
   