* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background-color: #000;
}

@font-face {
  font-family: 'loveletter';
  src: url('../font/loveletter-webfont.eot');
  src: url('../../font/loveletter-webfont.eot?#iefix') format('embedded-opentype'),
       url('../font/loveletter-webfont.woff') format('woff'),
       url('../font/loveletter-webfont.woff2') format('woff2'),
       url('../font/loveletter-webfont.ttf') format('truetype'),
       url('../font/loveletter-webfont.svg#webfont') format('svg');
       font-weight: normal;
       font-style: normal;
     }

     @font-face {
      font-family: 'vet-tw';
      src: url('../font/veteran-typewriter-webfont.eot');
      src: url('../font/veteran-typewriter-webfont.eot?#iefix') format('embedded-opentype'),
           url('../font/veteran-typewriter-webfont.woff') format('woff'),
            url('../font/veteran-typewriter-webfont.woff2') format('woff2'),
           url('../font/veteran-typewriter-webfont.ttf') format('truetype'),
           url('../font/veteran-typewriter-webfont.svg#webfont') format('svg');
            font-weight: normal;
            font-style: normal;
          }

.home-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100vh;
}

.header-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 10px 0;
  margin-top: 20px;
}

.link-box {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-right: 10px;
}

.links {
  font-family: 'loveletter', 'courier new', courier, monospace;
  font-size: 1.200em;
  color: #fff;
  letter-spacing: 2px;
  text-shadow: 1px 1px 1px rgba(0,0,0,1);
  text-transform: uppercase;
  padding: 0px 10px;
  z-index: 1;
  position: relative;
}

.links a:link { color: #fff; text-decoration: none;}
.links a:visited { color: #fff; text-decoration: none;}
.links a:hover { color: #fff; text-decoration: none; background-color: rgba(0, 0, 0, .55);}
.links a:active { color: #fff; text-decoration: none;}

.slide-top-port { position:relative;
  animation:animatetop 2.5s
}

.slide-top-bio { position:relative;
  animation:animatetop 3.5s
}

.slide-top-cont { position:relative;
  animation:animatetop 4.5s
}

.slide-top-insta { position:relative;
  animation:animatetop 1.5s
}

.insta {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 15px 0px 0px 0px;
  width: 100%;
}

.insta-link {
  z-index: 1;     /* these two lines keep */
  position: relative; /* image from fading */
}

.insta-link:hover {
  background-color: rgba(0, 0, 0, .5);
}

.icon-size {
  height: 30px;
  width: 30px;
}

@keyframes animatetop {
  from {top:-300px;opacity:0}
  to {top:0;opacity:1}
}

.home {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
}

.home-text {
  font-family: 'loveletter', 'vet-tw', 'courier new', courier, monospace;
  font-size: 4.500em;
  letter-spacing: 5px;
  line-height: 100px;
  color: #fff;
  text-shadow: 3px 3px 5px rgba(0,0,0,1);
  z-index: 1;     /* these two lines keep */
  position: relative; /* text from fading */
}

/* core css styles for slideshow */
.crossfade > figure {
  animation: imageAnimation 36s linear infinite 0s;
  backface-visibility: hidden;
  background-size: cover;
  background-position: center center;
  color: transparent;
  height: 100%;
  left: 0px;
  opacity: 0;
  position: absolute;
  top: 0px;
  width: 100%;
  z-index: 0;
}

/* add background images to the slideshow */
.crossfade > figure:nth-child(1) { background-image: url('../images/home1-600.jpg'); }

.crossfade > figure:nth-child(2) {
  animation-delay: 6s;
  background-image: url('../images/home8-600.jpg');
}

.crossfade > figure:nth-child(3) {
  animation-delay: 12s;
  background-image: url('../images/home3-600.jpg');
}

.crossfade > figure:nth-child(4) {
  animation-delay: 18s;
  background-image: url('../images/home4-600.jpg');
}

.crossfade > figure:nth-child(5) {
  animation-delay: 24s;
  background-image: url('../images/home5-600.jpg');
}

.crossfade > figure:nth-child(6) {
  animation-delay: 30s;
  background-image: url('../images/home6-600.jpg');
}

/* create the crossfade effect using CSS3 animations */
@keyframes
imageAnimation {  0% {
 animation-timing-function: ease-in;
 opacity: 0;
 transform: scale(1.0) translatex(0%) translatey(0%);
}

 8% {
 animation-timing-function: ease-out;
 opacity: 1;

}
 17% {
 opacity: 1;

}

25% {
 opacity: 0;

}
 100% {
 opacity: 0;
 transform: scale(2.0) translatex(-25%) translatey(50%);
}
}

.no-cssanimations .crossfade .figure {
background-image: url('../images/home1-600.jpg');
}

@media screen and (min-width: 600px) {

.header-container {
  flex-direction: row;
}

.home-text {
  font-size: 6.000em;
  text-shadow: 4px 4px 6px rgba(0,0,0,1);
}

.link-box {
  justify-content: flex-end;
}

.links {
  font-size: 1.200em;
  letter-spacing: 5px;
  padding: 0px 20px;
}

.insta {
  margin-right: 12px;
  margin-top: 0px;
  width: 30px;
}
}


/* average screens */
@media only screen and (min-width: 800px) and (max-width: 1499px) {
.crossfade > figure:nth-child(1) { background-image: url('../images/home1-1200.jpg'); }

.crossfade > figure:nth-child(2) {
animation-delay: 6s;
background-image: url('../images/home8-1200.jpg');
}

.crossfade > figure:nth-child(3) {
animation-delay: 12s;
background-image: url('../images/home3-1200.jpg');
}

.crossfade > figure:nth-child(4) {
animation-delay: 18s;
background-image: url('../images/home4-1200.jpg');
}

.crossfade > figure:nth-child(5) {
animation-delay: 24s;
background-image: url('../images/home5-1200.jpg');
}

.crossfade > figure:nth-child(6) {
animation-delay: 30s;
background-image: url('../images/home6-1200.jpg');
}

.header-container {
flex-direction: row;
}

.links {
font-size: 1.500em;
}

.insta {
margin-right: 12px;
margin-top: 0px;
width: 30px;
}
}

.no-cssanimations .crossfade .figure {
background-image: url('../images/home1-1200.jpg');
}

/* larger viewports */
@media only screen and (min-width: 1400px) {
.crossfade > figure:nth-child(1) { background-image: url('../images/home1-1925.jpg'); }

.crossfade > figure:nth-child(2) {
animation-delay: 6s;
background-image: url('../images/home8-1925.jpg');
}

.crossfade > figure:nth-child(3) {
animation-delay: 12s;
background-image: url('../images/home3-1925.jpg');
}

.crossfade > figure:nth-child(4) {
animation-delay: 18s;
background-image: url('../images/home4-1925.jpg');
}

.crossfade > figure:nth-child(5) {
animation-delay: 24s;
background-image: url('../images/home5-1925.jpg');
}

.crossfade > figure:nth-child(6) {
animation-delay: 30s;
background-image: url('../images/home6-1925.jpg');
}

.links {
font-size: 1.500em;
}

.insta {
margin-right: 12px;
margin-top: 0px;
width: 30px;
}
}

.no-cssanimations .crossfade .figure {
background-image: url('../images/home1-1925.jpg');
}
