#collection{
    display:grid;
    grid-template-columns: 1fr;
    grid-template-areas: 
        "figure"
        "header"
        "content"
        "gallery"
        "book";
}
#collectionDescription{
    margin: 0 auto;
    max-width: 96rem;
    padding: 0 1.6rem;
}
#collectionHeader  h2{
    text-transform: uppercase;

}
#collectionDescription p{
    color: #646464;
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 140%;
    text-indent: 2em;
    margin-bottom: 1em;
}
#collectionHeader{
    grid-area: header;
    margin: 0 auto;
    max-width: 96rem;
    padding: 3.2rem 1.6rem;
    width: 100%;
}
#collectionHeaderTitle{
    font-size: 4rem;
    font-weight: 100;
    text-transform: uppercase;
}
#collectionHeader h2{
    font-size: 1.4rem;
    font-weight: 300;
    opacity: .64;
}
#collectionFigure{
    display: flex;
    grid-area: figure;
    height: 50vmax;
    max-height: 50vh;
    overflow: hidden !important;
}
#collectionFigure img{
    object-fit: cover;
    object-position: center center;
    width: 100%;
}
/* gallery */
#gallery{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-gap: .8em;
    margin: .8rem;
    margin:12.8rem auto;
    /*
    max-width: 96rem;
    */
}
.item{
    display:grid;
    grid-template-areas: 
        "image"
        "description";
    grid-template-rows: 1fr auto;
    position: relative;
    max-height: 24rem;
    overflow: hidden;
}
.itemDescription{
    background-color: #F2F2F2;
    display:grid;
    padding: .8rem 1.6rem;
}
.itemDescription div{
    font-size: 1.2rem;
    line-height: 140%;
}
.itemImage{
    background-color: #F2F2F2;
    line-height: 0;
    overflow: hidden;
}
.itemImage{
    display: flex;
}
.itemImage img {
    filter: blur(0px);
    object-fit: contain;
    object-position: center center;
    max-height: 100%;
    transform: scale(2);
    transition: all 0.3s ease-in;
    width:100%;
}
.itemTitle{
    align-items: center;
    background: rgba(0,0,0,0.4);
    display: flex;
    color: white;
    font-size: 1.5em;
    font-weight: bold;
    height: 100%;
    justify-content: center;
    left: 0;
    opacity: 0;
    position: absolute;
    text-decoration: none;
    transition: opacity .5s;
    top: 0;
    width: 100%;
    z-index: 1;
    display:none;
}
.item:hover .itemTitle {
  opacity: 1;
}

.item:hover .itemImage img {
  transform: scale(1);
}
@media (max-width: 735px){
    #book{
        grid-template-areas:
            'image'
            'description';
    }
    #book header{
        padding: 3.2rem;
    }
}
@media only screen and (min-width: 736px){
    #book{
        grid-template-columns: repeat(2,1fr);
        grid-template-areas: 
            'image description'
    }
    #book img{
        min-height: 32rem;
    }
    #gallery{
        max-width: 96rem;
        margin:12.8rem auto;
    }
}
@keyframes colorchange
{
    0%   {background: #323232;}
    16%  {background: #18C0FF;}
    32%  {background: #EB329F;}
    48%  {background: #FEC309;}
    64%  {background: #758E3D;}
    80%  {background: #FFFFFF;}
    100% {background: #323232;}
}
#book{
    background: #000000;
    color: #FFFFFF;
    display: grid;
    grid-area: book;
}
#book > .image{
    display: flex;
    grid-area: image;
    max-height:32rem;
}
#book > .image >  img{
    height:auto;
    max-width: 100%;
    object-fit: cover;
}
#book > header{
    align-content: center;
    display: grid;
    grid-area: description;
    justify-content: center;
}
#book > header > h2{
    background-color: #FF9900;
    border-radius:2rem;
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 1.6rem;
    padding: .8rem 1.6rem;
    transition: background .4s ease-in;
}
#book > header > h2:hover{
    background-color:#FFFFFF;
    color: #FF9900;
}