.grid-container {
  background: #efefef;
}

@supports (display: grid) {
  .grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto 1fr auto;
    grid-template-areas: "header header header" "title title footer" "main main main";
  }
  @media screen and (max-width: 500px) {
    .grid-container {
      grid-template-columns: 1fr;
      grid-template-rows: 0.3fr 1fr auto 1fr;
      grid-template-areas: "header" "title" "main" "footer";
    }
  }

  .grid-item {
    color: #fff;
    padding: 2.5em 1em;
  }

  .main {
    color: #959595;
    background-color: white;
    grid-area: main;
    padding: 0;
	margin:0;
    overflow-x: hidden;
    overflow-y: hidden;
  }

  .items {
    position: relative;
	 background: linear-gradient(
    to bottom, 
    #ffffff 0%, 
    #ffffff 50%, 
    #ececec 50%, 
    #ececec 100%
  );
    width: 100%;
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
    transition: all 0.2s;
    transform: scale(1);
    will-change: transform;
    user-select: none;
    cursor: pointer;
  }

  .items.active {
    cursor: grabbing;
    cursor: -webkit-grabbing;
    transform: scale(1.1);
  }

  .item {
    display: inline-block;
    min-height: 250px;
    min-width: 400px;
    margin: 7.5em 3em;
	max-width:550px;
  }
	
.item img{
	-webkit-animation:spin 4s linear infinite;
    -moz-animation:spin 4s linear infinite;
    animation:spin 4s linear infinite;;}

.item img:hover{-webkit-transform: rotateZ(5deg);
        -ms-transform: rotateZ(5deg);
        transform: rotateZ(5deg);}	
	
  @media screen and (max-width: 500px) {
    .item {
      min-height: 200px;
      min-width: 150px;
	  max-width:200px;
    }
  }
}
