* {
  box-sizing: border-box;
    font-family: 'Optima', sans-serif;
    transform-style: preserve-3d;
    margin: 0;
    padding: 0;
}
body {
        background-image:linear-gradient(rgba(241,220,167,.5)0%, rgba(219,189,126,.5)100%);
        margin: 0;
    }

/*#wrapper {
    display: grid;
    grid-template-rows: repeat(4, minmax(0,auto));
    grid-template-columns: repeat(6, minmax(0,1fr));
    grid-template-areas: 
        "a a a a a a"
        "b b b b b b"
        "c c c c c c"
        "d d d d d d"
        "d d d d d d"
        "d d d d d d""
        "e e e e e e"   
}*/

/*header{
    display: grid;
    grid-area: a;
}
nav{
    display: grid;
    grid-area: b;
}
h2{
    display: grid;
    grid-area: c;
}
footer{
    display: grid;
    grid-area:e ;  
}*/
header {
    text-align: center;
    color: #2a1717; 
}
header #logo{
    color: #2a1717;
}
header h1 {
    font-weight: 900;
    text-align: center;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    
}

nav ul li{
    display: inline-block;
}

nav ul li a{
    text-decoration: none;
    font-size: 1.3rem;
    color: #fff;
    background-color: #98bcd5;
    padding-bottom:10px;
    padding-top: 10px;
    padding-left: 110px;
    padding-right: 110px;
    display: block;
}
nav ul li  a {
    display: block;
}

nav a:hover{
    background-color: #f1be25;
    color: #98bcd5;
}
.fa {
  padding: 20px;
  font-size: 30px;
  width: 80px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
}

.fa:hover {
    opacity: 0.7;
}

fa-instagram{ width:100px; height:100px;
  background: #f09433; 
  }

.container{
    /*grid-area: d;*/
    position: relative;
    column-count: 4;
    padding: 20px;
}
.image{
    /*grid-area: d;*/
    display: inline-block;
    margin-bottom: 10px;
    overflow: hidden;
}
img{
    /*grid-area: d;*/
    width: 100%;
    transition: 0.25s ease-in-out;
}
.image:hover img{
    /*grid-area: d;*/
     transform: scale(1.1);
    }
h1{
    
    position: absolute;
    padding: 0px;
    margin: 5px;
    font-size: 25px;
    background: #98bcd5;
    color: #fff;
    border-radius: 5px;
    opacity: 0;
    z-index: 1;
    transition: 0.25s ease-in-out;
}
.image:hover h1{
    opacity: 0.5;
}

























@media screen and (max-width:1024px){
    h1{
        font-size: 20px;
    }
}
@media screen and (max-width:768px){
    .container{
        column-count: 3;
    }
}
@media screen and (max-width:425px){
    .container{
        column-count: 2;
    }
    h1{
        font-size: 12px;
    }
}
@media screen and (max-width:375px){
    .container{
        column-count: 1;
    }
    h1{
        font-size: 15px;
    }
}