/* reset rule for my styles
    set all elements to a base of zero
        for margin and padding */

* {
    margin: 0;
    padding: 0;
}



body{
    background-image: url(../images/PR6.jpg);
    background-size: cover;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    
}

header {
    background-color: hsla(0, 0%, 50%, 0.702);
    color: rgb(7, 7, 7); /* complimentary color is +/- 180 */
    padding: 60px; margin: 40px;
    text-align: center;
    border-radius: 20px;
    text-shadow: 0px 0px 3px #fff, 3px 4px 3px #000; 
    box-shadow: 3px 4px 0px #000;
    
    

}




.cool-examples{
    border: 4px solid grey;
    margin: 20px;
    border-radius: 20px;
   

}
.navbar {
    overflow: hidden;
    background-color: #333;
  }
  
  .navbar a {
    float: left;
    font-size: 16px;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
  }
  
  .dropdown {
    position: center;
    overflow: hidden;
    margin-right: 30px;
  }
  
  .dropdown .dropbtn {
    font-size: 16px;  
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
  }
  
  .navbar a:hover, .dropdown:hover .dropbtn {
    background-color: red;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 80px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  .dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
  }
  
  .dropdown-content a:hover {
    background-color: #ddd;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }
  


  .cool-examples ul{
    margin-left: 40px;
    list-style-type: square;
    text-align: center;
}

.cool-examples ul::marker{
    color: orange; font-size: 20px;
}

.cool-examples li{
    margin-bottom: 20px;
}

.cool-examples li a{
    color: white;
    text-decoration: none;
    text-shadow: 2px 2px 3px #000;
}

article{
    width: 90%;
    margin: 40px auto;
    background-color: hsla(320, 100%, 100%, .8);
}

article > h2{
    font-weight: normal;
    text-align: center;
    text-shadow: 0px 0px 2px hsl(300, 1%, 34%);
    color: transparent;
    margin: 20px 0px 40px 0px;

}
article > .flex_parent{
    border: 2px solid grey;
    min-height: 200px;
    display: flex; /* make a flex parent */
    flex-flow: row wrap; /* creates a row that can wrap */
    justify-content: center; /*controls alignment */
    
}

article .flex_child {
    border:4px solid black;
    text-shadow: 0px 0px 2px hsl(0, 0%, 50%);
    min-height: 220px;
    margin: 8px;
    flex: 1 0 20%; /* grow, shrink, and the basis */
}

.flex_child h2{
    background-color: #222; text-align: center;

}
.flex_child:nth-child(1){
   
    background-image: url(../images/line.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 0px 0%, 0px 0px;
}    

.flex_child:nth-child(2){
    background-image: linear-gradient(45deg, white, grey , black);
}

.flex_child:nth-child(3){
    background-image: repeating-linear-gradient(45deg, white 0px, black 20px, rgb(3, 3, 3) 20px, rgb(255, 255, 253) 40px);
}

.flex_child:nth-child(4){
    background-image: conic-gradient(white, black);
}

.flex_child:nth-child(5){
    background-image: radial-gradient(white, black);
}

.flex_child:nth-child(6){
    background-image: repeating-radial-gradient(white ,grey 5%, black 5%);
}

.flex_child:nth-child(7){
    background-image: repeating-linear-gradient(white, grey 5%, black 5%);
}

