* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}
.item {
   width: calc(50% - 40px);
   height: 250px;
   background-color: orange;
   margin: 20px;
   box-shadow: 21px 23px 13px 3px ;
   background-size: cover;
   transition: 1s;
}
header { 
   background-color: #f2f2f2;
   padding: 20px 0;
   margin-bottom: 40px;
}
h1 { 
   font-size: 50px;
   text-align: center;
}
h1:hover {
   color: rgb(58, 128, 226);
}
.container {
   width: 90%;
   background-color: #f2f2f2;
   margin: auto;
   padding: 20px;
   display: flex;
   justify-content: center;
   flex-wrap: wrap;
}
.item:hover {
   transform: scale(1.4) rotate(15deg);
}
.item-1 {
   background-image: url(../img/img1.jpg);
  /* background-size: contain;*/
}
.item-2 {
   background-image: url(../img/img2.jpg);
   background-size: cover;
}
.item-3 {
   background-image: url(../img/img3.jpg);
   background-position: center;
}
.item-4 {
   background-image: url(../img/img4.jpg);
   background-repeat: no-repeat;
   background-position: center;
}
.item-5 {
   background-image: url(../img/img5.jpg);
}
.item-6 {
   background-image: url(../img/img6.jpg);
}
.item-7 {
   background-image: url(../img/img7.jpg);
}
.item-8 {
   background-image: url(../img/img8.jpg);
}
