:root {
	--darkcolor: #5e3a56;
	--lightcolor: #e785a3;
	--keycolor1: #f8e5ef;
	--keycolor1t: #aaa3;
	--keycolor2: #e3bdd7;
	--mainfont: "placeholder";
	--headfont: "placeholder";
}

html * {box-sizing: border-box;}

body {
	font-family: var(--mainfont), system-ui,sans-serif;
	font-size: 108%;
	line-height: 130%;
	background-color: var(--darkcolor);
	color: var(--lightcolor);
	margin: 0;
}

header {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	align-items: center;
	min-height: 50vh;
	background-image: linear-gradient(#fff4,#fff4),url("images/beachfl.jpg");
	background-size: cover;
	background-position: center 60%;
	color: var(--lightcolor);
}
.digitalart header{
	background-image: linear-gradient(#fff3,#fff3), url("images/CEDAR.JPG");
	background-position: center 70%;
}
.paintings header {
	background-image: linear-gradient(#fff4,#fff4), url("images/Moon01.jpg");
}


h1 {
	font-size: 1.5rem;
	margin: 0;
	line-height: 1em;
}

h2 {
   font-size: 10vw;
   margin: 0;
   line-height: 1em;
}

/* header *{outline: 1px dotted red;} */


ul.topnav {
   	list-style: none;
	padding: 0 2em;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: .2em;
	width: 100vw;
}

ul.topnav li {
	border: 1px solid var(--keycolor1);
	min-width: 9em;
	text-align: center;
	border-radius: 5px;
	overflow: hidden;
}
ul.topnav a {
    background-color: var(--keycolor1);	
	display: block;
	padding: .1em 0 .3em;
	color: var(--lightcolor);
	text-decoration: none;
	/*box-shadow: 4px 4px 10px inset #fff8;out of style */
}

ul.topnav a.current {pointer-events: none;}

main,footer {margin: 0 2em;}

.digitalart figure {
	display: inline-block;
	/* background-color: var(--keycolor2);*/
	padding: 0;
	position: relative;
	line-height: 1em;
	text-align: center;
}
.digitalart figure img {
	width: 100%;
	margin: 0;
}
.digitalart figure figcaption {
	background-color: var(--keycolor1t);
	opacity: 50%;
    margin: 0;	
	padding: .2em .2em .3em .2em;
	position: relative;
	bottom: 0px;
}

.paintings figure {
	display: inline-block;
	/* background-color: var(--keycolor2);*/
	padding: 0;
	position: relative;
	line-height: 1em;
	text-align: center;
}
.paintings figure img {
	width: 100%;
	margin: 0;
}
.paintings figure figcaption {
	background-color: var(--keycolor1t);
	opacity: 50%;
    margin: 0;	
	padding: .2em .2em .3em .2em;
	position: relative;
	bottom: 0px;
}

.about figure {
	display: inline-block;
	/* background-color: var(--keycolor2);*/
	padding: 0;
	position: relative;
	line-height: 1em;
	text-align: center;
}
.about figure img {
	display: block;
	width: 50%;
	margin: auto;
	
}
.about figure figcaption {
	background-color: var(--keycolor1);
	opacity: 50%;
    margin: 0;	
	padding: .1em .1em .2em .1em;
	position: relative;
	bottom: 0px;
}


@media (min-width:500px) {
	ul.topnav {
	  flex-direction: row;
	}
	h3 {
	  text-align: center;
	  margin: 10%;
	}
	main {
	  display: flex;
	  flex-direction: row;
	  padding: .2em .2em .3em .2em
	  justify-content: center;
	  align-items: center;
	  column-gap: .1em .2em;
	  line-height: 200%;
	}
	
	section:nth-child(1) {flex:15;}
	section:last-child {flex:25;}
	
	.digitalart figure {
		max-width: 25%;
				
	}
	.paintings figure{
		max-width: 25%;
		
	}
}


@media screen and (prefers-color-scheme: light){
	body {
		background-color: var(--lightcolor);
		color: var(--darkcolor);
	}
}
