<div class="container">

  <div class="gallery-wrap">
    <div class="item item-1"></div>
    <div class="item item-2"></div>
    <div class="item item-3"></div>
    <div class="item item-4"></div>
    <div class="item item-5"></div>
  </div>
 </div>
  </a>
html,body{
  width: 100%;
  height: 100%;
}

.container{
  padding: 75px 0;
  margin: 0 auto;
  width: 1140px;
}

h1{
  position: relative;
  margin-bottom: 45px;
  font-family: 'Oswald', sans-serif;
  font-size: 44px;
  text-transform: uppercase;
  color: #424242;
}

.gallery-wrap {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 70vh;
}

.item {
  flex: 1;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: none;
  transition: flex 0.8s ease;
  
  &:hover{
    flex: 7;
  }
}

.item-1 { 
  background-image: url('https://static.tildacdn.com/tild3661-6632-4866-a366-326334383238/1.jpg');
}

.item-2 { 
  background-image: url('https://static.tildacdn.com/tild3135-6366-4462-b461-623638623239/2.jpg');
}

.item-3 { 
  background-image: url('https://static.tildacdn.com/tild6161-3136-4538-b261-666263313034/DSC05065.jpg');
}

.item-4 { 
  background-image: url('https://static.tildacdn.com/tild6437-3838-4030-b166-363239626637/DSC07733.jpg');
}

.item-5 { 
  background-image: url('https://static.tildacdn.com/tild6665-3431-4336-b530-333836323936/DSC09045.jpg');
}

.social{
  position: absolute;
  right: 35px;
  bottom: 0;
  
  img{
    display: block;
    width: 32px;
  }
}
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.