*{
    --main-font: 'Source Sans Pro', sans-serif;
    --secondary-font: 'Herr Von Muellerhoff', cursive;
    --body-font: 'Cabin', sans-serif;
}

.hero-gallery {
    width: 100%;
    height: 70vh;
    background: linear-gradient(to bottom, rgba(0,0,0,.5), transparent), url("../images/bg-gallery.jpg");
    background-size: cover;
    display: flex;
    align-items: center;
    text-align: center;
}

.gallery-section{
    background: rgba(34, 40, 49, 1);
    width: 100%;
    padding: 60px 0;
}

.inner-width{
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.gallery-section h1{
  text-align: center;
  text-transform: uppercase;
  font-family: var(--main-font);
  font-size: 36px;
  letter-spacing: .4rem;  
  color: white;
}

.border{
  width: 260px;
  height: 4px;
  background: white;
  margin: 25px auto;
}

.gallery-section .gallery{
    display: flex;
    flex-wrap: wrap-reverse;
    justify-content: center;
}

.gallery-section .image{
    flex: 25%;
    overflow: hidden;
    cursor: pointer;
}

.gallery-section .image img{
    width: 100%;
    height: 100%;
    margin: 5px 5px;
    transition: 0.4s;
}

.gallery-section .image:hover img{
    transform: scale(1.4) rotate(15deg);
}

@media screen and (max-width: 960px){
    .gallery-section .image{
        flex: 33.33%;
    }
}

@media screen and (max-width: 768px){
    .gallery-section .image{
        flex: 50%;
    }
}
