@import url('https://fonts.googleapis.com/css?family=Cabin|Herr+Von+Muellerhoff|Source+Sans+Pro:400,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cabin', sans-serif;
}

html{
    font-size: 62.5%;
}

body{
    background-color: #0b0b0b;
}

header{
    text-align: center;
    margin: 2rem auto;
    padding: 3rem 0;
}

header h1{
    color: #fff;
    font-size: 3rem;
}

header a{
    font-size: 1.6rem;
    padding: 1.5rem;
    background-color: #000;
    color: #fff;
    border: 1px solid #fff;
    transition: all .5s ease;
    text-decoration: none;
    position: fixed;
    top: 7%;
    left: 6%;
    z-index: 1000;
}
header a:hover{
    transition: all .5s ease;
    border: 1px solid rgb(61, 180, 248);
    box-shadow: 0 0 15px rgba(40,170,200,1);
}

header a i{
    margin-right: .5rem;
}

.gallery{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-around;
}

.img-container{
    width: 35rem;
    height: 35rem;
    transition: all .3s ease-out;
    /* filter: grayscale(100%); */
    padding: 3rem 0;
}

.img-container img{
    width:  100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}


.modal{
    background-color: rgba(0, 0, 0, .8);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: all .25s ease-out;
}

.modal.open{
    opacity: 1;
    pointer-events: all;
}

.full-img{
    position: absolute;
    height: 70%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    transition: all .25s ease-out;
}

.full-img.open{
    transform: translate(-50%, -50%) scale(1.5);
}

#gallery .img-container:nth-child(n+7){
    display: none;
}

.button{
    text-align: center;
}

button{
    padding: 1.5rem;
    margin: 3rem 0;
    background-color: #000;
    color: #fff;
    border: 1px solid #fff;
    cursor: pointer;
    transition: all .5s ease;
    font-size: 1.6rem;
}

button:hover{
    transition: all .5s ease;
    border: 1px solid rgb(61, 180, 248);
    box-shadow: 0 0 15px rgba(40,170,200,1);
}

@media only screen and (min-width: 768px) {
    .img-container:hover{
        transform: scale(1.2);
    }
}