*{
    box-sizing:border-box; 
	margin:0px;
	padding:0px;
 }
body{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

h1 {
    margin:20px;
    text-align: center;
}

.header {
    width: 80%;
    height: 30px;
    margin: 0 auto 20px;
}

.header ul{
    list-style: none;
}

#menu{
    display: flex;
    justify-content: space-evenly;
}

#menu li a{
    text-decoration: none;
    color: grey;
    font-size: 20px;
}

#menu li a:hover{
    background-color: aqua;
}

.container {
    display: flex;
    flex-direction: row; /* this is the default */
    flex-wrap: wrap;
}
.container div {
    min-height: 100px;
}

.content {
    margin: 2px;
}


.square-content{
  width: 100px;
  height: 100px;
}

.square-div{
    width:100%;
    height:200px;
    background-color: red;
    margin-bottom: 2px;
}

.container1 {
    width: 100%;
    display: flex;
    flex-direction: row; /* this is the default */
    flex-wrap: wrap;
}

.container2 {
    width: 100%;
    display: flex;
    flex-direction: column; 
    flex-wrap: nowrap;
}

.child, .child1 {
    width:100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    
}

#item1{
    background-color: lightblue;
    width: 100%;
    margin-top: 10px;
}

.item2{
    background-color: lightblue;
    width: 100%;
    margin-top: 10px;
}


#red-color{
    background-color: red;
}
#green-color{
    background-color: green;
}
#light-blue-color{
    background-color: lightblue;
}
#coral-color{
    background-color: coral;
}
#yellow-color{
    background-color: yellow;
}
#grey-color{
    background-color: grey;
}
#magenta-color{
    background-color: magenta;
}
#blue-color{
    background-color: darkblue;
}
#cyan-color{
    background-color: cyan;
}
#pink-color{
    background-color: pink;
}




/* MEDIA QUERIES */

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .col-xs-1 {
        width: 8.33%;
    }
    .col-xs-2 {
        width: 16.66%;
    }
    .col-xs-3 {
        width: 25%;
    }
    .col-xs-4 {
        width: 33.33%;
    }
    .col-xs-5 {
        width: 41.66%;
    }
    .col-xs-6 {
        width: 50%;
    }
    .col-xs-7 {
        width: 58.33%;
    }
    .col-xs-8 {
        width: 66.66%;
    }
    .col-xs-9 {
        width: 75%;
    }
    .col-xs-10 {
        width: 83.33%;
    }
    .col-xs-11 {
        width: 91.66%;
    }
    .col-xs-12 {
        width: 100%;
    }

}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    .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) {
    .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) {
    .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%;
    }
    
    .col-lg-20{
        width: 20%;
    }


    .tall{
        display: flex;
     }

     .tall :first-child{
        flex-grow: 1;
        align-self: stretch;
     }
     
     .tall-col, .tall-col2{
        display: flex;
        flex-direction: column;
     }
     .tall-col :first-child{
        flex-grow: 1;
        align-self: stretch;
    }
    .tall-col :nth-child(2){
        flex-grow: 1;
        align-self: stretch;
    }
    .tall-col :nth-child(3){
        flex-grow: 1;
        align-self: stretch;
    } 
    .tall-col2 :nth-child(1){
        flex-grow: 3;
    }
    .tall-col2 :nth-child(2){
        flex-grow: 1;
    }

    .square-div{
        width:200px;
        height:200px;
        background-color: red;
    }
    
    .container1 {
        width: 900px;
        height: 650px;
        display: flex;
        flex-direction: row; /* this is the default */
        flex-wrap: wrap;
        justify-content: space-evenly;
        align-items: center;
        margin: auto;
    }
    
    .container2 {
        width: 100%;
        height:600px;
        display: flex;
        flex-direction: row; /* this is the default */
        flex-wrap: nowrap;
        column-gap: 10px;
       
    }


    .child, .child1 {
        width:20%;
        display: flex;
        flex-direction: row;;
        flex-wrap: wrap;
        row-gap:10px;
        column-gap: 10px;
    }
    
    #item1{
        width: 100%;
        flex-grow: 1;
        align-self: stretch;
        margin-top: 0px;
    }


    .item2{
        width: 100%;
        margin-top: 0px;
        
    }

    .child1{
        flex-direction: column;
    }

    .child1 :first-child{
        background-color: lightblue;
        width: 100%;
        flex-grow: 3;
    }
    .child1 :nth-child(2){
        background-color: lightblue;
        width: 100%;
        flex-grow: 1;
    }
     
 /* -------- */







}