/* reset rule*/
*{
    margin: 0; padding: 0;
}


/* type selector */
body {
                font-family:  Verdana, Arial, Helvetica, sans-serif;
                color: #fbfbfe;
                background-color: #2b2a33;
                display: flex;
                flex-direction: column;
                min-height: 100svh;
                min-height: 100vh;
                padding: 12px;
            }

/* type selector */
header{
    padding: 6px;
    border-bottom: 2px solid #00cadb;
    text-align: center; 
    font-size: 1rem;
    float: center;
    height: auto; 
    width: auto;
    text-decoration: none;
    flex-direction: row column;
}

/* descendent selector */

header > h1 {
    text-decoration: none;
    font-size: 2.5rem;
    padding-bottom: 12px;
}

/* decendant selector */
header span {
    display: block;
    /* border: 0px; */
    color: #ff7;
    letter-spacing: .25vw;
}

/* class  selector */
.subtitle{
    text-align: center;
    font-size: 1.75rem;
}

/* ----------------------- */
/* CSS examples */
section {
    display: flex;
    justify-content: center;
    flex-flow: row wrap;
    
}
section article {
    /* border: .25rem solid #27272e; */
    background-color: #42414d;
    box-shadow: -.3rem .3rem 1rem #1f1e25;
    min-width: 25vw; min-height: 10vh;
    max-width: 30vw;
    margin: 1vw;
    padding: .5rem;
    border-radius: .4rem;
    flex: 0 0 auto;
}
article h2 {
    font-size: 1.5rem;
    text-align: center;
}
article p {
    margin: .125vm;
    line-height: 1.4;
    text-align: center;
}

/* ID selector */
#art1 div {
width: 70%;
aspect-ratio: 2/1;
background-color: skyblue; 
margin: 0.5rem auto;
border-radius: 1.5rem;
}
#art2 div {
width: 70%;
aspect-ratio: 2.5/1;
background-color: #000; 
margin: 0.5rem auto;
border-radius: 1.5rem;
box-shadow: -.3rem .3rem 1rem #fff;
}
#art3 h2 {
font-family: "JetBrains Mono" sans-serif;
font-size: 1.8rem;
color: #ff3;
}
#art4 {
    /*use position reletive on the parent*/
    position: relative;
}
#art4 h2 {
    /* Use position:absolute; on the child you want to manipulate */
    position:absolute;
    color: #ff3;
    bottom: 0; left: 0;
    /* border: 2px solid yellowgreen; */
    width: 100%;
    margin: 0.5rem auto;
    padding-bottom: .5rem;
}
#art5 {
    position: relative;
    padding-bottom: 16vh;    
}
#art5 div {
    /*setting position absolute; for all divs in art5 */
    position: absolute;
}
#art5 div:nth-of-type(1){
    width: 40%;
    aspect-ratio: 1;
    background-color: #f44;
    bottom: 1.50vh; left: 5vw; 
    z-index:5;
}
#art5 div:nth-of-type(2){
    width: 40%;
    aspect-ratio: 1;
    background-color: #44f;
    bottom: .25vh; right: 5vw;
    z-index: 3;
}
#art6{
    transition: all 150ms linear;
}
#art6:hover {
    background-color: #00cadb;
    color:#2b2a33;
    border:.25rem solid #1b56ad;
}
header + p {
    display: none;
}

/*css rulset, aka rule 
selector {
        declaration1;
        declaration2;
        property: value;
        property: value;
        property: value1, value2, value3;
        property: value value;
)
*/
