﻿
* {
	margin: 0; padding: 0;
}

body {
	background-color: #234;
	color: #EEE;
	font-family: verdana, arial, sans-serif;
	padding: 12px;
	border: 4px solid #222;
	margin: 4px;
}
header {
	border: 2px solid hotpink;
	padding: 12px;
}
header > h1 {
	text-align: center;
	font-weight: normal;
	text-transform: uppercase;
	color: yellowgreen;
	padding-bottom: 20px;
	margin-bottom: 20px;
	border-bottom: 2px solid hotpink;
}
header span {
	display: block;
	border: 0px;
	color: #FF4
}

.subtitle {
	text-align: center;
	/* border: 2px solid #222; */
	padding: 10px;
	line-height: 1.5;
	text-transform: lowercase;
	letter-spacing: 8px;
}

header + p {
	display: none;
}

/* CSS Examples */
section {
	display: flex;
	justify-content: center;
	flex-flow: row wrap;
}

section article {
	border: 2px solid hotpink;
	max-width: 360px;
	min-height: 250px;
	margin: 10px;
	flex: 0 0 auto;
	padding: 4px;
}

article h2 {
	font-size: 16pt;
}

article p {
	margin: 8px;
	line-height: 1.4;
}


#art1 div {
	width: 70%;
	aspect-ratio: 2/1;
	background-color: skyblue;
	margin: 20px auto;
	border-radius: 20px;
}

#art2 div {
	width: 70%;
	aspect-ratio: 2/1;
	background-color: #000;
	margin: 20px auto;
	border-radius: 100px;
	box-shadow: 10px 20px 10px yellow;
}

#art3 h2 {
	font-family: "Licorice", cursive;
	text-align: center;
	font-size: 18pt;
	color: #FF3;
}

/* relative on parent, absolute on child */

#art4 {
	position: relative;
}

#art4 h2 {
	position: absolute;
	color: #FF3;
	bottom: 10px; left: 0;
	border: 0px solid yellowgreen;
	width: 100%;
	text-align: center;
}


#art5 {
	position: relative;
}

#art5 p {
	margin-bottom: 20px;
}

#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: 9;
}


#art6 {
	transition: all 300ms linear;
}

/* Pseudo Element*/
#art6:hover {
	background-color: #404;
	color: #FF4;
	border: 2px solid yellowgreen;
}