*{
    margin:0;
    padding:0;
    box-sizing: content-box;
}
body{
    background-color:#eae4ca;
    color: #262891;    
}
header{
    width:100%;
    height:125px;
    background-color: #7578FF;
    position:fixed;
    top:70px;
}
h1{
  text-align:center;
  color:#f6cb0c;

}
p{
  line-height: 133%;
}

main{
  width: 90%;
  margin: 200px auto;
  background-color: #e7e7e7; /*for testing only*/
  padding: 25px 30px;
}

footer{
  position:fixed;
  bottom:0px;
  left:0px;
  right:0px;
  height:50px;
  background-color: #f6cb0c;
}

main.mySecondMain{
   width: 1000px;
   margin: 100px auto;
   background-color: #555;
}

div.box{
  width: 100px;
  height:100px;
  display:inline-block;  
}

.red{
  background-color:red;
  border: 10px orange;
  margin:20px;
}
.blue{
  background-color:blue;
  padding:20px;
  color:white;
}

div.messageBox{
  width:50%;
  height:100px;
  margin:0 auto;
  border-radius:15px;
  padding:20px;
}

input{
  padding:10px;
  border-radius: 3px;
}

.error{
  background-color: rgb(232, 138, 196);
  border:1px solid red;
}

.warning{
  background-color: orange;
  border:1px solid red;
}



nav {
    width: 100%;
    margin: 0 auto;
    background: #fff;
    padding: 20px 0;
    box-shadow: 0px 5px 0px #dedede;
  }
  nav ul {
    list-style: none;
    text-align: center;
  }
  nav ul li {
    display: inline-block;
  }
  nav ul li a {
    display: block;
    padding: 15px;
    text-decoration: none;
    color: #aaa;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 10px;
  }
  nav ul li a,
  nav ul li a:after,
  nav ul li a:before {
    transition: all .5s;
  }
  nav ul li a:hover {
    color: #555;
  }
  
  
  /* stroke */
  nav.stroke ul li a,
  nav.fill ul li a {
    position: relative;
  }
  nav.stroke ul li a:after,
  nav.fill ul li a:after {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 0%;
    content: '.';
    color: transparent;
    background: #aaa;
    height: 1px;
  }
  nav.stroke ul li a:hover:after {
    width: 100%;
  }
  
  nav.fill ul li a {
    transition: all 2s;
  }
  
  nav.fill ul li a:after {
    text-align: left;
    content: '.';
    margin: 0;
    opacity: 0;
  }
  nav.fill ul li a:hover {
    color: #fff;
    z-index: 1;
  }
  nav.fill ul li a:hover:after {
    z-index: -10;
    animation: fill 1s forwards;
    -webkit-animation: fill 1s forwards;
    -moz-animation: fill 1s forwards;
    opacity: 1;
  }
  
  /* Circle */
  nav.circle ul li a {
    position: relative;
    overflow: hidden;
    z-index: 1;
  }
  nav.circle ul li a:after {
    display: block;
    position: absolute;
    margin: 0;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    content: '.';
    color: transparent;
    width: 1px;
    height: 1px;
    border-radius: 50%;
    background: transparent;
  }
  nav.circle ul li a:hover:after {
    -webkit-animation: circle 1.5s ease-in forwards;
  }
  
  /* SHIFT */
  nav.shift ul li a {
    position:relative;
    z-index: 1;
  }
  nav.shift ul li a:hover {
    color: #91640F;
  }
  nav.shift ul li a:after {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    width: 100%;
    height: 1px;
    content: '.';
    color: transparent;
    background: #F1C40F;
    visibility: none;
    opacity: 0;
    z-index: -1;
  }
  nav.shift ul li a:hover:after {
    opacity: 1;
    visibility: visible;
    height: 100%;
  }
