html {
  font-size: 100%;
}

body {
  padding: 0;
  font-family: 'Cantarell', sans-serif;
  margin: 0;
  font-size: 16px;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  line-height: 1.4;
  text-rendering: optimizeLegibility;
  color: black;
  background-color: #ffffff;
  background-image: url('images/bg.png');
  background-repeat: no-repeat;
  background-position: center top;
}

h1 {
  font-size: 180%;
  margin: 10px 0px;
}

p {
  margin: .8em 0 1em;
  padding: 0;
  text-align: left;
}

img {
  vertical-align: middle;
  border: none;
}

small {
  color: gray;
}

hr {
  height: 0;
  border: 0;
  border-top: 1px solid #DCDCDC;
  clear: both;
}

a {
  color: #505050;
  text-decoration: none;
}

header {
  display: block;
  text-align: center;
}

/**
* Error
*/

#Error {
  width: 500px;
  margin: auto;
}

/**
*	Main Container
*/

#mainBox {
  max-width: 750px;
  min-width: 320px;
  margin: 0px auto;
  height: 100%;
}

/**
*	Home section
*/

#head {
  text-align: center;
}

#homeTitle {
  font-family: 'Wire One';
  font-size: 160px;
  font-weight: 100;
  line-height: 0.86;
  text-align: center;
  padding: 0px 30px 0px 25px;
  margin-top: 10%;
}

#menuList {
  padding: 8px 0;
  list-style: none;
  margin: 20px auto;
  border-top: solid 1px #b9b9b9;
  border-bottom: solid 1px #b9b9b9;
}

#menuList li {
  display: inline;
  padding: 0px 10px 0px 10px;
}

#about {
  margin: 30px 20px;
}

.summary {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  flex-wrap: nowrap;
  align-items: center;
  margin: auto 10px;
}

.container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.item {
  padding: 0 10px;
}

.circular {
  width: 100px;
  height: 100px;
  border-radius: 50px;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  background: url(images/profilePicture.jpeg) no-repeat;
  box-shadow: 0 0 8px rgba(0, 0, 0, .8);
  -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, .8);
  -moz-box-shadow: 0 0 8px rgba(0, 0, 0, .8);
  vertical-align: center;
  margin: auto 15px auto auto;
}

@media only screen and (max-width: 530px) {
  .summary {
    flex-direction: column;
  }
  .circular {
    margin: auto;
  }
}

@media only screen and (max-width: 660px) {
  .container {
    flex-direction: column;
  }

}