/* 
    Created on : Feb 22, 2016, 10:08:21 PM
    Author     : Mathias
*/

html {
    background-color: rgb(192, 192, 192);
}
body {
    margin-top: 0;
    font-family: Arial, Helvetica, sans-serif;
    width: 80%;
    margin: 0 auto;
    background-color: white;
    border: 1px solid black;
    padding: .5em 2em;
}
header {
    margin: 0;
    border-bottom: 2px solid black;
}
header h1 {
    margin: 0;
    padding: .5em 0;
    color: black;
}
main {
    margin: 0;
}
aside {
    padding-top: 2%;
    padding-left: 5%;
    float: left;
    width: 15%;
}
aside:menu {
    padding-top: 2%;
    padding-left: 5%;
    float: left;
    width: 15%;
}
nav ul {
    list-style-type: none;
    margin-left: 0;
    padding-left: 0;
}
nav ul li {
    padding-bottom: 0.5em;
}
section {
    float: left;
    width: 60%;
    padding-bottom: 1.5em;
}
footer {
    clear: both;
    margin-top: 1em;
    border-top: 2px solid black;
}
footer p {
    text-align: right;
    font-size: 80%;
    margin: 1em 0;
}
h1 {
    font-size: 150%;
    margin: 0;
    padding: .5em 0 .25em;
}
h2 {
    font-size: 120%;
    margin: 0;
    padding: .25em 0 .5em;
}
h1, h2 {
    color: purple;
}
ul {
    margin: 0 0 1em 0;
    padding: 0 0 0 2.5em;
}
li {
    margin: 0;
    padding: 0;
}
a {
    color: rgb(41, 64, 124);
    font-weight: bold;
}
a:hover {
    color: goldenrod;
}
table {
    table-layout: auto;
    width: 100%;
    border: 1px solid black;
    border-collapse: collapse;
}
td, th {
    border: 1px solid black;
    padding: .2em .5em .2em .5em;
    vertical-align: top;
    text-align: center;
    text-overflow: ellipsis;
    overflow: hidden;
}
form {
    margin: 0;
}

form span {
    vertical-align: middle;
    display: block;
    width: 100%;
}
form label { 
    display: inline-block; 
    float: none;
    width: 250px;
    padding: 0;
    margin: 5px 0 0;
    text-align: left; 
}
form input {
    display: inline-block;
    float: none;
    width:auto;
    margin:5px 0 0 10px; 
    padding:5px 5px;
}

form textarea {
    display: inline-block;
    padding: 0;
    margin: 5px 0 0 10px;
    text-align: left; 
}

br {
    clear: left;
}

figcaption {
    display: block;
}

/* the styles for classes */
.right {
    text-align: right;
}
.last_paragraph {
	margin-bottom: 2em;	
}

form:logout {
    float: right;
}

.tab {
    text-indent: 40px
}

.bradley {
    text-align: center;
    float: right;
}

/**********************************
ANIMATIONS
***********************************/
.animations {
  position: relative;

}
  
  @-webkit-keyframes sail {
  0% {
    left: 0;
    right: auto;
    }
  49% {
    left: 70%;
    -moz-transform: scaleX(1);
    -o-transform: scaleX(1);
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
  }
  50% {
    left: 70%;
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
  }
  99% {
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
  }
  100% {
    left: 0;
    -moz-transform: scaleX(1);
    -o-transform: scaleX(1);
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
    }
}

#example img {
  position: absolute;
  z-index: 5;
  bottom: 50px;
  animation : sail 5s 0s infinite ease-in-out normal; 
  }

#waves {
  left: 0px;
  bottom: 0px;
  width: 100%;
  z-index: 3;

}

/* Define the bottom value at the two keyframes */
@-webkit-keyframes summon {
  0% {
    bottom: 0px;
    z-index: 0;
  }
  100% {
    bottom: 200px;
    z-index: 1;
  }
}

#kraken {
  position: absolute;
  left: 50%;
  width: 25%;
  bottom: 0;
  
  /* Add the animation rule here */
  animation: summon 3s 0s ease-in-out infinite alternate;
  
}