@import 'normalize.css';

body {
  font-family: 'Source Serif Pro', serif;
  font-size: 1em;
  line-height: 1.5em;
  color: #333;
  padding: 0;
  background-color: #FEFEFA
}

h1, h2, h3, h4 {
  line-height: 1.2em
}

.header {
  display: inline-block;
  width: 100%;
  background-color: #EAE6DA;
  padding: 2em 0 0;
  border-bottom: 1px solid #ddd;
}

#logo {
  float: left;
  background-image: url(../images/logo.png);
  background-repeat: no-repeat;
  background-position: 2em 0.7em;
  background-size: 2.8em 2.8em;
	padding: 0.7em 0 0.5em 2.75em;
}

#logo h1 {
  font-size: 2em;
  padding-top: 0.3em;
  margin: 0;
}

#logo h1::first-letter {
	color: transparent;
}

#logo a {
  display: block;
  padding: 0;
  text-decoration: none;
  color: #333;
}

#logo p {
  font-style: italic;
  position: relative;
  top: -1.5em;
	left: 1.1em;
  color: #555;
  font-size: 0.8em;
  letter-spacing: -0.5px;
}

.header ul {
  display: block;
  float: right;
  position: relative;
  padding: 0 1.8em 0 0;
}

.header li {
  display: inline-block;
  list-style: none;
  padding: 0.3em 0.6em;
}

.header li a {
  color: #555;
  text-decoration: none;
  font-size: 1em;
  text-transform: uppercase;
}

.header li a:hover, .header li a:active {
  text-decoration: none;
}

.header li.current-menu-item {
  border-bottom: 2px solid #333;
}

.header li.current-menu-item a {
  color: #111;
}

.header form {
  display: none;
}

main {
  clear: both;
  padding: 0em 2.2em 3em 2.2em;
  font-size: 1.2em;
  margin: 0 auto;
  max-width: 40em;
  text-align: justify;
}

main h1 {
  padding: 0.5em 0 0;
  margin-bottom: 0;
}

main p, main li {
  padding: 0.5em 0;
  line-height: 1.6em;
  color: #555;
}

main p.post-header {
  margin-top:3em;
  padding-top: 1em;
}

main a {
  color: #333;
  text-decoration: underline;
}

body.home {
  background-image: url(../images/background.jpg);
  background-position: 0 -8.2em;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
}

#circle {
  position: relative;
  padding: 7em 0 0 2.9em;
  height: 40em;
  overflow-y: hidden;
}

#circle h1 {
	text-transform: uppercase;
	font-style: italic;
	color: #444;
}

#circle ul {
  position: absolute;
}

#circle li p {
  display: none;
}

#circle li {
  display: inline-block;
  list-style: none;
  width: 10em;
  height: 10em;
  -webkit-border-radius: 5em; 
  -moz-border-radius: 5em; 
  border-radius: 5em;
  vertical-align: center;
  text-align: center;
  position: relative;
  float: left;
  padding: 0;
}

#circle li a {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  text-decoration: none;
  padding: 1em;
}

#circle li:hover p {
  display: inline-block;
  position: absolute;
  top: 60%;
  left: 0;
  width: 90%;
  background: #888;
  padding: 0.5em;
  -webkit-border-radius: 1em; 
  -moz-border-radius: 1em; 
  border-radius: 1em;
  color: #fefefe;
  font-size: 0.8em;
  opacity: 0.8;
}

#circle #center {
  width: 30em;
  height: 30em;
  border: 4px solid gold;
  -webkit-border-radius: 20em; 
  -moz-border-radius: 20em; 
  border-radius: 20em;
}

#circle #center div {
  width: 30em;
  height: 30em;
  -webkit-border-radius: 20em; 
  -moz-border-radius: 20em; 
  border-radius: 20em;
  background-color: #fefefe;
  opacity: 0.5;
}

#first {
  background-color: #fbf714;
  position: absolute;
  top: -35em;
  left: 10em;
}

#second {
  background-color: #f8ca0d;
  top: -31em;
  left: 11em;
}

#third {
  background-color: #ef371f;
  top: -20em;
  left: 5em;
}

#third a {
  color: #fffeee;
}

#fourth {
  background-color: #f022b1;
  top: -19em;
  left: 22em;
}

#fourth a {
  color: #fffeee;
}

#fifth {
  background-color: #4d00cf;
  top: -15em;
  left: 1em;
}

#fifth a {
  color: #fffeee;
}

#sixth {
  background-color: #1629d1;
  top: -19em;
  left: -20em;
}

#sixth a {
  color: #fffeee;
}

#seventh {
  background-color: #3fd2c7;
  top: -39em;
  left: -5em;
}

#seventh a {
  color: #fffeee;
}

#eight {
  background-color: #70ff66;
  top: -50em;
  left: -11em;
}

header p {
  font-size: 0.8em;
}

footer {
  clear: both;
  padding: 1em 0.2em 0.2em 0.2em;
  background-color: #5A3E36;
  border-top: 1px solid #333;
}

footer address {
  float: left;
  padding: 1em 4em 1em 2em;
  color: #F0EAD6;
}

footer ul {
  column-count: 3;
}

footer li a {
  color: #F0EAD6;
  text-decoration: none;
}

footer li {
  list-style: none;
}

footer li.hide {
  opacity: 0;
}

footer li.home a {
  width: 2em;
  height: 2em;
  background: url(../images/home.png);
  text-indent: -9999px;
}

footer li.hide a:hover {
  cursor: default;  
}

footer p {
  padding: 2em 0;
  text-align: center;
  font-size: 0.9em;
  color: #D2C29D;
}

@media (min-width: 30em) {
  footer ul {
    column-count: 1;
  }
}

@media (min-width: 40em) {
  footer ul {
    column-count: 2;
  }
}

@media (min-width: 50em) {
  footer ul {
    column-count: 3;
  }
}