* {
    margin: 0; bottom: 0; padding: 0;
}

:root {
    font-size: 62.5%;
}

body {
    font-size: 2rem;
    background-color: hsla(200,80%, 40%, .7);
    color: hsla(200 80% 10% / .9); 
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

/* ====== consistent styles for all articles ===== */
article {
    border: 4px solid hsla(200 100% 90% / .9);
    margin: 24px 8px;
    padding: 8px;
}

article h2 {
    text-align: center;
    color: hsla(10 100% 30% / 1);
    font-size: 2.5rem;
}

article section {
    border: 4px solid hsla(200 80% 10% / .9);
    margin: 24px;
    min-height: 200px;
}

/* ====== styles for individual ===== */
#article1 section div {
    width: 180px; height: 180px;
    background-color: burlywood;
    border: 2px solid #222;
    margin: 24px auto;
}



#article2 section {
    position: relative;
    min-height: 232px;
}

#article2 section div {
    width: 180px; height: 180px;
    background-color: burlywood;
    border: 2px solid #222;
    position: absolute;
}

#article2 section div:nth-child(1) {
    top: 24px; left: 24px;
}

#article2 section div:nth-child(2) {
    top: 24px; right: 24px;
}





#article3 section {
    overflow: hidden; /*clearfix for floaters */
}

#article3 section div {
 width: 180px; height: 180px;
 background-color: burlywood;
 border: 2px solid #222;
 margin: 24px;
}

#article3 section div:first-child {
     float: left;
}

#article3 section div:last-child {
    float: right;
}



/* using flexbox */
#article4 section  {
    display: flex;
    justify-content: center;
}

#article4 div {
    width: 180px; height: 180px;
    background-color: burlywood;
    border: 2px solid #222;
    margin: 24px;
}
 
#article4 div:first-child {
    top: 24px; left: 200px;
}

#article4 div:last-child {
    top: 24px; right: 200px;
}


#article5 section {
    text-align: center;
    padding: 24px 0px;
}

#article5 div {
    display: inline-block;
    width: 180px; height: 180px;
    background-color: burlywood;
    border: 2px solid #222;
    margin: 24px;
}




#article6 section {
    display: flex;
    justify-content: space-evenly;
    padding: 24px 0;
    border: 0px;
}

#article6 div {
    width: 180px; height: 180px;
    background-color: burlywood;
    border: 2px solid #222;
    margin: 24px;
}

#article6 div:nth-child(3) {
    background-image: url(../mountains1.jpg);
    background-size: cover;
    background-position: center;
}

#article3 div:nth-child(3) h3 {
    background-color: orange;
    text-align: center;
    width: 90%;
    margin: 2px auto;
}