* {
    margin: 0; padding: 0; box-sizing: border-box;
}

body {
    background-color: #B5E18B;
    color: #28396c;
    font-family: 'Segoe UI', Verdana, sans-serif;
    padding: 12px;
}
header {
    border: 2px solid #eae6bc;
    padding: 12px;
    background-color: #F0FFC2;
}

header > h1 {
    text-align: center;
    font-weight: normal;
    text-transform: uppercase;
    color: #28396c;
    margin-bottom: 20px; padding-bottom: 20px;
    border-bottom: 2px solid #eae6bc;
}
header span {
    display: block;
    border: 0px;
    color: #28396c
}
.subtitle {
    text-align: center;
    border: 0px solid #eae6bc;
    padding: 10px;
    line-height: 1.5;
    text-transform: lowercase;
    letter-spacing: 8px;
}
header + p {
    display: none;
}
/* css ruleset, aka rule
selector {
    declaration1;
    declaration2;
        property: value;
}
    */
/* ======================= */
/* CSS Examples */
section {
    display: flex;
    justify-content: center;
    flex-flow: row wrap;
}

section article {
    border: 2px solid black;
    max-width: 360px;
    height: 240px;
    margin: 10px;
    flex: 0 0 auto;
    padding: 4 px;
}

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: #eae6bc;
    margin: 20px auto; /*center a block*/
    border-radius: 20px;
}

#art2 div {
    width: 70%;
    aspect-ratio: 2.5/1;
    background-color: #eae6bc;
    margin: 20px auto;
    box-shadow: -4px 8px 14px black;
    border-radius: 20px;
}

#art3 h2 {
  font-family: "Playwrite NZ Guides", cursive;
  text-align: center;
  font-size: 18pt;
  color: black;
  font-weight: 400;
  font-style: normal;
}
#art4 {
    /* use position relative on the parent */
    position: relative;
}
#art4 h2 {
    /* use position absolute on the child you want to maniopulate */
    position: absolute;
    bottom: 10px; left: 0;
    border: 0px solid #28396c;
    width: 100%;
    text-align: center;
}

#art5 {
    position: relative;
}
#art5 div{
    position: absolute;
}
#art5 div:nth-of-type(1) {
    width: 40%;
    aspect-ratio: 1;
    background-color: #f44;
    bottom: 10px; left: 64px; 
    z-index: 10;
}
#art5 div:nth-of-type(2) {
    width: 40%;
    aspect-ratio: 1;
    background-color: #44f;
    bottom: -10px; right: 64px;
    z-index: 5;
}

#art6 {
    transition: all 300ms linear;
}
#art6:hover {
    background-color: #404;
    color: #ff4;
    border: 2px solid yellowgreen;
}