/* CSS Reset Rule */
* {
    margin: 0; padding: 0; box-sizing: border-box;
}


/*Type Selector*/

body {
background-color:#4e4d49;
color:#d6cfbf;
padding: 12px;
border: 5px solid #725e45;
 } 



 /*Child Selector*/

 header > h1 {
    text-align: center;
    font-weight: normal;
    text-transform: uppercase;
    color: #d6cfbf;
    margin-bottom: 15px;
    border-bottom: 1px solid rgb(255, 166, 0);
 }

 /* Decendent Selector*/

 header span {
    display: block;
 }

/*Class Selector*/

.subtitle {
text-align: center;
padding: 12px;
line-height: 2;
}

/* Adjacent Selector */

/*--------*/
/*CSS Examples*/

section {
    display:flex;
    justify-content: center;
    flex-flow: row wrap;
    border: 2px solid rgb(255, 166, 0);
}

section article {
    border: 2px solid #d6cfbf;
    min-width: 400px;
    min-height: 200px;
    margin: 10px;
    flex: 0 0 auto;
}

article h2 {
    font-size: 16pt;
}

article p {
   margin: 8px;
   line-height: 1.4;
}

/* Id Selector */

#art1 div {
    width: 70%;
    aspect-ratio: 2/1;
    background-color: orange;
    Margin: 20px auto;
    Border-radius: 20px;
}

#art2 div {
width: 70%;
aspect-ratio: 2/1;
background-color:#757575;
margin: 20px;
box-shadow: 4px 3px 7px orange;
Border-radius: 20px;
}

#art3 h2 {
    font-family: "Kaushan Script", cursive;
    text-align: center;
    font-size: 18pt;
    color: orange;
}

#art4 {
    /* use position relative on the parent*/
   position: relative;
}

#art4 h2 {
    /* use position absolute on the child you want to manipulate */
    position:absolute;
    bottom: 0; left: 0;
    
    bottom:0; left: 0;
    width: 100%;
    text-align: center;
}

#art5 p {
    border: 2px solid orange;
}

#art6 {
    transition: all 300ms linear;
}

#art6:hover {
    background-color: orange;
    color:#725e45;
}

/* css ruleset, aka rule selector 
decloration1;
decloration2;
property: value;
property: value1, value2, value3;
property: value value;
}
 */

