@keyframes slideInFromLeft {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(0); }
}

@keyframes slideInFromTop {
  0% { transform: translateY(-100%); }
  100% { transform: translateX(0); }
}


html, body {
    margin: 0;
    height: 100%;
}

a, button, input[type='submit'], button:hover, a:hover, a:visited {
  text-decoration: none;
  color: inherit;
  color: rgb(63, 186, 104, 0.5);
  transition: 0.5s;
  cursor: pointer;
}

button:hover, a:hover {
  cursor: pointer;
  color: rgb(63, 186, 104, 1);
}

a.aside-link {
  color: inherit;
  border-bottom: 2px solid rgb(63, 186, 104, 0.75);
}

a.aside-link:hover {
  border-bottom: 2px solid rgb(63, 186, 104, 1);
}

a.arrow {
  position: relative;
  top: 0px;
}

a.arrow:hover {
  position: relative;
  top: -10px;
}

aside section a, ul a {
  color: rgb(63, 186, 104, 1);
}

aside section a:hover, ul a:hover {
  color: #000;
}

body {
    background-color: #FFF;
    color: #000;
    font-family: 'Georgia', serif;
    font-weight: normal;
    font-size: 18px;
}

/* Centered family block */
main {
	box-sizing: border-box;
	padding: 10px;
  padding-top: 50px;
  margin: 0px;
  text-align: center;
	/*
    display: flex;
    flex-direction: column;
	*/
  justify-content: center;
  min-height: 100%;
	animation: 0.5s ease-out 0s 1 slideInFromTop;
}

/* Contains a single person */
div.person {
    display: inline-block;
    padding: 20px;
    margin: 20px;
    width: 200px;
    border: solid 5px;
    border-color: #000;
    vertical-align: top;
}

div.large-person {
  width: 300px;
}

/* All arrows, both up and down, should have the same size. */
.arrow {
    font-size: 42px;
    font-family: 'Arial', serif;
}

span.separator {
  color: #CCC;
}

h1 {
	font-size: 1.25em;
}

h2 {
  color: #CCC;
  font-style: italic;
  font-size: 0.8em;
  margin-top: -1em;
}

ul {
  list-style-type: none;
  list-style: none;
  margin: 0px;
  padding: 0px;
  padding-top:20px;
}

li {
  padding: 2px;
}

input[type='password'],
input[type='text'] {
  background-color: antiquewhite;
  background-color: #DDD;
  border: 0px;
  border-bottom: 2px solid;
  font-size: 1em;
  display: block;
  width: 100%;
  margin-top: 30px;
  margin-bottom: 10px;
  text-align: center;
  outline: none;
  font-family: inherit;
}

input[type='text']:focus,
input[type='password']:focus {
  border-bottom: 2px solid rgb(63, 186, 104);
}

a.button, input[type='submit'] {
  display: block;
  border: 4px solid rgb(63, 186, 104);
  color: rgb(63, 186, 104);
  background-color: transparent;
  padding: 10px 20px;
  width: max-content;
  font-family: inherit;
  font-size: inherit;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
}

a.button:hover, input[type='submit']:hover {
  color: #000;
  border-color: #000;
}

div.search {
  position: absolute;
  top: 0px;
  padding: 10px;
  font-size: 1.5em;
}

aside {
  display: none;
  position: absolute;
  text-align: center;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100%;
  background-color: rgba(255,255,255,1);
  padding: 100px;
  box-sizing: border-box;
}

aside:target {
  display: block;
}

aside img {
  border-radius: 50%;
  display: inline-block;
  width: 150px;
  height: 150px;
  border: 8px solid #CCC;
  object-fit: cover;
}

aside section {
  padding-top: 25px;
  width: 160px;
  text-align: left;
  display: inline-block;
}

aside section h3 {
  color: #CCC;
  font-size: 0.8em;
  margin: 0;
}

aside section p {
  margin-top: 0;
}

.close {
	position: fixed;
	right: 24px;
	top: 24px;
	width: 32px;
	height: 32px;
	opacity: 0.75;
}

.close:hover {
	opacity: 1;
  cursor: pointer;
}

.close:before, .close:after {
	position: absolute;
	left: 15px;
	content: ' ';
	height: 33px;
	width: 2px;
	background-color: rgb(63, 186, 104);
}

.close:before {
	transform: rotate(45deg);
}

.close:after {
	transform: rotate(-45deg);
}
