/* Default colors */
:root {
	--color:#212c2c;
	--background:#e8e3d6;
	
	--link:#804E00;
	--linkhover:#3c6d70;
	
	--formbg:#f4f1e9;
	--formcolor:#212c2c;
	
	--accentbg:#e0d9c6;
	--hr: #bb9860;
}

/* Alternate colors */
/* Replace "dark" with "light" and add your light mode colors here if you want your site to be in dark mode by default */
@media (prefers-color-scheme: dark) {
	:root {
		--color:#DCD7C9;
		--background:#2C3639;
		
		--link:#9bc4c7;
		--linkhover:#cca376;
		
		--formbg:#232c2f;
		--formcolor:#DCD7C9;
		
		--accentbg:#232c2f;
		--hr: #5b7e81;
	}
}

* { margin: 0; padding: 0; transition:0.5s ease;}
img { margin:5px; max-width:100%; }

body { 
	color:var(--color);
	background:var(--background);
	font: 1.1rem sans-serif; 
}

main {
	padding:20px;
	width:100%;
	margin:auto;
}

a {
	color:var(--link);
}

a:hover {
	color: var(--linkhover);
}

main h1 {
	font:2em Georgia, Times New Roman, serif;
	margin:5px 0 5px 0;
}

main h2 {
	margin:10px 0 10px 0;
	font:1.7em Georgia, Times New Roman, serif;
}

main h3 {
	margin:5px 0 5px 0;
	font: 1.4em Georgia, Times New Roman, serif;
}

main h4 {
	font:1em Georgia, Times New Roman, serif;
	font-style:italic;
	margin:5px 0 20px 0;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

.row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

/* Create four equal columns that sits next to each other */
.column {
  flex: 23%;
  max-width: 23%;
  padding: 0 4px;
}

.column img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
  .column {
    flex: 50%;
    max-width: 50%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column {
    flex: 100%;
    max-width: 100%;
  }
}
