@font-face {
  font-family: ComicSans;
  src: url(/ComicSansMS3.ttf);
}

@keyframes title {
  0%   {rotate: 5deg;}
  50%   {rotate: -5deg;}
  100%   {rotate: 5deg;}
}

@keyframes splash {
  0%   {font-size: 1.3rem;}
  50%   {font-size: 1.5rem;}
  100%   {font-size: 1.3rem;}
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  background: linear-gradient(45deg, #3d71e9, #6be93d);
  background-repeat: no-repeat;
  background-attachment: fixed;
}
/*#3cb575, #ffe539*/
/*linear-gradient(45deg, #3d71e9, #6be93d);*/

header {
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: start;
  flex-direction: column;
}

.title-group {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: title 3s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.title-group img {
  height: 250px;
  position: absolute;
}

.title {
  color: white;
  font-family: ComicSans;
  font-size: 8rem;
  paint-order: stroke fill;
  -webkit-text-stroke: 6px #303030;
  text-shadow: 4px 4px 4px black;
  z-index: 9999;
}
/*stary title easing
cubic-bezier(0.87, 0, 0.13, 1)*/

.splash {
  font-family: ComicSans;
  font-weight: bold;
  color: white;
  paint-order: stroke fill;
  -webkit-text-stroke: 6px #303030;
  text-shadow: 4px 4px 4px black;
  animation: splash 2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

main {
  display: flex;
  align-items: center;
  justify-content: start;
  flex-direction: column;
}

nav {
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: space-between;
  width: 800px;
}

nav a {
  font-family: ComicSans;
  font-weight: bold;
  font-size: 2rem;
  color: gold;
  margin: 30px;
  text-decoration: none;
  paint-order: stroke fill;
  -webkit-text-stroke: 6px #303030;
  text-shadow: 4px 4px 4px black;
}