* {
    margin: 0; padding: 0; border: 0; box-sizing: border-box;
}

html, :root {
    font-size: 62.5%;
}

body{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 1.4rem; /* 16 is standard font size, aka em. root em is setting the font size in the root (:root same as html selector) so 3em is 16*3 (3X root size) allows font to adjust with screen at larger size */
    background-color: #222;
    color: #eee;
    min-height: 200vh;
}

#disc {
    width: 20rem; height: 20rem;
    background-image: linear-gradient(45deg, #141, #363);
    border-radius: 50%;
    text-align: center;
    line-height: 20rem;
    font-size: 12rem;
    font-weight: bold;
    color: #222;
    position: absolute; /* if i do fixed, it would lock the disc in place */
    right: 2rem; top: 2rem;
    transform: rotate(10deg);
}

h1 {
    margin: 12px;
    width: calc(100% - 25rem);
    font-weight: normal;
    line-height: 1.4;
    font-size: 4rem;
}

h1 strong {
    color: orangered;
}

article {
    background-image: linear-gradient(220deg, #111, #333);
    margin: 2rem; 
    padding: 12px;
}

h2 {
    text-align: center;
    border-bottom: 2px solid #555;
    padding: 8px;
    font-weight: normal;
    text-transform: lowercase;
    letter-spacing: .8rem;
    font-size: 2.5rem;
}

article h3, article div {
    border: 8px solid hotpink;
    width: 15vw; /* 14% of viewport width */
    aspect-ratio: 1/1; /*keeps them square regardless of screen size */
}

section {
    position: relative; /* only on parent, goes along with absolute on child  */
}

#display1 {
    text-align: center;
    border: 2px solid skyblue;
    margin-bottom: 12px;
    height: 250px;
}

#display1 * /* also means #display1 h3, #display1 div */ {
    display: inline-block; /*side by side*/
    border: 8px solid yellow; 
    vertical-align: middle; /* somehow pushed the block that had h3 in it, inline with others*/
}

#display2 {
    border: 2px solid skyblue;
    height: 250px;
    display: flex; /* goes with parent */
    margin-bottom: 12px;
    justify-content: center;
    gap: 5px;
}

#display2 * {
    height: 15vw;
}

#display3 {
    border: 2px solid skyblue;
    margin-bottom: 12px;
    text-align: center;
    height: 250px;
}

#display3 * {
    display: inline; /* not often used cuz you cannot set width and height */
    padding: 20px;
    margin: 5px;
}

h3 {
    color: yellow;
    position: absolute;
    top: 10px; left: 10px; 
}

#display3 h3 {
    border: 8px solid green;
    position: relative;
    top: 100px; left: -100px;
}

.bar {
    height: 20px;
    background-color: hotpink;
    margin: 50px 0;
    position: sticky;
    top: 0; left: 0;
    text-align: center;
    color: #222;
}