*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* border: 1px solid blue; */
}
ul li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  
}

ul li {
  float: left;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #ff0000;
}


.item1{
    background-color: red;
}
.item2{
    background-color: green;
}

.item3{
    background-color: yellow;
}

.item4{
    background-color: orange;
}

.item5{
    background-color: purple;
}

.item6{
    background-color: pink;
}

.item7{
    background-color: cyan;
}

.item8{
    background-color: magenta;
}  

.item9{
    background-color: brown;
}

.item10{
    background-color: gray;
}

main{
    display: flex;
    flex-flow: row wrap;
    ;
}

.container{
    width: 100%;
    padding: 10px;
    
}

.item1, .item2, .item3, .item4, .item5, 
.item6, .item7,.item8, .item9, .item10{
    height: 100px;
}

.item1, .item2, .item3,



/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {

.item1, .item2, .item3, .item4, .item5, 
.item6, .item7,.item8, .item9, .item10{
   height: 100px;
}
.col-1{
    width: 8.33%;
}
 
.col-2{
    width: 16.66%;
}
 
.col-3{
    width: 25%;
}
 
.col-4{
    width: 33.33%;
}
 
.col-5{
    width: 41.66%;
}
 
.col-6{
    width: 50%;
}
 
.col-7{
    width: 58.33%;
}
 
.col-8{
    width: 66.66%;
}
 
.col-9{
    width: 75%;
}
 
.col-10{
    width: 83.33%;
}
 
.col-11{
    width: 91.66%;
}
 
.col-12{
    width: 100%;
}
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {

    .item1, .item2, .item3, .item4, .item5, 
.item6, .item7,.item8, .item9, .item10{
   height: 100px;
}

.col-sm-1{
    width: 8.33%;
}
 
.col-sm-2{
    width: 16.66%;
}
 
.col-sm-3{
    width: 25%;
}
 
.col-sm-4{
    width: 33.33%;
}
 
.col-sm-5{
    width: 41.66%;
}
 
.col-sm-6{
    width: 50%;
}
 
.col-sm-7{
    width: 58.33%;
}
 
.col-sm-8{
    width: 66.66%;
}
 
.col-sm-9{
    width: 75%;
}
 
.col-sm-10{
    width: 83.33%;
}
 
.col-sm-11{
    width: 91.66%;
}
 
.col-sm-12{
    width: 100%;
}

}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {

 .item1, .item10{
   height: 400px;
}

 .size2, .size3, .size4{
    width: 33.33%;
}

.item2, .item3, .item4{
    height: 200px;
}

.item5{
    height: 200px;
}

.size6, .size7{
    width: 50%;
    height: 200px; 
}


.item8, .item9{
    height: 200px;
}

.item1, .item6{
    height: 200px;
}

.item7, .item8, .item9{
    height: 200px;
}

.size7, .size8, .size9{
     padding: 10px;
}

.item10{
    height: 200px;
}

.col-md-1{
    width: 8.33%;
}
 
.col-md-2{
    width: 16.66%;
}
 
.col-md-3{
    width: 25%;
}
 
.col-md-4{
    width: 33.33%;
}
 
.col-md-5{
    width: 41.66%;
}
 
.col-md-6{
    width: 50%;
}
 
.col-md-7{
    width: 58.33%;
}
 
.col-md-8{
    width: 66.66%;
}
 
.col-md-9{
    width: 75%;
}
 
.col-md-10{
    width: 83.33%;
}
 
.col-md-11{
    width: 91.66%;
}
 
.col-md-12{
    width: 100%;
} 

}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {

/* .column{
    display: flex;
    flex-direction: column;
    flex-flow: column wrap;
} */

.item1{
    height: 300px;
    flex-wrap: column-reverse;
}

.item4{
    height: 400px;
}

.item5,.item6, .item7{
    height: 200px;
    justify-content: space-around;
}

.item8, .item10{
    height: 200px;
    width: 33.34%;
    align-content: right;

}




.item1, .item2, .item3, .item4{
    height: 200px;
}



.col-lg-1{
    width: 8.33%;
}
 
.col-lg-2{
    width: 16.66%;
}
 
.col-lg-3{
    width: 25%;
}
 
.col-lg-4{
    width: 33.33%;
}
 
.col-lg-5{
    width: 41.66%;
}
 
.col-lg-6{
    width: 50%;
}
 
.col-lg-7{
    width: 58.33%;
}
 
.col-lg-8{
    width: 66.66%;
    
}
 
.col-lg-9{
    width: 75%;
}
 
.col-lg-10{
    width: 83.33%;
}
 
.col-lg-11{
    width: 91.66%;
}
 
.col-lg-12{
    width: 100%;
}    

}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {

.col-xl-1{
    width: 8.33%;
}
 
.col-xl-2{
    width: 16.66%;
}
 
.col-xl-3{
    width: 25%;
}
 
.col-xl-4{
    width: 33.33%;
}
 
.col-xl-5{
    width: 41.66%;
}
 
.col-xl-6{
    width: 50%;
}
 
.col-xl-7{
    width: 58.33%;
}
 
.col-xl-8{
    width: 66.66%;
}
 
.col-xl-9{
    width: 75%;
}
 
.col-xl-10{
    width: 83.33%;
}
 
.col-xl-11{
    width: 91.66%;
}
 
.col-xl-12{
    width: 100%;
}    

}
