*{
  cursor: url('cursor_small.ico'), default;
  font-family: sans-serif;
}

body{
  margin: 0;
  box-sizing: border-box;
}

body > header{
  display: flex;
  justify-content: space-between;
  text-align: center;
  background-color: #15162e;
  z-index: 3;
  width: 100vw;
}
body > header h1{
  color: #ffcc03;
  font-family: sans-serif;
  margin-left: -8em
}
body > header img{
  height: 3em;
  width: 3em;
  margin-left: 8em;
  transform: rotate(0deg);
  transition: all 0.3s ease-in-out
}
body > header a, body > header label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 2em;
}
@keyframes terug {
  0%   { transform: rotate(0deg) }
  25% { transform: rotate(-25deg) }
  75% { transform: rotate(25deg) }
  100% { transform: rotate(0deg) }
}

body > header a:first-of-type:focus, body > header a:first-of-type:hover{
  outline: 0;
  animation: terug 1s infinite;
}

main > div div:first-of-type{
  grid-area: div1;
}

main > div div:nth-of-type(2){
  grid-area: div2;
}

main > div div:last-of-type{
  grid-area: div3;
}

main > div{
  /* display: grid;
  grid-template-areas:
    "div1"
    "div2"
    "div3"; */
}

main > div{
  text-align: center;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
}

main > div a, main > div p {
  width: 100%;
  height: 100%;
}

a{
  text-decoration: none;
  color: #15162e;
  transition: 0.3s all ease-in-out
}

main > div a:focus, main > div a:hover{
  outline: 0;
  color: #ffcc03;
  background-color: #15162e
}

aside{
  background-color: #ffce01;
  position: fixed;
  bottom: 0;
  width: 100%;
  text-align: center;
}

form{
  display: flex;
flex-wrap: wrap;
justify-content: space-around;
flex-direction: column;
padding: 0 0 7em 0;
}

form input, form textarea{
  width: 30em;
  margin: 0 auto;
}

form label{
  text-align: center;
}

form input:focus{
  outline: 0;
}

form input[type="submit"]{
  margin-top: 1em;
  width: 10em;
}

-webkit-autofill {
  -webkit-text-fill-color: yellow !important;
}

form input[type="text"]:invalid, form input[type="email"]:invalid{
  -webkit-appearance: none;
  -moz-appearance: none!important;
  transition: all 1s ease-in-out;
  background: linear-gradient(to right, tomato 50%, lime 50%);
  background-size: 200% 100%;
  background-position:left bottom;
  border: none;
  height: 1.4em;
  border: 3px solid tomato;

}
form input[type="text"]:valid, form input[type="email"]:valid {
    background-position: right bottom;
    border: 3px solid lime;
}

form label:last-of-type{
  margin: 0 25%;
width: 50%;
}
