@import url(menu.css);

* {
    padding: 0;
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

h1 {
    color: darkblue;
    font-family: sans-serif;
    text-align: center;
    margin-top: 50px;
}

h2 {
   color: 33B9FF;
   font-family: 'Lobster', cursive;
    text-align: center;
    font-size: 45px;
    
}


body {
    background: #eee;
    font-family: 'Open Sans', sans-serif;
}


.content {
    width: 90%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3em;
    margin-bottom: 3em;
    
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 30px;
}


.item {
    background-color: #fff;
    cursor: pointer;
    box-shadow: 0 0 5px 0 rgba(0,0,0,.095);
    
    transition: all 300ms;
    position: relative;
}

.item:after {
    content: "";
    background-color: rgba(179, 229, 252, .1);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transform: scale(0);
    transition: all 300ms;
    opacity: 0;
}

.item:hover:after {
    opacity: 1;
    transform: scale(1);
}

.item:hover {
    transform: scale(1.05);
}



.item-text {
    padding: 1em;
}


.item-img {
    max-width: 100%;
    display: block;
}

@media screen and (min-width: 590px) {
    
    .content {
        grid-template-columns: repeat(2, 1fr);
    }
    
}




@media screen and (min-width: 960px) {
    
    .content {
        grid-template-columns: repeat(3, 1fr);
    }
    
}